473,382 Members | 1,692 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,382 software developers and data experts.

HELP - Un-Handled Error Message prior to 'Sub Main'

I have a Windows app that I have installed on 3 client machines (all
win2k) thatreturn an un-handled error message when starting up.

I have placed 'Try/Catch/Finally' blocks in the 'sub main' and it
doesn't even get to there. Problem is the application works fine on my
development PC.

I have MDAC v2.8 and Framework 1.1 on all machines. I have cross
checked all of the .dll versions and verified that they are the same as
the ones on my machine

What runs BEFORE sub main ?
Nov 22 '05 #1
2 1313
Hi Fred,

Static variables can be initialized before Sub Main gets executed. If an
application crashes due to exception, you should be able to get the
exception description and call stack. Call stack should be a good source of
the information where the application crashed.

--
Victor Urnyshev [MSFT]
This post is "AS IS" with no warranties, and confers no rights.
--------------------
|From: "Fred Gravel" <fg*****@lethbridge.ca>
|Subject: HELP - Un-Handled Error Message prior to 'Sub Main'
|User-Agent: XanaNews/1.16.3.1
|MIME-Version: 1.0
|Content-Type: text/plain; charset=iso-8859-1
|Message-ID: <eY**************@TK2MSFTNGP10.phx.gbl>
|Newsgroups: microsoft.public.dotnet.general
|Date: Wed, 25 Aug 2004 06:31:27 -0700
|NNTP-Posting-Host: mail1.city.lethbridge.ab.ca 198.161.86.10
|Lines: 1
|Path:
cpmsftngxa10.phx.gbl!TK2MSFTNGXA01.phx.gbl!cpmsftn gxa06.phx.gbl!TK2MSFTNGP08
.phx.gbl!TK2MSFTNGP10.phx.gbl
|Xref: cpmsftngxa10.phx.gbl microsoft.public.dotnet.general:143569
|X-Tomcat-NG: microsoft.public.dotnet.general
|
|I have a Windows app that I have installed on 3 client machines (all
|win2k) thatreturn an un-handled error message when starting up.
|
|I have placed 'Try/Catch/Finally' blocks in the 'sub main' and it
|doesn't even get to there. Problem is the application works fine on my
|development PC.
|
|I have MDAC v2.8 and Framework 1.1 on all machines. I have cross
|checked all of the .dll versions and verified that they are the same as
|the ones on my machine
|
|What runs BEFORE sub main ?
|

Nov 22 '05 #2
Hi Fred,

Static variables can be initialized before Sub Main gets executed. If an
application crashes due to exception, you should be able to get the
exception description and call stack. Call stack should be a good source of
the information where the application crashed.

--
Victor Urnyshev [MSFT]
This post is "AS IS" with no warranties, and confers no rights.
--------------------
|From: "Fred Gravel" <fg*****@lethbridge.ca>
|Subject: HELP - Un-Handled Error Message prior to 'Sub Main'
|User-Agent: XanaNews/1.16.3.1
|MIME-Version: 1.0
|Content-Type: text/plain; charset=iso-8859-1
|Message-ID: <eY**************@TK2MSFTNGP10.phx.gbl>
|Newsgroups: microsoft.public.dotnet.general
|Date: Wed, 25 Aug 2004 06:31:27 -0700
|NNTP-Posting-Host: mail1.city.lethbridge.ab.ca 198.161.86.10
|Lines: 1
|Path:
cpmsftngxa10.phx.gbl!TK2MSFTNGXA01.phx.gbl!cpmsftn gxa06.phx.gbl!TK2MSFTNGP08
.phx.gbl!TK2MSFTNGP10.phx.gbl
|Xref: cpmsftngxa10.phx.gbl microsoft.public.dotnet.general:143569
|X-Tomcat-NG: microsoft.public.dotnet.general
|
|I have a Windows app that I have installed on 3 client machines (all
|win2k) thatreturn an un-handled error message when starting up.
|
|I have placed 'Try/Catch/Finally' blocks in the 'sub main' and it
|doesn't even get to there. Problem is the application works fine on my
|development PC.
|
|I have MDAC v2.8 and Framework 1.1 on all machines. I have cross
|checked all of the .dll versions and verified that they are the same as
|the ones on my machine
|
|What runs BEFORE sub main ?
|

Nov 22 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Mauro | last post by:
Ciao a tutti! vorrei sapere se qualcuno potrebbe darmi qualche dritta (o se sa dove reperire un tutorial) su come realizzare un trial a tempo, da integrare ad un mio programma per impedirne...
3
by: pascal Joseph | last post by:
J'ai un formulaire avec un seul champ text appelé "unite" et un bouton. En javascript j'aimerai utiliser un script qui interdise les valeurs de type "char" et soit supérieur à 0 J'ai trouvé...
1
by: Andre79 | last post by:
Ciao a tutti! Ho comprato proprio oggi un Engl Screamer 50 (testata)... Volevo sapere se c'e' qualcuno fra voi con questa stessa testata e potrebbe consigliarmi qualche settaggio, visto che ho...
0
by: StellaAzzurra | last post by:
Salve, premettendo che non sono un esperta di access, vi pongo il mio problema. Sto facendo una rubrica con access ed avrei la necessità di fare in modo che se ad esempio un mio clienti avesse 5...
1
by: JimmyHoffa | last post by:
Hi, Just wondering if anyone could help me optimise this query, it can take up to 3 seconds to execute which makes me think theres probably a better way to do what i'm doing.. SELECT...
1
by: Alex | last post by:
Ciao a tutti, sto sviluppando un applicazione windows, in breve all'interno dello stesso namespace ho un form con una datagrid e un thread che effettua dei controlli e "dovrebbe" caricare i dati...
15
by: Ciudad Tecnópolis | last post by:
Hola, primero que todo mil disculpas por postear una pregunta no relacionada al tema pero se que será muy útil para todos! Actualmente estoy presentando un desarrollo en .NET para una compañía y...
3
by: nano9 | last post by:
Hola gente quisiera que alguien me pudiera ayudar con un problemilla que tengo, resulta que estoy programando en ASP con C# y estoy usando un cadbgrid que se comporta parecido a un datagrid o...
0
by: misra | last post by:
Hi, I am using a C# code to call blat and send mail. When I send mails with long sentences, the mail automatically is send with multiple lines. However, certain times the body and format of the...
7
by: google | last post by:
I am trying to automate the way reports are printed in an Access 2003 database - I have ~200 records (people) who require between 5 and 10 customized reports (depending on values within certain...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
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...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.