More Exception Questions

M

Miro

Vb.2005 express

I am having an issue where when in vb.2005 express and running it
internally, I can catch the exception, but when I publish the project I get
a crash - and a JIT error.

This is driving me nuts.

Is there a place I can Globaly put in a try catch end try in vb.net on a
class somewhere to see if i can catch the error there?

Miro
 
G

Guest

I'm not sure if this is available in the express edition, but look under the
"Application Events" button on the first tab of the application properties.
There is a way under there to catch un-handled exceptions.

======================================
David McCarter [Microsoft VB.NET MVP]
www.vsdntips.com
VSDN Tips & Tricks .NET Coding Standards available at:
www.cafepress.com/vsdntips.20412485
 
T

Tom

http://www.devasp.net/net/articles/display/399.html

Is what you want. I use it to catch exceptions that may happen so that
they dont get a nasty crash message (I encrypt the error message, and
then get a button to email it to me).

I'm not sure if this is available in the express edition, but look under the
"Application Events" button on the first tab of the application properties.
There is a way under there to catch un-handled exceptions.

======================================
David McCarter [Microsoft VB.NET MVP]
www.vsdntips.com
VSDN Tips & Tricks .NET Coding Standards available at:
www.cafepress.com/vsdntips.20412485


Miro said:
Vb.2005 express

I am having an issue where when in vb.2005 express and running it
internally, I can catch the exception, but when I publish the project I get
a crash - and a JIT error.

This is driving me nuts.

Is there a place I can Globaly put in a try catch end try in vb.net on a
class somewhere to see if i can catch the error there?

Miro
 
T

Tom

Sorry for my last message, that was the wrong link :S

http://www.codeproject.com/dotnet/ExceptionHandling.asp

Sorry ;)
I'm not sure if this is available in the express edition, but look under the
"Application Events" button on the first tab of the application properties.
There is a way under there to catch un-handled exceptions.

======================================
David McCarter [Microsoft VB.NET MVP]
www.vsdntips.com
VSDN Tips & Tricks .NET Coding Standards available at:
www.cafepress.com/vsdntips.20412485


Miro said:
Vb.2005 express

I am having an issue where when in vb.2005 express and running it
internally, I can catch the exception, but when I publish the project I get
a crash - and a JIT error.

This is driving me nuts.

Is there a place I can Globaly put in a try catch end try in vb.net on a
class somewhere to see if i can catch the error there?

Miro
 
M

Miro

Thanks Tom,

I will try this one.

Its more for me, If I compile the code within vb.express everything works
great 100% no crashes all exceptions are caught and handled.

If I "Publish" and create a cd install, and run the setup.exe and run that,
I get an exception and I am trying to see if I can catch it a different way.
-It only happens outside of express.

Miro

Tom said:
Sorry for my last message, that was the wrong link :S

http://www.codeproject.com/dotnet/ExceptionHandling.asp

Sorry ;)
I'm not sure if this is available in the express edition, but look under
the "Application Events" button on the first tab of the application
properties. There is a way under there to catch un-handled exceptions.

======================================
David McCarter [Microsoft VB.NET MVP]
www.vsdntips.com
VSDN Tips & Tricks .NET Coding Standards available at:
www.cafepress.com/vsdntips.20412485


Miro said:
Vb.2005 express

I am having an issue where when in vb.2005 express and running it
internally, I can catch the exception, but when I publish the project I
get
a crash - and a JIT error.

This is driving me nuts.

Is there a place I can Globaly put in a try catch end try in vb.net on a
class somewhere to see if i can catch the error there?

Miro
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top