Groups | Blog | Home
all groups > vb.net > january 2006 >

vb.net : what is the MyApplication.vshost.exe?


Terry Olsen
1/25/2006 10:30:33 PM
While running my application, either in or out of the debugger, after a
while the message box pops up that says "MyApp.vshost.exe has encountered a
problem and needs to close." What does the vshost.exe do? I don't get any
other errors in my app and VB doesn't show any error. My application becomes
unresponsive and closes when I click out of the error message. From that
point, I can simply click the "Run" button in the IDE and re-start my
application. But back to the origianl "needs to close" dialog.

If I click the Debug button, the JIT window opens for me to choose the
debugger to use. The only choice is "New instance of Visual Studio 2005".
The error text in this window is "An unhandled win32 Exception has occurred
in MyApp.vshost.exe" So I click OK, and a new VS2005 opens up and all I get
is a disassembly listing.

Is there something in my program that's causing this? Or is this a problem
elsewhere?

Ken Tucker [MVP]
1/26/2006 12:00:00 AM
Hi,

It is for debugging. Here is an article on it. Not sure why you
are getting an error.

http://msdn2.microsoft.com/en-us/library/ms242202.aspx

Maybe there is an event log entry on the crash that will help figure out the
problem.

Ken
-------------------
[quoted text, click to view]

guy
1/26/2006 6:10:05 AM
In addition to Kens comments, sometimes this process keeps running after you
have closed the app - and then studio seems to go to sleep, if this happens
kill the process!

*guy*

[quoted text, click to view]
AddThis Social Bookmark Button