By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,905 Members | 1,646 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,905 IT Pros & Developers. It's quick & easy.

what is the MyApplication.vshost.exe?

P: n/a
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?
Jan 26 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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
-------------------
"Terry Olsen" <to******@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
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?

Jan 26 '06 #2

P: n/a
guy
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*

"Ken Tucker [MVP]" wrote:
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
-------------------
"Terry Olsen" <to******@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
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?


Jan 26 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.