Nathan Ie's Q&A profile
Visual Studio Bad exception interception with the VS 2005 RC debugger
I have an issue with with exception interception with the VS 2005 debugger (the project is .Net library that has been just ported from .Net 1.1 and was running quite fine through the VS 2003 debugger). Basically, I have a NUnit test that calls a method, and this call (in the unit testing context) is expected to fail by throwing a InvalidOperationException. The NUnit tests actually checks that the exception is thrown. In my project configuratio ...Show All
Visual Basic edit and continue
I can't seem to enable edit and continue in my VB 2005 app. Everyone seems to be pointing to Tools--> Options--> Debugging, but I don't have a debugging menu in my Tools--> Options. Any help would be appreciated. Thanks, Danny OK, so I found the debugging menu, and edit and continue IS enabled. But when I try to use it I get: "cannot currently modify this text in the editor. It is read-on ...Show All
Visual Studio Team System Importing Bug Database to TFS Work Items
Hi there, I am currently in the process of doing a proof of concept on TFS to prove that it will do what we need to do. Sourcecode I hgave succesfully imported from VSS and all is going well. I now need to try to import our Bugs database from a system called "Jira" http://www.atlassian.com/software/jira/default.jsp clicked=footer into (I imagine) TFS work items. I cant find anything in the MSDN on how I would do this. ...Show All
Visual Studio Express Editions Installing VB Express requires uninstalling VWD
Ok, I'm stumped... When I went to install VB Express it told me I had to uninstall VWD and SQL Server Express. I did that and installed VB, but now when I try to reinstall VWD it tells me I have to uninstall VB. Can you not install both of them on the same machine at the same time Jay And just as I feared... I redownloaded VWD and when I went to install it it failed. Well, the install pro ...Show All
Windows Live Developer Forums How can I get all post in my blog?
I use getRecentPosts to get my posts, but the maximum value is just 20. If I want to backup all of my posts more than 20, which method can I do that I don't believe there is a MetaWeblog API call to do this however... Why don't you just grab the feed.rss file in your space ...Show All
Windows Forms Error 0: [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed
I have written a VB.NET application that connects to Oracle database. The connection uses DSN created through Control Panel->Administrative Tools->Data Sources (ODBC) The data source works fine, but the first time a select is run through the application, I& ...Show All
.NET Development Sql Adapter, RAISERROR, TRY...CATCH and exceptions
Hi, I am having a problem with the interaction between ADO.Net 2 and SQL Server 2005. I have a typed dataset with a designer generated table adapter that wraps a SqlDataAdapter, configured to use custom stored procs for insert and update commands. The stored procs are in SQL Server 2005 and I am using the new TRY...CATCH syntax. The stored proc sets NoCount On and in the catch block, I use RAISERROR with a severity of 16, immediately f ...Show All
Visual Studio Name of EventHandler called when Compartment item is selected?
Hi all, I've been playing with the tool for a while. I'm trying to override the event handler which is called when an item in a compartment is clicked. I've searched and searched to no avail. I've digged around classes like ContainerShape, CompartmentItem...etc. Here is what I'm trying to achieve. The item in the compartment of a container has some property that points to some other compartment item (possibly in other shape). When ...Show All
Visual Basic Copying Files to an Existing Directory
Dear VB Experts, I humbly ask for your assistance in solving a problem I'm having with copying a file to an existing directory. I'm using the below code to try and copy a file from an OpenFileDialog to a directory that already exists. The source file path is derived from the OpenFileDialog.FileName property and the destination file path is a directory in the users MyDocuments directory. When I run the code, If OpenFileDialog1.ShowDia ...Show All
Smart Device Development How can I use photo LED flash on Windwos Mobile based system?
How can I use photo LED flash on Windwos Mobile based system Existing any C# code sample Hi, AFAIK the emulator does not support neither LED nor vibro. Existing code does not work on this. Best Regards, Dmitry Yakimov. ...Show All
SQL Server Can't Create New Database on Device via ActiveSync
In VS2005 RTM using Server Explorer --> Right Click DATA CONNECTIONS --> Add Connection --> Datasource=Microsoft SQL Server Mobile Edition--> Data provider = .NET Framework Data Provider for SQL Server Mobile Edition--> ActiveSync Connected Device when I hit Test Connection I hear ActiveSync's connect sound and I get this error Microsoft Development Environment Microsoft 5QL Server 2005 Mobile Edition and/or NET C ...Show All
Windows Forms number count down
Hi. Does anybody know where I should start to create some sort of control that counts down from 30 and when it hits 0 it keeps blinking 0 I have a feeling that I should use a timer but I'm not sure. I want the ...Show All
Visual Studio Express Editions Multiple form help.
I have two forms. The first form opens up the second form like this. this.Visible = false; Form2 myForm2 = new Form2() Form2.ShowDialog(); At some point in my application I want Form2 to close and make Form1 Visible again. How can I do this from Form2 I know how to close the form. It's a matter of making Form1 visible again. Thanks for your help in advance. Hi, Since you are using ShowDialog, ...Show All
Smart Device Development I need a good book
Hi all, I am trying to find a good book on programming in vb.net for windows mobile 5.0 using visual studio 2005. Can anyone suggest one please. Regards ...Show All
Visual Studio Express Editions cannot register visual web developer 2005 express
I got my activation key, then copy and past it in the activation field, but I get an errormessage : " Activation key you entered is not a valid ..." How can I solve this problem Every time I start Visual Web Developer 2005 Express I get a windows pop-up which tells me to register the product now. When I click on the message it will route me to thist website: https://profile.microsoft.com/ProductActiva ...Show All
