473,967 Members | 21,017 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1346
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*****@lethbr idge.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.publi c.dotnet.genera l
|Date: Wed, 25 Aug 2004 06:31:27 -0700
|NNTP-Posting-Host: mail1.city.leth bridge.ab.ca 198.161.86.10
|Lines: 1
|Path:
cpmsftngxa10.ph x.gbl!TK2MSFTNG XA01.phx.gbl!cp msftngxa06.phx. gbl!TK2MSFTNGP0 8
.phx.gbl!TK2MSF TNGP10.phx.gbl
|Xref: cpmsftngxa10.ph x.gbl microsoft.publi c.dotnet.genera l:143569
|X-Tomcat-NG: microsoft.publi c.dotnet.genera l
|
|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*****@lethbr idge.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.publi c.dotnet.genera l
|Date: Wed, 25 Aug 2004 06:31:27 -0700
|NNTP-Posting-Host: mail1.city.leth bridge.ab.ca 198.161.86.10
|Lines: 1
|Path:
cpmsftngxa10.ph x.gbl!TK2MSFTNG XA01.phx.gbl!cp msftngxa06.phx. gbl!TK2MSFTNGP0 8
.phx.gbl!TK2MSF TNGP10.phx.gbl
|Xref: cpmsftngxa10.ph x.gbl microsoft.publi c.dotnet.genera l:143569
|X-Tomcat-NG: microsoft.publi c.dotnet.genera l
|
|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
4932
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 l'utilizzo allo scadere di un dato periodo (ad esempio 30 giorni) o come implementare l'algoritmo per il controllo della chiave di sblocco. Grazie anticipatamente per l'aiuto. Ciao, Mauro.
3
3914
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é ce code mais je ne sais pas comment l'appliquer, fonctionne-t-il? <script>
1
2601
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 smanettato un po' oggi ma non sono riuscito a trovare un buon suono "lead"... Il problema e' che vorrei usare l'amply domenica x una serata e ho paura di non aver tempo per provare tutti i settings da solo... Un ultima domanda: visto che e' il mio...
0
2175
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 numeri di telefono dell'ufficio, questi potessero essere visualizzati tutti su una stessa cella, ovviamente uno alla volta, ed avrei pensato al metodo della casella combinata e...qui nasce il problema.
1
1190
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 MAX(Latitude) as "MaxLat",MIN(Latitude) as "MinLat",MAX(Longitude) as "MaxLong",Min(Longitude) as "MinLong", count(filtered.serialno) as "count" FROM (
1
3392
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 sulla datagrid stessa. - nel namespace ho dichiarato un riferimento al form in questo modo: private static Form1 f; - nel form load istanzo e lancio il thread, nel thread eseguo i
15
1916
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 unos tipejos me están echando el negocio al suelo pues hablan pestes de .NET y le dicen al director de sistemas de la compañía que Linux y PHP son lo máximo!!! , por favor alguien tiene textos o material de cualquier tipo.. videos ....
3
2915
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 dbgrid pero tiene otras peculiaridades ahi que facilitan muchas tareas. Si alguno ha usado este control talvez me podria ayudar. El asunto esta asi, estoy queriendo agregar un mensaje en una etiqueta debajo del grid para indicar la cantidad de items...
0
2100
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 mail has to look like the following (Have put the body in double quotes) "The following numbers have been Un-validated for - PARIS 20 misrar 31/05/2007 14:13:52 55 misrar 31/05/2007 14:13:52 75 misrar ...
7
2076
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 fields) - currently I print each report by selecting all employees and printing one report at a time - once all reports are printed, I manually collate the packages - I would like to be able to have a combo box (or other option) highlight the...
0
10315
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10132
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11368
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10856
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
10047
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
8422
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6369
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
6506
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
4695
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.