Dave M.'s Q&A profile
Visual Studio Team System Issue in executing unit tests with code coverage option enabled
Hello, I was getting code coverage results till last week both from IDE and from TFS (team build). We reinstalled TFS (in different machine) and created a new Team Project and workspace. For new solutions the unit tests are not getting executed if I enable "Code Coverage". The error I am getting is Test method <method name> threw exception: System.Security.VerificationException: Operation could destabilize the runtime.. For some solutions I am still able to execute unit tests and the code coverage from IDE. Does anybody have a clue I got same problem when added test coverage gathe ...Show All
Windows Forms Which .NET quick start application is best?
I'm new to .NET. I am glad to see that so much has been accomplished with regard to best practices and patterns for designing with .NET. I have recently been very interested in Smart Client and am looking forward to developing a rich client web application. I have been searching the web for a real world Windows Forms application to kick start my&n ...Show All
Windows Forms JPopupMenu in Windows Forms
I'm new to .NET programming. I have experience in using JAVA Swing. Is there any way I could create a popup pane with serveral widgets inside, e.g TreeView, Buttom I used to use Swing's JPopupMenu to implement this. I could use JPopupMenu's default behaviour, like hide on MouseClickOutside. But it seems to me that Windows Forms's contextMenu is not capable to&n ...Show All
Visual Studio 2008 (Pre-release) Several Problems with ListView
I have some problems when using a ListView. I still have the problem which I posted befor ( http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=379578&SiteID=1 ) and the problem Thomas S. Anderson already mentioned ( http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=384949&SiteID=1 ). In the Code-Behind-File I added some EventHandler to the ListView: ListView.AddHandler( ScrollViewer .ScrollChangedEvent, new ScrollChangedEventHandler (onScrollChanged)); ListView.MouseDoubleClick += new MouseButtonEventHandler (listView_MouseDoubleClick); ListView.PreviewMouseLeftButtonDown += new MouseButtonEventHandler (lis ...Show All
Windows Forms Problem to save collection property [VB.NET]
Hi, Before sorry for my poore english language ! So, I try to developp a control that have a property collection. This Collection have a property Item who accept only object of type is MyItem. The problem is that when i add item in my collection, there is no save operation !! I have read and test the different posts in this forum but it's doesn't work& ...Show All
Windows Live Developer Forums Beta 8
Tried to open Messenger Beta. Said I had to upgrade to 8. Downloaded it. Cannot install it UNTIL I UPGRADE TO XP! But I AM already XP. Now I am DITW ( dead in the water) cannot use at all! this is a newsgroup about developement please go to http://support.microsoft.com/newsgroups/default.aspx ralph ...Show All
Visual Studio Express Editions reconstructing variables into memeory
Greetings, I finally have figured out how to send 8 bit chars over my serial port. Thanks to all who helped. Next battle: I am communicating with an 8bit microcontroller. My compiler for the microcontroller allows me to generate integers larger than 8 bits. ie 16, 32, float ect. Lets say I have a 16bit variable in the microcontroller. It resides in two adjacent 8bit memory locations. I can send this variable out of the microcontroller over the com port one byte at a time from its memory location. ie send the lower byte, then send the upper byte. I can easily receive these two bytes into and array in VC++. My question is this: How do ...Show All
Visual Basic Paste As Visual Basic
Did anyone make the Paste As Visual Basic utility work It was described on this MSDN article: http://msdn.microsoft.com/msdnmag/issues/06/02/PasteAs/default.aspx I was able to generate the setup wizard, install and activate the Addin. The command appeared on the menu. But when I click the command on the menu, nothing happens. The dialog box that should appear does not appear. If anyone could make it work and can give me some hint, I'd appreciate it. Thanks. Fernando Correia. Hi, I found out that 'Nothing happens' because the runtime failed to load PasteAsVB.dll when trying to create ...Show All
Visual Studio Express Editions Changing the desktop bakcground
Does anyone know how I could change the desktop background in C++ See this thread , or try asking in one of the newsgroups. ...Show All
Windows Forms DB Search
How can I search in a database if a record already exists I am using OleDb, and data binding. The idea is to do a software to rent PC for a specific time, and if the computer is already rented, shows a message. Thank you Yes, sorry, my mistake... But thanks for the answer. ...Show All
Visual Basic Image list stopping a form being loaded
Hi I have just started a project using the explorer form template as my main form. This template has an imagelist for the treeview I have just added an imagelist for the Listview but if i add any images to it My form wont load and i get an unhandled error exception with the error as "index out of range" ! aaaa This is before i tie the listview to any control! as an experiment i tried adding another image to the treeview imagelist and got the same error i tried linking the list to the listview but nothing makes any difference , I cant find out where the error is being initiated as its in the form code. Any idea's would be appreciated Thanks ...Show All
Windows Forms Value does not fall within the expected range.
hi, When I click on the install button after publish I am getting following error. ERROR DETAILS Following errors were detected during this operation. * [5/16/2006 5:10:33 PM] System.ArgumentException - Value does not fall within the expected range. - Source: System.Deployment - Stack trace: at System.Deployment.Internal.Isolation.IStore.LockApplicationPath(UInt32 Flags, IDefinitionAppId ApId, IntPtr& Cookie) at System.Deployment.Internal.Isolation.Store.LockApplicationPath(IDefinitionAppId app) at System.Deployment.Application.ComponentStore.LockApplicationPath(DefinitionAppId definitionAppId) at System.Deployment.Appl ...Show All
Visual Studio Team System Random thoughts...
Made in notepad as I was playing with the product... In data generation plan, there is no way to "Select All" or "Unselect All". Even support of CTRL-A would be nice. Can't copy and paste values out of the Data Generation Preview. Changing "Rows to insert" doesn't seem to have any effect on what is in the Data Generation Preview window. Maybe I just didn't play with it enough. Can we have an option just to generate Insert scripts rather than doing the inserts behind the scenes for us Error highlighting - I have lots of errors in my Error List relating to my schema objects. (The error is &qu ...Show All
Visual Studio Express Editions Visual C# 2005 Express with SQL Server 2005 Express April CTP
Installed Visual C# 2005 Express the other night along with the SQL Server Express installation from the image. Opened a new project and opened the Data Explorer (or Data Source) window, and tried to connect to the SQL Server Express database using ".\SQLExpress" as the server name. Got an error message. Then tried to create a new connection to the database and got the message, "This feature is not available in Visual Studio." Anybody know why I'm getting this message The installation was done on a fresh machine with no prior installations of Visual Studio Express, Visual Studio.NET 2003, SQL Server 2000 MSDE, SQL or Server Express. ...Show All
Visual C++ Debugger problem "The breakpoint will not currently be hit. No symbols have been loaded for this document."
I have recently install VS 2005 Pro and I cannot get breakpoints to work properly in my C++ Win32 application. After compiling for Debug and placing a breakpoint, when I run my program the breakpoint indicator becomes a hollow circle with an exclamation point and I see the above message when I hover over it. This makes no sense to me because I have verified the following: 1. Yes, I have compiled for Debug. 2. Output for my program indicates that "Symbols loaded". 3. I see the .pdb file in my \<project>\debug\ folder with the correct build date/time. Curiously, I have created other new projects under VS 2005 tha ...Show All
