473,322 Members | 1,714 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

More Exception Questions

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
4 1269
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

303
by: mike420 | last post by:
In the context of LATEX, some Pythonista asked what the big successes of Lisp were. I think there were at least three *big* successes. a. orbitz.com web site uses Lisp for algorithms, etc. b....
1
by: Old Wolf | last post by:
1. What is the difference between #include <stdexcept> and #include <exception> ? 2. Is there a list somewhere of what each standard exception is used for? either to throw them, or throw...
11
by: Dave | last post by:
try { ... } catch (exception e) { cout << e.what() << endl; } In the code above, e is caught by value rather than polymorphically (assume
5
by: PCC | last post by:
I am using the Exception Managment Application Block on Windows Server 2003 Enterprise and .NET v1.1. If I use the block with an ASP.NET web wervice or in a web application I get the following...
11
by: Lloyd Dupont | last post by:
(not I use 2.0, so new return a "normal" pointer and gcnew return a managed one, my question below regarding new concern plain standart C++ allocator) - if I use the default new operator, are all...
2
by: John | last post by:
Hi there, I'm fairly new to VB.Net (and VB generally) so please bear with me if these are stupid questions! I'm trying run a procedure on multiple Visio files from a form created in VS 2003. ...
6
by: Kevin | last post by:
I come up with these questions during the day, do some research, and then look for experienced users' input. 1. In Access, we already know it's pretty much an automatic save if you enter data. ...
2
by: Hexman | last post by:
Hello All, Well I'm stumped once more. Need some help. Writing a simple select and update program using VB.Net 2005 and an Access DB. I'm using parameters in my update statement and when trying...
14
by: Rex | last post by:
Re: Looking for Tips/Writeup on overall approach to Exception Processing Hi All - I am fairly new to C# and am wondering how to best implement (overall) Exception Processing within my...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.