Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

App crashing with no error messages

Status
Not open for further replies.

joxo1

Programmer
Aug 5, 2004
25
GB
HI,

I have an application which is a vb front end and an access 97 backend database.

It sits on the network at work and works fine for 90% of the people 90% of the time.

However I have had feedback that sometimes the prog is crashing but apperently with no error messages at all!? (Just disapears)

I cannot replicate this on my own machine)

Can anyone tell me under what circumstances would an application just crash with no error messages?

FYI our work pc use XP and I am using APIs in the code to control the tray icon.

Let me know if you need any more info. Any help would be great!!
 
You would probably need to find out exactly what the users were doing at the time it crashed. This would at least help to pinpoint the rough location within your code.
i.e. What action was the user carrying out in your application?, was the network showing problems? is the database multiuser or one db per user? etc.

Other alternatives is creating a verbose debug version which logs information to a logfile. This may slightly degrade performance but if log entries are put in approx the area of code where you think the problem might be you will then see exactly where termination has occurred.


"Own only what you can carry with you; know language, know countries, know people. Let your memory be your travel bag.
 
You might want to check the eventlog for messages

(right-click on MyComputer, select Manage, look at Event Viewer)

Chip H.


____________________________________________________________________
If you want to get the best response to a question, please read FAQ222-2244 first
 
The program may not really be crashing. I have on occassion hidden or unloaded a form without making anything else visible. This give the appearance of the program crashing without warning but a look in Task Manager shows that it is still running, although with nothing visible.
 
Thanks for your answers.

I know that the program is closed as the users are able to reload it and it uses the App.PrevInstance to disalow that if the prog is open.

I can't really go and see the problem happen live as it seems to occur randomly and there are about 200 users over 3 sites so i would have to hang around a user for some undetermined amount of time to see the error, and even then I can't duplicate it (I have had feedback from users telling me what they are clicking)

thanks anyway
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top