Answer Questions
Ken Laws How to create a new Code Generator in VS 2005?
Here's what I want to do: I have a parser generator that I want to use in my project, and what I want is to be able to edit the grammar file and have a custom tool generate the code for me automatically (similar to web references and the MSDiscoCodeGenerator). Could anyone point me to how to some document that explains how to do this in VS2005: * Which tools/sdk's do I need * How do I create the new file type in VS2005 (do I have to ...Show All
stegus Problems with Extension syntax
playing with the Linq examples and I am getting a compiler error when trying the extension example. This is not working; public static string CamelCase( this string identifier) The this causes the compiler to indicate a type expected from the demo video this should work. Any idea what I might be missing. Thanks Make sure you are creating new LINQ project type. File -> New -> Proejct - ...Show All
Mert Torun boolean dependency properties
In another thread a user asked about dependency properties http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=338749&SiteID=1&mode=1 Whilst trying to help him I discovered that if you set a dependency property as a bool then an exception of type 'System.ArgumentException' System.Windows.DependencyProperty {System.ArgumentException} is thrown, but an int causes no such problems. Is this a known issue Simon You are e ...Show All
Ajay GAC support in Templating Engine (Feature Request)
Hello, Templating Engine provided with DSL Tools is really great and useful, but it would be more convenient to use if it had support for referencing assemblies in GAC. I know that it is problem of CSharpCompiler... which doesn't support referencing assemblies in GAC, but you can extend the functionality of Microsoft.VisualStudio.TextTemplating.VSHost.TextTemplatingService.ResolveAssemblyReference() method to search the ...Show All
B.H.V.Ramakrishna Outlook ignores errors??
I am working on a VSTO 2005 Outlook Add-in project. When my code does something wrong such as: MessageBox.Show(Inspector.CommandBars[" NonExistingCommandBar "].Name) (This should raise an exception since there is no such command bar) Outlook ignores this command and does not show any empty message box or raise an error and resumes with the following line of code. When I add a break to that line, the debugger stalls at that line of code and doe ...Show All
Hariharan BUG in TextSelection.Insert ?
Hi, I have lot of Macros which I did for VS.NET 2003 which use : Dim TS As TextSelection = DTE.ActiveDocument.Selection TS.Insert("__END", vsInsertFlags.vsInsertFlagsInsertAtEnd) which have to insert text at the end of selection, but I do not know for what reason in Visual Studio .NET 2005 it does not work (it inserts text at start what is absolutely bad !!! - seams to be like bad nightmare ) Why is behavior of same method absolutely chan ...Show All
Alcor38370 Changes to the ProjectName from a Wizard is ignored
Hey GAT team! I have a fairly simple project template that is running a recipe that helps the developer build the ProjectName for the new project. (among other things of course ;-) The recipe contains the ProjectName argument, ie: < Argument Name = " ProjectName " > < ValueProvider Type = " Evaluator " Expression = " $(AppNamePrefix).Entities " > < MonitorArgument Name = " AppNamePrefix " /> </ ValueP ...Show All
jbv .NET Framework v1.1 installer not responding
Unable to install .NET Framework on my PC I have installed winXP2002 with SP2 on my PC following error i get while installing .NET Frameworkv1.1 1) An error occured while window installer was initialised Setup will close 2) also some time i do get message that ".NET Framework installer not responding" my PC configuration is AMD athlon(64 bit 2500+) 1.4 Ghz with MSI motherboard 80GB ...Show All
Carol_AA FlowText in Feb CTP
FlowText seems to be missing from the Feb CTP. What was the rationalle from dropping it, if any Can we expect to see it return You mean TextFlow It's now FlowDocument. ...Show All
MrTufty Accessing properties of UserControl
Hi, This is probably a stupid question, but I dont seem to find a way to access, for example, the Width property of an UserControl from within the control itself :( Here is sample of the code I've tried (with all Binding variations that I could come up with). The actual code is more complex, and I really need to use Canvas instead of auto-layouting components: <!-- the user control xaml --> <UserControl x:Class="pb.UserControl1" ...Show All
dddkkk Customizing NavigationWindow and using Property Aliasing
PROBLEM: The main window of my application will have 3 areas: 1) A header where there will be diferent controls such as links, menus, images, etc, besides a previous/next navigation button with customized appearance; 2) A footer with more controls on it; 3) A content area where different pages will be displayed. SOLUTION CONSIDERED: WindowsFX provides a build-in NavigationWindow that can be customized using ControlTemplat ...Show All
GDA Attach to HTML editor's drag n drop events?
I'm looking to add some custom toolbox items that do a text insert into the currently open document in the HTML editor. So I'd like to intercept the drag n drop events that would otherwise be received by the HTML editor's control. I'd manually handle implementing the custom toolbox drops and pass on the default ones. Since there's no (documented) api to do this, I search around and found a thread trying to get the caret positio ...Show All
Eric Meyers Intermittent "JOIN" problem
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: CS0103: The name 'o' does not exist in the current context Source Error: Line 34: var q = Line 35: from o_d in db.OrderDetails Line 36: join o in db.Orders on o.OrderId equals o_d.OrderId Lin ...Show All
bragac2 Message SomeOperation(Message input) - Proxy is messed up
In addtion to other operations in my service contract I have a operation contract which looks as follows ( see the service interface below) Message ProcessInputAction( Message inMsg); [ ServiceContract (Name = "MyContract" , Namespace = http://test.com/MyContract , Session = true )] [ DataContractFormat (Style = OperationFormatStyle .Document)] public interface IMyService { [ OperationContract (Name = ...Show All
FerdBirfel Plotting Points in 3D Space
Is there any way to draw points in 3D space with WPF I suppose I would have to create a mesh geometry of some kind. But I just want a one pixel point. Thanks, Lee You could use Daniel Lehenbauer's ScreenSpaceLines3D implementation and create lines so small that they look and feel like points. Something like: ScreenSpaceLines3D p = new ScreenSpaceLines3D (); p.Points.Add( new Point3D (.01,1,0)); p.Points.Add( new Poin ...Show All
