Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Beginning VB 6
Password Reminder
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Beginning VB 6 For coders who are new to Visual Basic, working in VB version 6 (not .NET).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Display Modes
  #1 (permalink)  
Old February 5th, 2004, 12:46 AM
Registered User
Join Date: Feb 2004
Location: , CA, USA.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to MelissaEvans
Default "An error log is being created"... where?

I have a pretty big app that I've made some changes to and all of the sudden I get the error:
VB6.exe has generated errors and will be closed by Windows.
You will need to restart the program.

An error log is being created.
I don't know what changes could have caused this and for the life of me, I can't find the error log it mentioned. It's not with my VB project or the VB.exe... any ideas?

Reply With Quote
  #2 (permalink)  
Old February 5th, 2004, 10:50 AM
Friend of Wrox
Join Date: Aug 2003
Location: , , .
Posts: 205
Thanks: 0
Thanked 0 Times in 0 Posts

1. Try the Dr. Watson log (Dr. Watson Errors are windows system errors and thats what this looks like).

2. Try the System & Application Event logs.

It is also possible that no error log is really created despite Windows saying there is one. How good is the error handling in your application? Try to shore it up. You might be able to trap the error (though possibly as I said above it is a Windows System Error and those are not always trappable).

Reply With Quote
  #3 (permalink)  
Old February 5th, 2004, 01:33 PM
Friend of Wrox
Join Date: Jun 2003
Location: Alameda, ca, USA.
Posts: 627
Thanks: 0
Thanked 0 Times in 0 Posts

Hi Melissa,
what do you mean for 'pretty big'? VB has some limitations, and if you hit them VB goes crazy skipping even error handling.
Look for the log files in the windows\system32 folder.
Reply With Quote
  #4 (permalink)  
Old November 24th, 2004, 11:25 PM
Registered User
Join Date: Nov 2004
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts


Were you successful with the vb6.exe error issue? I am seeing the same problem as well and have no idea what is causing it.


Reply With Quote
  #5 (permalink)  
Old November 29th, 2004, 12:01 PM
Friend of Wrox
Join Date: Nov 2004
Location: Port Orchard, WA, USA.
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts

Usually the way to find what the trouble is is to add a routine that writes to a file of your choosing, and put copious entries into that file denoting what is going on. entries when entering functions, entries when leaving them, actual strings that will be used to open recordsets or files, etc., including the time with each entry.

When the error occurs, go to that file to find out where you were just prior to the error.

I am a big fan of using the Windows Scripting Host, the FileSytemObject within it, the TextStream object of the FileSystemObject, and the WriteLine method of the TextStream Object.

Just a wee bit of code goes a long ways.
Reply With Quote
  #6 (permalink)  
Old January 14th, 2005, 05:39 AM
vde vde is offline
Registered User
Join Date: Jan 2005
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts


The default location where drwatson's logs are created is :

C:\Documents and Settings\All Users\Documents\DrWatson

If you can't find it there, do a search on drwtsn32.log.


Vincent Deswert

Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Transaction Log Error hugh@kmcnetwork.com SQL Server 2000 1 June 4th, 2008 09:26 PM
Log in page error zhugeliang ASP.NET 2.0 Basics 0 July 16th, 2006 04:14 PM
Error : Mutex could not be created Rohit Ranjan .NET Web Services 1 November 14th, 2005 09:58 AM
Log In error on another machine lpastor Crystal Reports 2 April 18th, 2005 09:15 AM
AppException Class -Log Error to Event Log bekim BOOK: ASP.NET Website Programming Problem-Design-Solution 7 December 7th, 2004 12:01 PM

All times are GMT -4. The time now is 02:36 PM.

Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.