Results 1 to 8 of 8

Thread: Make <Project>.exe menu item is disabled in VB (was enabled before!)

  1. #1

    Thread Starter
    No place like 127.0.0.1 eyeRmonkey's Avatar
    Join Date
    Jul 2005
    Location
    Blissful Oblivion
    Posts
    2,306

    Make <Project>.exe menu item is disabled in VB (was enabled before!)

    For some reason, the menu item "File > Make <Project>.exe" randomly became disabled yesterday. I have the right version of VB for it to be enabled and it was enabled up until yesterday.

    I racked my brain for things that I changed around the time that it happened. Here is a list of what I could think of.

    * A had registered a vbAccelerator OCX (ListView) a few minutes earlier
    * I had just added the ListView control to my program
    * A Windows Automatic Update had been automatically installed a day or 2 prior.
    * I MIGHT have messed with the menu items earlier (using "Customize...") but I don't think so
    * I attempted to delete MSXML4 and got an error saying it was write protected (I was testing to see why my Inno installer couldn't install that file)

    The weridest part is that it had worked only a couple hours prior and I hadn't even restarted VB or the computer between the time that I think it was working and when I noticided it was no longer enabled. The only other think I did in that time period was open a sample project for the vbAcc ListView control.

    Also, I checked under my restore points and there are 2 weird entries for the 15th and 16th of this month that say "Software Distribution Service 2.0"

    If you guys can't think of anything I will try to restore the computer to one of those points.

    Does anyone have any idea why this would happen?
    Visual Studio 2005 Professional Edition (.NET Framework 2.0)
    ~ VB .NET Links: Visual Basic 6 to .NET Function Equivalents (Thread) | Refactor! (White Paper) | Easy Control for Wizard Forms | Making A Proper UI For WinForms | Graphics & GDI+ Tutorial | Websites For Free Icons
    ~ QUOTE: Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. -Rich Cook

    ~ eyeRmonkey.com

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Make <Project>.exe menu item is disabled in VB (was enabled before!)

    Quote Originally Posted by eyeRmonkey
    Does anyone have any idea why this would happen?
    Nothing I can definately point my finger at.
    Quote Originally Posted by eyeRmonkey
    If you guys can't think of anything I will try to restore the computer to one of those points.
    I've seen this problem posted by other members. Reinstalling VB6 and associated service packs seems to fix it.

  3. #3
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649

    Re: Make <Project>.exe menu item is disabled in VB (was enabled before!)

    I've had the same thing happened to me once and I fixed it by simply Right clicking any of the Toolbars and select Customize in the popup menu. Make sure Menu Bar is selected and click the Reset button.

  4. #4
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Make <Project>.exe menu item is disabled in VB (was enabled before!)

    Quote Originally Posted by Joacim Andersson
    I've had the same thing happened to me once and I fixed it by simply Right clicking any of the Toolbars and select Customize in the popup menu. Make sure Menu Bar is selected and click the Reset button.
    Off the top of my head I can think of 4 other people in the past few months that did a reinstall because of this issue that would have loved to have known this little trick.

  5. #5

    Thread Starter
    No place like 127.0.0.1 eyeRmonkey's Avatar
    Join Date
    Jul 2005
    Location
    Blissful Oblivion
    Posts
    2,306

    Re: Make <Project>.exe menu item is disabled in VB (was enabled before!)

    JA, you saved the day once again. That worked perfectly.

    I can't rep you because I've already rep (because I repped you recently from other help you've given me :O) but I will when I get a chance. Thanks a ton.

    I tried something right before I checked this thread and it worked also: I dragged the "Make <Project>.exe" menu item off of them menu (while "Customizing.."ing it) and then dragged it back.

    This morning (right before I left for school) I also tried to making "Make <Project>.exe" into a button on the toolbar and that worked also.

    Thanks again JA.
    Visual Studio 2005 Professional Edition (.NET Framework 2.0)
    ~ VB .NET Links: Visual Basic 6 to .NET Function Equivalents (Thread) | Refactor! (White Paper) | Easy Control for Wizard Forms | Making A Proper UI For WinForms | Graphics & GDI+ Tutorial | Websites For Free Icons
    ~ QUOTE: Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. -Rich Cook

    ~ eyeRmonkey.com

  6. #6
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649

    Re: Make <Project>.exe menu item is disabled in VB (was enabled before!)

    Yes, you can totally rearrange the menu items and the toolbars. Actually, you don't even need to have the Customize dialog box open to do so, you can drag items around with the mouse while holding down the Alt button. This fact caused a lot of problem for me at one point with my old keyboard where the Alt button often got stuck. So items where constantly removed from my VB environment (and in the different Office applications).

  7. #7
    New Member
    Join Date
    Dec 2004
    Posts
    1

    Re: Make <Project>.exe menu item is disabled in VB (was enabled before!)

    JA, thanks, that saved me some time also.

  8. #8
    Former Admin/Moderator MartinLiss's Avatar
    Join Date
    Sep 1999
    Location
    San Jose, CA
    Posts
    33,431

    Re: Make <Project>.exe menu item is disabled in VB (was enabled before!)

    Quote Originally Posted by eyeRmonkey View Post
    JA, you saved the day once again. That worked perfectly.

    I can't rep you because I've already rep (because I repped you recently from other help you've given me :O) but I will when I get a chance. Thanks a ton.

    I tried something right before I checked this thread and it worked also: I dragged the "Make <Project>.exe" menu item off of them menu (while "Customizing.."ing it) and then dragged it back.

    This morning (right before I left for school) I also tried to making "Make <Project>.exe" into a button on the toolbar and that worked also.

    Thanks again JA.
    Please don't forget to pull down the Thread Tools menu and click the Mark Thread Resolved item.

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