Answer Questions
Annihil8 Visual Studio Hangs when adding a web project
Hello, I am attempting to add a specific project to a solution (this is the only one it happens with, all others are fine on the same box) and it hangs and I have end the devenv.exe process. I NEED to get into the code and our other developer is able to acces it fine. Any suggestions Thanks! Jamy being a webproject, I believe you maybe better asking the question over at the ASP.NET forums for a better response: http://forums.asp.net ok, I would post this in the ASP.NET forums http://forums.asp.net/138/ShowForum.aspx thanks! I went ahead and posting in the .net forum this morning... Jamy classic ASP I can't seem to find a community for classic ASP to post your question to. Are ...Show All
jiao Keyboard shortcuts in ToolStripMenuItem in Excel Action Pane
My question is about keyboard shortcuts failing to work as expected in an Action Pane. I have a document level solution for Excel 2003 using VSTO (C#). In my ActionPane, I have a System.Windows.Forms.MenuStrip that contains several ToolStripMenuItems which have keyboard shortcut attributes defined. For example, there is a "File" menuitem that has a child menuitem "Publish" to which I've assigned "Ctrl+Shift+P" as the shortcut. When I run my solution, I observe that Ctrl+Shift+P does not fire the Click handler for the Publish menu item as I expect. If I manually click on the File menu item to drop it down and expose Publish, then press Ctrl+Shift+P, the Click handler is fired. So I know that the shortcut ...Show All
Atul Kulkarni crxir2, crxir2_net_server_install , httpHandler, CrystalDecisions.Web, .Netv2, reference exceptions
Hi, I am completely baffled by this. I installed crxir2_net_server_install on a fresh Win2003 box. When I attempt to view a report via a web application I get the following problem: Could not load file or assembly 'CrystalDecisions.Web, Version=11.0.3300.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified. This reference comes from the configuration of the httpHandler assigned to the path "CrystalImageHandler.aspx" in web.config (.Net v2.0.50727). Checking the GAC reveals that this assembly does not exist, hence the error. There is a different version of this assembly however v11.5.3700.0. Yet updating the web.config file to reference this version only result ...Show All
Kevin Dente How to disable Visual Studio Commands?
I'd like to disable specific Visual Studio commands. More precisely the commands for starting the building or rebuilding a Visual Studio project should be disabled programmatically. How can I do this I tried it using the IMenuCommandService, but there seems no way of determining the CommandID for the build/rebuild commands. That worked great, thank you! See: HOWTO: Canceling a build from a Visual Studio .NET add-in. http://www.mztools.com/resources_vsnet_addins.htm Also, you can locate programatically the several "BuildXXX" commands and for each EnvDTE.Command get the Guid and Id properties. The article "HOWTO: Canceling a build ...Show All
Dirk Haest ClipToBounds property on Ellipse, Rectangle and Path
Hi all I am hoping that someone can help me out. I am wondering if WPF has the capability of successfully applying ClipToBounds (or a property that achieves the same affect) to anything else besides form elements or Panels. This is because I need to apply this same property to objects like Ellipse, Rectangle (when the RadiusX and RadiusY have set values other than 0) and/or any other shape that can be created with Path. Now I know that the three mentioned elements have the ClipToBounds property but none of these elements allow you to add content of type object, thus the property in this context seems a but superfluous. In essence this is what I would like to be able to do: <Rectangle Fill="{x:Nu ...Show All
Techofhead Load and modifying DataTemplate from XAML is not working
Is there a way to write a DataTemplate in XAML, then load and modify it in my C# Code and assign it to the control where I want to use it I tried it this way: DataTemplate dt; dt = ( DataTemplate ) this .FindResource( "myTemplate" ); StackPanel sp; sp = ( StackPanel )dt.LoadContent(); ItemsControl ic; ic = ( ItemsControl )(( StackPanel )sp.Children[1]).Children[1]; Binding b; b = new Binding ( "myPropertyPath" ); b.Mode = BindingMode .OneWay; ic.SetBinding( ItemsControl .ItemsSourceProperty, b); myItemsControl.ItemTemplate = dt; But only the definitions from the XAML file are applied to the control... I've also tried to use dynamic resources und add the dynamic resou ...Show All
sliderhouserules Access ScrollViewer from within a style
Hello all. I am trying to create two buttons to replace ScrollViewer's own scrollbar left and right buttons. I have the ScrollViewer named sv1 in place within a style applied to a ListBox, but my click events cannot see it. On building I get "The name "sv1" does not exist in the current context" in Page1.xaml.cs. Any help would be greatly appreciated Page1.xaml ...... <Style TargetType="{x:Type ListBox}"> <Setter Property="Foreground" Value="White" /> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="{x:Type ListBox}"> <ScrollViewer x:Name="sv1" VerticalScrollBarVisibility="Disabled" HorizontalScrollBarVisibility="Hidden"> <Border Hei ...Show All
xavier chatard Invalid Member Mapping specified
After generating my model using the ADO.NET wizard I get the following error when running my sample. Unhandled Exception: System.Data.Mapping.MappingException: Invalid Member Mapping specified. The type 'System.nvarchar' of member 'LastName' in type 'Author' in schema 'MyApp.Model.Model' is not compatible with 'System.varchar' of member 'LastName' in type 'Author' in schema 'MyApp.Model.Target'. If I update my ssdl to use nvarchar instead of varchar the error goes away. Causes error: <EntityType Name="Author" Key="ID"> <Property Name="ID" Type="uniqueidentifier" Nullable="false" /> <Property Name="LastName" Type="varchar" Nullable="false" ...Show All
Young K 2003 installation
First, please accept my apologies if this has been posted in the wrong forum. I have heard conflicting opinions with regards to the installation on VS2003 on Vista. The reason I ask is that I am studying for the MCAD, and the college will be issuing 2003 to me soon. I understand that i may have to switch off UAC in Vista. Anyone had any experience of this Thanks for your help. VS 2003 will work on vista, however, there are known issues which is documented here. http://msdn2.microsoft.com/en-us/vstudio/bb188244.aspx ...Show All
Duncan McC Call reports using BO XI unified web service SDK
Hi, we are developing an application with the following features: client (consumer side): VB.NET, Crystal Reports XI, unified web service SDK server: red hat AS 3.0, Business Objects XI, unified web services deployed in J2EE environment. We've two problems: Problem n° 1 When we try to display a report with prompts, we found problems. The report is based on an universe (but we get the same problem basing it on the database directly). Hereafter, an abstract from our code: Dim lNavigate As BusinessObjects.DSWS.ReportEngine.NavigateToFirstPage lNavigate = New BusinessObjects.DSWS.ReportEngine.NavigateToFirstPage Dim lMustFillInfo As BusinessObjects.DSWS.ReportEngine.RetrieveMustFillInfo lMustFillInfo = New BusinessObjects.DSWS.Report ...Show All
lucerias Custom Control, Converter parameters, Trigger using parent property
Hello all I am trying to create a custom text box which uses the next template: < Style TargetType = " {x:Type local:XTextBox} " > < Setter Property = " Template " > < Setter.Value > < ControlTemplate TargetType = " {x:Type local:XTextBox} " > < Border Background = " {TemplateBinding Background} " BorderBrush = " {TemplateBinding BorderBrush} " BorderThickness = " {TemplateBinding BorderThickness} " > < TextBox x:Name = " txtVal " Background = " Beige " IsReadOnly = " True " Text = " {Binding RelativeSource={x:Static Relati ...Show All
bk13 Export Class Diagrams during build
Is there a way to export class diagrams as part of the build process I don't see a way to generate the class diagrams without using the UI. Thanks. Hi Eric, Unfortunately this is not supported. An API would need to be available since each diagram needs to be loaded into the designer so that it can produce the image file. Your scenario sounds very interesting - are you embedding the diagram image files into specific documentation If so, are you auto-generating the documentation as part of a build Regards, John Stallo John, I can also see some benefits in this, especially if it was available to all DSLs, not just the class designer. Regards, William Bartholomew ...Show All
xRuntime Differences between addin code for Office 2003 and 2007.
Hi, May I ask is there a different in writing of code between all office 2003 and office 2007 cause I was unable to get the code to word in the addin in office 2007. Example like having 'Globals.ThisDocument' is available in addin for office 2003 word and not in addin for office 2007 word. Thanks. Are you sure you're using VSTO 2005 SE in both cases "Globals.ThisDocument" sounds more like a VSTO 2005 (without the SE) document-level customization... From which folder in the Visual Studio File/New/Project "tree" did you create the project for Office 2003 If it wasn't the Office/Office 2003 Add-ins folder, then it wasn't a VSTO 2005 SE project and therefore not an Add-in (and not analagous to the Office 20 ...Show All
Mjoyner24 Catastrophic Failu Visual Studio Crashing like crazy!!! WHAT IS GOING ON!!!
I reinstalled my whole damn operating system thinking that I had broken visual studio somehow... it turns out that was a collosal waste of time... I have a fresh clean windows xp pro sp2 install, and a clean Visual Studio Professional... and whenever I add a dataset to a project, and right-click the designer and hit "View Code", I get this horrifying error: Failed to view the validation code because of the following error: Catastrophic failure (Exception from HRESULT: 0x80000FFFF (E_UNEXPECTED) and it gives me a blank document. If I click the button to Save All open documents, the whole damn program just crashes!! I've submitted the error reports, but that's not going to help me fix the problem... what is goi ...Show All
Sailu ContextSwitch deadlock (MDA Timeout)
hi, i have upgraded a vb.net 7.1 project to 8.0 and i get a timeout error when debugging the progr. under 7.1 the prog runs smooth. but under the new version i get a contextSwitch deadlock error. what i am using is a simple DataAdapter update method. which works under Visual Studio 2003 i am using COM objects in the project too, but they are not used during the time of the DataAdapter update call. any comments welcome regards, P.S. i have to use VS2005 because i am running my app against a sql2005 db I'm having this problem also -- all of a sudden (within the last 15 - 30 days). Prior to then I'd never seen this message before. I'm working in C# trying to debug a program, and its dang near imposs ...Show All
