Results 1 to 40 of 40

Thread: Is Visual Studio 2010 Express buggy?

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Nov 2005
    Posts
    1,834

    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.

  2. #2
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: Is Visual Studio 2010 Express buggy?

    Oh, for sanity's sake, please tell me you didn't us the upgrade wizard to convert your vb6 app to .NET... that's really the last thing you should do. It creates more problems than it's worth (as you're finding out) ... it doesn't truly upgrade anything... it just wraps it so that it "runs". But if you used any OCX controls, it still keeps using them.

    As much pain as it may cause you to hear this, your best bet is to treat it like new development and start from scratch. Some of the code you may be able to port over with a little tweaking, but it should be done on a case by case basis and not done wholesale.

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Nov 2005
    Posts
    1,834

    Re: Is Visual Studio 2010 Express buggy?

    Erm no, you're mistaken. I didn't use the upgrade wizard to convert the code, but did it all manually... started a new project, added all the controls and piece by piece converted the VB6 code. The things I didn't know how to do I could easily find by doing a forum/google search. Learning how to use IndexOf instead of InStr and Substring instead of Mid$ and similar things is not exactly difficult.

    Edit::

    Maybe using the word 'converting' has confused you and I should've used 'porting'. Sorry, English is not my first language.
    Last edited by Chris001; Nov 15th, 2010 at 11:55 AM.

  4. #4
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,110

    Re: Is Visual Studio 2010 Express buggy?

    Much of what you are reporting are things that I have never seen happen. On the other hand, I haven't used the Express version, though I would not expect that to behave all that much differently. The core program is probably the exact same thing. I have noticed oddities in .NET2010, but not all that severe, and certainly not what you are describing. However, some of what you are describing sound like some of the issues that showed up in earlier RC releases. Are you sure that you are using the full, final, release?
    My usual boring signature: Nothing

  5. #5
    PowerPoster JuggaloBrotha's Avatar
    Join Date
    Sep 2005
    Location
    Lansing, MI; USA
    Posts
    4,286

    Re: Is Visual Studio 2010 Express buggy?

    I've had a lot of problems with VS 2010 and I know a couple of the very annoying things about it is still there but none of it's like what you describe there chris.

    Also, with .Net the default is to save changes so that it can compile & run your app (and components) which means if you want to revert your changes you ctrl+z back as far as you need, or before tampering/making changes you make a copy of the code (or the whole class) so you always have what you had before.
    Currently using VS 2015 Enterprise on Win10 Enterprise x64.

    CodeBank: All ThreadsColors ComboBoxFading & Gradient FormMoveItemListBox/MoveItemListViewMultilineListBoxMenuButtonToolStripCheckBoxStart with Windows

  6. #6

    Thread Starter
    Frenzied Member
    Join Date
    Nov 2005
    Posts
    1,834

    Re: Is Visual Studio 2010 Express buggy?

    Quote Originally Posted by Shaggy Hiker View Post
    Much of what you are reporting are things that I have never seen happen. On the other hand, I haven't used the Express version, though I would not expect that to behave all that much differently. The core program is probably the exact same thing. I have noticed oddities in .NET2010, but not all that severe, and certainly not what you are describing. However, some of what you are describing sound like some of the issues that showed up in earlier RC releases. Are you sure that you are using the full, final, release?
    I downloaded the 693mb ISO from the MS website two weeks ago.

    Microsoft Visual Studio 2010
    Version 10.0.30319.1 RTMRel
    Microsoft .NET Framework
    Version 4.0.30319 RTMRel
    Installed Version: VB Express

  7. #7

    Thread Starter
    Frenzied Member
    Join Date
    Nov 2005
    Posts
    1,834

    Re: Is Visual Studio 2010 Express buggy?

    Quote Originally Posted by JuggaloBrotha View Post
    I've had a lot of problems with VS 2010 and I know a couple of the very annoying things about it is still there but none of it's like what you describe there chris.

    Also, with .Net the default is to save changes so that it can compile & run your app (and components) which means if you want to revert your changes you ctrl+z back as far as you need, or before tampering/making changes you make a copy of the code (or the whole class) so you always have what you had before.
    Thanks. I need to get used to making copies or commenting out code before making changes. With VB6 it was faster to make the changes directly and if it didn't work properly, then without saving to close/restart the IDE.
    Last edited by Chris001; Nov 15th, 2010 at 12:33 PM.

  8. #8
    Superbly Moderated NeedSomeAnswers's Avatar
    Join Date
    Jun 2002
    Location
    Manchester uk
    Posts
    2,657

    Re: Is Visual Studio 2010 Express buggy?

    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
    Now while i can't explain most of you symptoms, in this instance you haven't been cutting and pasting your controls at all have you ? to move them on to a panel or something else ??
    Please Mark your Thread "Resolved", if the query is solved & Rate those who have helped you



  9. #9

    Thread Starter
    Frenzied Member
    Join Date
    Nov 2005
    Posts
    1,834

    Re: Is Visual Studio 2010 Express buggy?

    No, not as far as I can remember. I did copy and paste a Listview but not the button, which is on a TabControl.


    I'll start a new project and manually add (not copy) all the forms, classes, modules and controls again, copying the names, sizes and locations from the current project. Then copy over all the code and see if that fixes the problems.

  10. #10
    PowerPoster JuggaloBrotha's Avatar
    Join Date
    Sep 2005
    Location
    Lansing, MI; USA
    Posts
    4,286

    Re: Is Visual Studio 2010 Express buggy?

    Quote Originally Posted by Chris001 View Post
    Thanks. I need to get used to making copies or commenting out code before making changes. With VB6 it was faster to make the changes directly and if it didn't work properly, then without saving to close/restart the IDE.
    I remember those days, but .Net is a different tool (different product) which means it works differently. I think there's a way to make it so it never saves the project when it's created and it won't save changes until you actually click the save button, but I've never had a need to use that feature since I've always saved my code before running it (even in vb6 I would save it before running it, you never know when it's going to crash and all those changes are gone cause you didn't save it).
    Quote Originally Posted by NeedSomeAnswers View Post
    Now while i can't explain most of you symptoms, in this instance you haven't been cutting and pasting your controls at all have you ? to move them on to a panel or something else ??
    That's my first guess, in vb6 to move a control into or out of a container (groupbox, panel, etc) you had to cut & paste it to move it, which worked because the Handles clause didn't exist till .Net
    Currently using VS 2015 Enterprise on Win10 Enterprise x64.

    CodeBank: All ThreadsColors ComboBoxFading & Gradient FormMoveItemListBox/MoveItemListViewMultilineListBoxMenuButtonToolStripCheckBoxStart with Windows

  11. #11
    Next Of Kin baja_yu's Avatar
    Join Date
    Aug 2002
    Location
    /dev/root
    Posts
    5,989

    Re: Is Visual Studio 2010 Express buggy?

    When it comes to making changes and saving the old, there's no better thing than source control software. Before making any big changes simply commit the source as a new revision, make changes, and if you need to revert back any specific part (or all), it's a matter of couple of clicks.

    VisualSVN Server is free (extremely easy to set up) and requires no additional software (like Apache etc), based on the latest Subversion. And using either VisualSVN add-in (payed) or AnkhSVN (free) it integrates completely with Visual Studio.
    Last edited by baja_yu; Nov 15th, 2010 at 02:55 PM. Reason: typo

  12. #12
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: Is Visual Studio 2010 Express buggy?

    Tools -> Options -> Project and Solutions -> Build and Run ... first option...change it.

    -tg
    Attached Images Attached Images  
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  13. #13

    Thread Starter
    Frenzied Member
    Join Date
    Nov 2005
    Posts
    1,834

    Re: Is Visual Studio 2010 Express buggy?

    Thank you, techgnome.

    I've created a new project with all the controls and copied over the code from the previous project and so far it works fine.

  14. #14

    Thread Starter
    Frenzied Member
    Join Date
    Nov 2005
    Posts
    1,834

    Re: Is Visual Studio 2010 Express buggy?

    I got the same problem again with the images.

    This is the image when I add it to the TabControl:


    This is how it looks after an hour and compiling the application several times:

    As you can see the first image is a little bit brighter. I managed to fix it by adding the images as a resource and loading them into the Imagelist when the application starts.

  15. #15
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: Is Visual Studio 2010 Express buggy?

    Image links are broken....

    Try uploading them to VBF instead.

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  16. #16

    Thread Starter
    Frenzied Member
    Join Date
    Nov 2005
    Posts
    1,834

    Re: Is Visual Studio 2010 Express buggy?

    Something on your computer must be blocking tinypic.com
    Both images work fine for me even after clearing my browser cache, but here they are.
    Attached Images Attached Images   

  17. #17

    Thread Starter
    Frenzied Member
    Join Date
    Nov 2005
    Posts
    1,834

    Re: Is Visual Studio 2010 Express buggy?

    An other problem I have now is that I had an ImageList on the form named "imgTabs". I removed the ImageList from the project, closed/restarted the IDE and now I can't add a new ImageList named "imgTabs", because VS says it already exists

  18. #18
    PowerPoster Nightwalker83's Avatar
    Join Date
    Dec 2001
    Location
    Adelaide, Australia
    Posts
    13,344

    Re: Is Visual Studio 2010 Express buggy?

    Quote Originally Posted by techgnome View Post
    Oh, for sanity's sake, please tell me you didn't us the upgrade wizard to convert your vb6 app to .NET... that's really the last thing you should do.
    In another thread you said this:

    Quote Originally Posted by techgnome View Post
    I'm going to give you the same advice I've been giving people for the last 7 years regarding this: Visual Studio does come with an "upgrade wizard" (VS2010 is the first on that doesn't) ...
    So does Visual Studio 2010 Express come with the wizard while the full version does not?
    when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
    If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
    https://get.cryptobrowser.site/30/4111672

  19. #19
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: Is Visual Studio 2010 Express buggy?

    To be honest, I've never used the upgrade wizard... I've only seen it's aftermath.... as far as it not being in VS2010... that was heresay... I heard it from another source. Although... it wouldn't surprise me to find out that is true... so who knows... whether it's there or not.... point is that it shouldn't be trusted.

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  20. #20
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,110

    Re: Is Visual Studio 2010 Express buggy?

    It can be good for a laugh, but that's about all.
    My usual boring signature: Nothing

  21. #21
    Next Of Kin baja_yu's Avatar
    Join Date
    Aug 2002
    Location
    /dev/root
    Posts
    5,989

    Re: Is Visual Studio 2010 Express buggy?

    I have VS 2010 ultimate, and I don't think the upgrade wizard is in it. Or maybe I didn't look hard enough for it. I don't use it anyway so...

  22. #22
    PowerPoster Nightwalker83's Avatar
    Join Date
    Dec 2001
    Location
    Adelaide, Australia
    Posts
    13,344

    Re: Is Visual Studio 2010 Express buggy?

    Quote Originally Posted by baja_yu View Post
    I have VS 2010 ultimate, and I don't think the upgrade wizard is in it. Or maybe I didn't look hard enough for it. I don't use it anyway so...
    I am thinking about getting VS2010 Ultimate from school to see what it is like.
    when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
    If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
    https://get.cryptobrowser.site/30/4111672

  23. #23
    PowerPoster Jenner's Avatar
    Join Date
    Jan 2008
    Location
    Mentor, OH
    Posts
    3,712

    Re: Is Visual Studio 2010 Express buggy?

    Upgrade wizard is truly awful. It fried a few of my programs back in the day. After a few months of learning VB.NET though, it only took me about a week to re-write the whole lot of them. Some I went back to years later and rewrote again while laughing at my totally amateurish early-days .NET code before I knew of things like Dictionaries, instanced Class objects, inheritance, LINQ and UserControls.

    Few personal projects are large enough that a complete rewrite wouldn't be faster. .NET forces you to program in a true object-oriented fashion; and honestly, the sooner you learn how that works, the better a programmer you'll be.
    My CodeBank Submissions: TETRIS using VB.NET2010 and XNA4.0, Strong Encryption Class, Hardware ID Information Class, Generic .NET Data Provider Class, Lambda Function Example, Lat/Long to UTM Conversion Class, Audio Class using BASS.DLL

    Remember to RATE the people who helped you and mark your forum RESOLVED when you're done!

    "Two things are infinite: the universe and human stupidity; and I'm not sure about the universe. "
    - Albert Einstein

  24. #24

    Thread Starter
    Frenzied Member
    Join Date
    Nov 2005
    Posts
    1,834

    Re: Is Visual Studio 2010 Express buggy?

    Now a have a new major problem. I spent two months rewriting my application and when I load the project I get this message:

    Some bytes have been replaced with the Unicode substitution character while loading file G:\Application\Application\
    MainForm.Designer.vb with Unicode (UTF-8) encoding. Saving the file will not preserve the original file contents.
    The backup I made of the project has the same. When I click OK and let it load, then MainForm.Designer.vb contains this. The bottom half of that file is just gibberish.

    vb.net Code:
    1. '
    2.         'lvwSearch
    3.         '
    4.         Me.lvwSearch.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom), System.Windows.Forms.AnchorStyles)
    5.         Me.lvwSearch.FullRowSelect = True
    6.         Me.lvwSearch.Location = New System.Drawing.Point(3, 5)
    7.         Me.lvwSearch.Name = "lvwSearch"
    8.         Me.lvwSearch.Size = New System.Drawing.Size(650, 389)
    9.         Me.lvwSearch.TabIndex = 16
    10.         Me.lvwSearch.UseCompatibleStateImageBehavior = False
    11.         Me.lvwSearch.View = System.Windows.Forms.��]f�%�)��oêZk�Ix�
    12. �㓅'�j33_XX�š5l�W����;f~���ϡ��Ǟ��o�-1R�����f�w\ܑ�n�~~�Ի��G��wo���ab�ER�8@(�M�u���,��;_��@��
    13. c�.�����~\��g@��      ��r�!!�p���I)��s�&S�   �@��w���#�>�y4�F�y^ʂ�p+4�1��U5���;��"����͕U����'�c�eY�  둒$AR�3$&6��ƥKe�_�l����Sdeu��~04ܣ�䁦��rr������PY)#]ۤ&
    14. *&(R�'M%usK����pu���s$v�����_��23_T������� P��J���� uA h�׀���h���陎}������`'"Й��IIi�km$!W���n2o�jc��,��`j��xpP���n���DQQ/l�$���<�}@=x��D�n=�ի�4��UD#��K�R�����AAA�u
    15. ��Jq��]uJhsQ舠=@}�&�f۲ŝ���S��������d��{������1��ю��&���� MG��͛͢O�Ų����~4�/��Res3C�I�z��P:M��al|`t��xB�=|&��vv�l""��YY���|9n�� 3�I�s������.VG@�

  25. #25
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: Is Visual Studio 2010 Express buggy?

    open the file in Notepad... see what's in that location. Sounds like something went sideways. Honestly, I don't know how or what happened or how to fix it. Perhaps looking at it in Notepad will reveal something that the IDE couldn't translate.

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  26. #26

    Thread Starter
    Frenzied Member
    Join Date
    Nov 2005
    Posts
    1,834

    Re: Is Visual Studio 2010 Express buggy?

    Notepad shows exactly the same.

    Code:
            '
            'lvwSearch
            '
            Me.lvwSearch.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom), System.Windows.Forms.AnchorStyles)
            Me.lvwSearch.FullRowSelect = True
            Me.lvwSearch.Location = New System.Drawing.Point(3, 5)
            Me.lvwSearch.Name = "lvwSearch"
            Me.lvwSearch.Size = New System.Drawing.Size(650, 389)
            Me.lvwSearch.TabIndex = 16
            Me.lvwSearch.UseCompatibleStateImageBehavior = False
            Me.lvwSearch.View = System.Windows.Forms.]f%)oêZkIx g`J'GK/WO}66ش}}B|`@cTٮ74Zq hqL,d[Vr]>(E\

  27. #27
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,110

    Re: Is Visual Studio 2010 Express buggy?

    How much do you think you have lost? For the file to be scrambled at that point, you have lost some of the property settings for some of the controls, and you have very likely lost the lines that add those controls to the Form.Controls collection, as well as a bunch of lines that declared the variables WithEvents. I can understand that this is a vexing event, and I have never seen it happen after using VS2010 for many months (feels like a couple years, but I guess it can't be, since I never used a beta release) on many projects. I suppose it could be a network issue, if your G: drive is not local. I have much less experience using VS over a network. In any case, by determining how many of your controls are displayed in the good portion, and how many of your controls are not mentioned in the good portion, you may find it easier to rebuild that file by hand....though as I write this, I realize that the only alternative I can see is to throw out the form and start that one over from scratch.
    My usual boring signature: Nothing

  28. #28

    Thread Starter
    Frenzied Member
    Join Date
    Nov 2005
    Posts
    1,834

    Re: Is Visual Studio 2010 Express buggy?

    This is my main form that has the most controls and by looking at the controls that are still listed correctly, it looks like half of them are gone. MainForm.resx gives the same message. The G: drive is a local drive.

    I just did a search on all my other drives and luckily I found a backup from two weeks ago. The design of the form hasn't changed in those two weeks, only the code and MainForm.vb with all the code is still fine.

    I renamed MainForm.Designer.vb / MainForm.resx and copied over the same files from the backup on the other drive and everything seems fine now. Phew, that saved me a lot of work!

    From now on I'll start making 10 backups. In six years I never had any problems with VB6 and with VB 2010 Express it's always a surprise what will happen next I enjoy surprises, but not these kind of surprises.

  29. #29
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: Is Visual Studio 2010 Express buggy?

    Source Safe.... or TFS .... or even SVN or some other source/version control repository would be a good idea IMHO.

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  30. #30

    Thread Starter
    Frenzied Member
    Join Date
    Nov 2005
    Posts
    1,834

    Re: Is Visual Studio 2010 Express buggy?

    I'll have a look at those. Thanks.

  31. #31
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,110

    Re: Is Visual Studio 2010 Express buggy?

    You do seem to be cursed with your version of 2010. I had a bizarre issue in the first week or so that I had tried it where the code colors became the backcolor for that text as well as the forecolor, which resulted in a pretty rainbow of colored lines equal to the length of the lines of code. Soon after that VS2010 crashed. The problem has never come back, though, and I have had no other problems like what you have mentioned, despite pretty extensive use of the program.
    My usual boring signature: Nothing

  32. #32
    PowerPoster Jenner's Avatar
    Join Date
    Jan 2008
    Location
    Mentor, OH
    Posts
    3,712

    Re: Is Visual Studio 2010 Express buggy?

    Only problem I had with VS2010 was when I was porting an XNA application I wrote in VB2008 over to it. It totally mucked up the project file it refused to acknowledge that certain references of mine actually existed. I deleted the reference libraries, re-added them, nothing. New projects would work just fine.

    I ended up making a new project and added all my existing project files to it, added all my old references to it, and it worked fine. I dunno, but I must have spent four hours trying to get VS2010 to recognize what was right in front of it.
    My CodeBank Submissions: TETRIS using VB.NET2010 and XNA4.0, Strong Encryption Class, Hardware ID Information Class, Generic .NET Data Provider Class, Lambda Function Example, Lat/Long to UTM Conversion Class, Audio Class using BASS.DLL

    Remember to RATE the people who helped you and mark your forum RESOLVED when you're done!

    "Two things are infinite: the universe and human stupidity; and I'm not sure about the universe. "
    - Albert Einstein

  33. #33

    Thread Starter
    Frenzied Member
    Join Date
    Nov 2005
    Posts
    1,834

    Re: Is Visual Studio 2010 Express buggy?

    Doesn't MS release any updates for VS 2010 Express? My version is: 10.0.30319.1 RTMRel

    This version was released 7 months ago (April).

    ::edit::

    I just see they released Microsoft Visual Studio 2010 Service Pack 1 Beta a week ago. Hopefully that will solve most of the issues.

  34. #34
    PowerPoster Nightwalker83's Avatar
    Join Date
    Dec 2001
    Location
    Adelaide, Australia
    Posts
    13,344

    Re: Is Visual Studio 2010 Express buggy?

    Quote Originally Posted by Chris001 View Post
    The backup I made of the project has the same. When I click OK and let it load, then MainForm.Designer.vb contains this. The bottom half of that file is just gibberish.
    Is that from a file that is auto generated by Visual Studio? Not the form by those other files that are generated automatically. If so you might want to delete them and all the files associated with them and put everything back into your project. That is what had to do when the auto generated file for my database stuffed up. After I replaced the files the project worked as it should have.
    Last edited by Nightwalker83; Dec 11th, 2010 at 11:32 PM. Reason: Fixed spelling!
    when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
    If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
    https://get.cryptobrowser.site/30/4111672

  35. #35
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: Is Visual Studio 2010 Express buggy?

    I think you have a hardware problem. I would start by testing the RAM. If that is fine then try saving to a different hard drive.

  36. #36

    Thread Starter
    Frenzied Member
    Join Date
    Nov 2005
    Posts
    1,834

    Re: Is Visual Studio 2010 Express buggy?

    RAM is fine, tested it last night with Memtest86. One of my hard drives is dying and causes a sudden reboot sometimes, so I need to get a new one this week. I'm not sure... maybe I had the project open when the computer rebooted and it caused the corruption, but the project files are on another drive.

  37. #37
    Stack Overflow mod​erator
    Join Date
    May 2008
    Location
    British Columbia, Canada
    Posts
    2,824

    Re: Is Visual Studio 2010 Express buggy?

    I would recommend just installing it again, but not using the ISO.

  38. #38

    Thread Starter
    Frenzied Member
    Join Date
    Nov 2005
    Posts
    1,834

    Re: Is Visual Studio 2010 Express buggy?

    I'll try that this week when I have the new hard drive.

  39. #39
    PowerPoster Evil_Giraffe's Avatar
    Join Date
    Aug 2002
    Location
    Suffolk, UK
    Posts
    2,555

    Re: Is Visual Studio 2010 Express buggy?

    A dying hard drive would certainly contribute to this. I have an aversion to using the Designers because I have found them unreliable, but they shouldn't be that unreliable.

    If you're looking into source control solutions, you should avoid Visual SourceSafe, it is an incredibly bad system that cannot be trusted. Use something like Subversion, Mercurial or git. If you were using a non-Express version I'd point out that they all have add-ons to give you integration into Visual Studio just like VSS, but the Express edition doesn't include source control integration.

  40. #40
    New Member
    Join Date
    Dec 2010
    Posts
    3

    Re: Is Visual Studio 2010 Express buggy?

    Hello, I would like to say that I have had the same problems with the image lists and dissapearing menus.

    In my case, it might have been that I had a lot of controls inside other controls on my form (splitcontainer with controls with other split containers with other controls and so on. Multiple menus and more! ). The form was getting very slow to load and modify, the split containers splitters were moving on each load of the form in the designer and so they eventually had all to be repositioned.

    What I did was to start a new form (and got rid of the old afterwards) and make controls for each inner sections wich resulted in about 30-40 controls wich are loaded at the start of the program (not in the designer). So now, the editing is much quicker and the forms contain much less code and are easier to control. And the menus are still there (for now).

    When I had a menu dissapear, I did a search on the text of the menu name and found the menu in the designer file (wich I don't know how to open other than open the file directly or make a search in .NET). And I found that the menu was still there but was missing a reference. So I manually added the reference and the menu came back. I don't remember what the reference was, but it should be rather easy to find and correct. I recommend learning a little about the designer files since it may help you in some cases.

    And for the image lists, I replaced them with pictures but this might not work depending on what you need them for.

    Hope this helps.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width