Duncan Woods's Q&A profile
Visual Basic JIT Debugger Error message caused by filelistbox
I have been working on a program and testing it on another computer that has the .Net framework installed. My program works fine on my computer with .Net installed. However, when I run it on the other computer (with only the framework installed) I get a random error: MyApp.exe - Common Language Runtime Debugging Services Application has generated an exception that could not be handled. Process id=0xf3c (3900), Thread id=0xf64 (3940). [The numbers in this error line are different everytime] When I hit cancel to debug it displays MyApp.exe - No debugger found. Registered HIT debugger is not available. An attempt to launch a JIT debugger with the following command resuled in an error code of 0x2 (2). Please check co ...Show All
SQL Server Datafields in report header
Hi. I want some information stored in the database to be shown on the top of each page in my report. But in the report designer I get an error message if I try to drop a table in the header, and if I try to assign the value of a textbox in the header to e.g. "First(Fields!sometable.Value)", I get a runtime-error in the preview that says "... Fields cannot be used in page headers or footers". How can I do this Regards, Tomsi Hi Tomsi, you can not place a databound field in the page header directly. Instead, you can place it in the body of the report and make it hidden. you can refer to this hidden field content using the similar syntax =ReportIte ...Show All
Windows Forms Bringing Form to front
I'm creating a few processes in my winform, that open the windows dos shell. What happens then is that my form loses focus, and the dos shell covers my application. I'd like to bring my form to the front during this time. I tried this->BringToFront() but didnt work. How do I do this ...Show All
Visual Studio 2008 (Pre-release) Possible WCF installation issue?
I am having problems with my IIS hosted service once I deploy the service to another machine. On my local development box, when I navigate to the service in IE using something like http://isapps008996/Services/MyService/Service.svc , it displays the default (i guess) wcf page that tells you in order to use the service create proxy (etc) using svcutil.exe http://isapps008996.ci.okc/Services/MyService/Service.svc wsdl . When I click on the link it displays the wsdl file. I can also set a service reference in a client application and execute methods on my service. Now, when I deploy to another machine, I am able to navigate to the service in IE using something like http://devweb/Services/MyService/Service.svc , it displays the default w ...Show All
Visual C# c# code parsing
Hi all, I need a help from you regarding code parsing technique. Basically I need to parse c# code (which is a User interface class) and check for any business validation/rules written there and copy them into the corresponding business layer class. So, in order to parse the c# code do I have any readymade c# code parser (in object oriented model) so that I can make use of them to find out the validation routines, if condition, error codes, etc. Or should I only manually do string parse the c# code Regards Karthikeyan Given your requirements I think the VS extensibility model is the way to go. What you'll do is create an add-in that allows you to select a file or project (which b ...Show All
SQL Server Drop Down box not showing option
I'm using a drop down list for a parameter in RS2005. The issue comes when there is only one option. When I render the report inside the microsoft studio it works fine, but when I render the report from the Report Server (web browser) if there is only one option in the dropdown menu then it seems that it is there but I can't see it. It is a multivalued parameter. Is there a way to resize the dropdown list or any way I can fix this Any help would be greatly appreciated. Thanks for your response. I contacted Microsoft Support and they told me I needed an article Number. Do you know that number , If so, can you please send it to me Thanks again, Pilar ...Show All
SharePoint Products and Technologies Debugging managed UDF running under Sharepoint Excel services
I am trying to debug a UDF running under sharepoint. I have attached to the right w3wp process under which the shared services is running. When I attach to the process, it doesnt load the symbols for my UDF assembly. I have my PDB's in the same location as the UDF. 'w3wp.exe' (Managed): Loaded 'C:\Sharepoint UDF\ExcelSampleUDF.dll', No symbols loaded. Why are not the symbols loaded This blog post should help you out: http://blogs.msdn.com/cumgranosalis/archive/2006/07/12/DebugUDFs.aspx Most likely you are attaching to the wrong w3wp process. ...Show All
Visual Studio 2008 (Pre-release) Displaying item horizontally in Listbox
Hi I am trying to display the items inside a list box in a multicolumn way, is it possible to do using Listbox controls…. Regards Ragu You can specify ItemsPanelTemplate, and in that specify the orientation of the StackPanel as Horizontal, something like given below. Instead of StackPanel, you can use VirtualizingStackPanel also. < ListBox > < ListBox.ItemsPanel > < ItemsPanelTemplate > < StackPanel Orientation = " Horizontal " /> </ ItemsPanelTemplate > </ ListBox.ItemsPanel > < ListBoxItem > Item0 </ ListBoxItem > < ListBoxItem > Item1 </ ListBoxItem > </ ListBox > ...Show All
SQL Server Getting Previous Date SQL Script
Hello, I have a table that also has a timestamp field I want to get any data that was inserted into that table on the previous day even if the month changes and i have no clue how to go about that Tdar Waldrop's is the better option here, because it doesn't need to apply a function to yourDateColumn before doing the comparison. This means that it can use indexes effectively. Rob ...Show All
Software Development for Windows Vista FLIP 3D
Few days ago,i installed windows vista rc-1 But i can't see the flip 3d function.At the beta 2 version it worked good,but at rc-1 it isn't.What to do This most likely means that the Desktop Window Manager did not start for some reason. Open up the Event Viewer application and look under Windows Logs, Application. Look for entries with source "Desktop Window Manager". You should find there a message indicating why the DWM did not start. ...Show All
Visual Studio Express Editions Version
What is the most currant build for Visual Web Dev Thanks for the help!! ...Show All
Game Technologies: DirectX, XNA, XACT, etc. 3d gaming using DirectX 9 in vb.NET 2005
PLEASE!! HELP ME!! I'm MARC, 16YRS OLD..here in Philippines, i can't see any books that teaches me how to make 3d games in visual basic.net 2005 using DirectX 9.. please,,help me.. I am really willing to learn.. if posible,,pls send me a pdf file of a book that teaches directX 9 in vb.net 2005.. please,,i beg on those who have books and on those experts on using dx9 in vb.net..please help me... PLEASE.. -THANKS IN ADVANCE!! You could start by looking at the DirectX SDK...and all the help and articles on the web site below which includes a 3D section. http://msdn.microsoft.com/directx/ ...Show All
Visual Basic Programmatically retrieved event log EventID does not correspond to Windows EventID
Hi, I am developing an application that reads the event log in windows. I have managed to retrieve everything correctly except the Event ID. Most EventIS's are similar but for e.g. " Broadcom NetXtreme 57xx Gigabit Controller" Windows Event-ID is 15 and when I retrieve it programatically it is 327695. Another Event ID also for this controller is 6 and 327686. The difference between both are 9. Can anyone explain this Can it be fixed Best /M In which case it would appear that the eventid is being stored with the top two bits on and .EventId is kept for compatibility in VS2005 and simply strips the bits. So all you have to do is turn them off... In the example I gave you I would ...Show All
Visual C# Why is there a PDB file in my projects Release folder?
This is probably a deployment question, but there doesn't seem to be a deployment section in .NET Development Forum. I thought the PDB file was only for debugging purposes, so why is there a PDB file in my bin\Release folder What are the (dis)advantages of including this file in deployment It started happen in Visual Studio 2005 only, In Visual Studio 2003 it did never happen so the thing you can see that in Visual Studio you could debug assemblies only in debug mode but in 2005 you can also debug when its set to Release. Lets have more comments ;-) ...Show All
Visual Studio 2008 (Pre-release) Proxy generation problems (methods with same name)
When I create two services which happen to have methods with the same name (not same signature) svcutil incorrectly generates the proxy types. For example if I have two services TestService1.Get(Guid id) returns Thing1 TestService2.Get(Guid id) returns Thing2 The proxy for both TestService1 and TestService2 will contain a get method with the return type of Thing1. What do I need to do so the proxy generation correctly identifies the types to return -k Svcutil command: svcutil.exe /noLogo /l:csharp /config:"TestProxy.config" /d:"C:\Temp" /out:"TestServiceProxy.cs" "http://localhost/ClaimServices/TestService1.svc" "http:// ...Show All
