|
-
Nov 15th, 2010, 10:21 AM
#1
Thread Starter
Frenzied Member
Is Visual Studio 2010 Express buggy?
Is Visual Studio 2010 Express buggy for everyone or just me? Or are my project files (getting) corrupt?
I've been using .NET for about two weeks now to convert one of my VB6 applications.
What I notice is that code and controls magically disappear. Images shown on TabControls and Listviews (from an imagelist) lose their bright colors after a while.
I had a button on my form to let the user select a folder (FolderBrowseDialog) and at one time I clicked the button and nothing happened. Then, after searching for about 5 minutes, I realised that the entire button_click event was gone. Two days later I noticed that the TextChanged event of a textbox didn't work anymore. It took me a few minutes, but then I saw that Handles Textbox.TextChanged was missing from the event.
Images added directly to buttons or images added from a resource always look fine, but PNG/ICO images added to TabControls and Listviews (via an imagelist with images loaded at design-time) look fine at first, but after re-compiling the application several times, the colors have faded a little bit. The ColorDepth of the Imagelist is set to Depth32Bit, but it seems like it internally gets set to Depth24Bit/Depth16Bit after a while. The only way to get the bright colors back, is to reload the images again into the Imagelist (bright colors will disappear again after a while). Or to add the images as a Resource and adding the images from the resource to the Imagelist when the application starts.
Three hours ago I noticed that my statusstrip was still there, but the panels were gone, but I didn't get any error messages, because the panels were still 'referenced' in the *.Designer.vb file. Now I just noticed that my menustrip at the top of the form is still there, but all menu options are gone and I have no idea how to get them back other than to re-create the entire menu and removing all references to the old menu options from the *.Designer.vb file.
It seems to get worse and worse. Are my project files getting corrupt? Would it be better to create a new project and copy everything over?
Is there also a way to prevent VS 2010 from automatically saving code? Maybe I'm blind, but I couldn't find anything in the settings. In VB6 I could make (large) changes to the code, try it out and if I didn't like it, I could close the IDE (telling it not to save the changes) and restart it again and I would have my old code back. VS 2010 automatically saves these changes and it has hit me in the head quite a few times. That way I lost code that I wanted to keep, because eventually the old code was better than the changes I made.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|