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

More Exception Questions

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

Aug 3 '07 #1
Share this Question
Share on Google+
4 Replies


P: n/a
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" wrote:
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

Aug 6 '07 #2

P: n/a
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).
dotNetDave wrote:
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" wrote:
>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

Aug 6 '07 #3

P: n/a
Tom
Sorry for my last message, that was the wrong link :S

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

Sorry ;)

dotNetDave wrote:
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" wrote:
>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

Aug 6 '07 #4

P: n/a
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" <to**********@gmail.comwrote in message
news:uU**************@TK2MSFTNGP05.phx.gbl...
Sorry for my last message, that was the wrong link :S

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

Sorry ;)

dotNetDave wrote:
>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" wrote:
>>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


Aug 7 '07 #5

This discussion thread is closed

Replies have been disabled for this discussion.