Home All Groups Group Topic Archive Search About

what is the MyApplication.vshost.exe?

Author
26 Jan 2006 5:30 AM
Terry Olsen
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?

Author
26 Jan 2006 11:26 AM
Ken Tucker [MVP]
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
-------------------
Show quoteHide quote
"Terry Olsen" <tolse***@hotmail.com> wrote in message
news:%23xH6dmjIGHA.3752@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?
>
Author
26 Jan 2006 2:10 PM
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*

Show quoteHide quote
"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" <tolse***@hotmail.com> wrote in message
> news:%23xH6dmjIGHA.3752@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?
> >
>
>
>