Visual Basic 2008 Express crashes upon "choose items" selection in the toolbox?

1

I want to add some user controls to my toolbox, but every time I click "Choose Items" on the new tab I made, it crashes, no error messages, nothing. I lose all work as well.

Ever since I installed Visual Studio 2010 Beta 2, this has been happening!

How can I fix this, or at least find out WHY it crashed? I don't want to have to reinstall because it takes so long...

EDIT: Its been 6 days and still no change. I cannot even add the controls that I made...

EDIT: Several months later, no improvement. I have reinstalled and uninstalled vb express, reset the toolbox, nothing. Its express, so I can't use the workaround...

Cyclone

Posted 2009-10-24T23:04:23.293

Reputation: 544

After 6 days I'd be questioning whether a reinstall really takes too long. – Michael Itzoe – 2010-02-22T22:20:00.480

Reinstall has done nothing, still crashes EVERY time without fail, I have no way to add things... – Cyclone – 2010-03-01T01:21:54.060

Visual Studio betas shouldn't be installed on production machines without a backup plan. When I try a beta, I'll either use a virtual machine, or I'll make a backup before I proceed if I'm installing the beta natively. – Chris W. Rea – 2009-10-31T01:28:53.137

Answers

0

I had a sudden moment of inspiration. I uninstalled VS 2010 Beta 2, and lo, and behold! it worked! Something that vs did completely broke my ability to use that item.

I'm very glad to have this working again, and thanks for the tips.

Cyclone

Posted 2009-10-24T23:04:23.293

Reputation: 544

2

This is a known bug of Visual Studio. The simple solution is to start Visual Studio in safemode, which will stop it from crashing and reporting the exception instead.

C:\yourPathToVisualStudio\devenv.exe /safemode

Bobby

Posted 2009-10-24T23:04:23.293

Reputation: 8 534

Sorry for the late reply, but is there any way to change my shortcut target to launch in safemode? "C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\vbexpress.exe /safemode" does not work for me, clearly. – Cyclone – 2010-02-28T22:40:14.660

Also, I don't have this "devenv.exe" file, I am in express..... – Cyclone – 2010-03-01T00:59:28.807

1You have to pass the arguements outside of the path quotes. E.G. "C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\vbexpress.exe" /safemode otherwise the shell tries to interpret them as part of the path, and you get a "Cannot Find" error.

Also, "devenv.exe" is the executable for the full visual studio, rather than the express version. – Fake Name – 2010-03-01T04:10:27.647

1

Try installing/reinstalling visual studio service pack, looks like something got unregistered or an operation did not complete when you installed the beta.

SoftwareGeek

Posted 2009-10-24T23:04:23.293

Reputation: 891

Running a reinstall, hopefully this should fix it. I really want to add some new stuff to the toolbox, and even if it loads very slowly, thats better than nothing at all. – Cyclone – 2010-02-28T23:57:56.563

Did not work... – Cyclone – 2010-03-01T01:06:42.017

I even tried resetting the toolbox, new settings, etc. – Cyclone – 2010-03-01T01:22:20.520