INFO: Default Filename for Text File Error Log: VBEVENTS.LOG

Last reviewed: March 21, 1997
Article ID: Q161283
The information in this article applies to:
  • Microsoft Visual Basic Control Creation, Learning, Professional, and Enterprise Editions for Windows, version 5.0 on the following platform: Win95

SUMMARY

When you invoke the LogEvent Method in your Visual Basic program running under Windows 95, a text file is created with the filename VBEVENTS.LOG in the default directory if you leave the LogPath Property blank. The LogPath property allows you to set the path and filename of a log file.

MORE INFORMATION

You can log events in your Visual Basic program by using the LogEvent method. If your program is running under Windows NT, the specified events are logged in the NT Event Log. Under Windows 95, the specified events are logged to a text file, vbevents.log.

You can change the location and the file name of the event log by setting the LogPath property to the path and location of your choice and setting the mode argument of the LogMode property to vbLogToFile.

For more information, refer to the LogMode Property topic of the online help.

REFERENCES

For more information about event logging, see the following topics in the Online Help:

- LogEvent Method - LogPath Property - LogMode Property - StartLogging Method


Additional query words: event log App default VBEVENTS.LOG unattended
Keywords : kbusage vb5all VBKBInfo
Version : 5.0
Platform : WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: March 21, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.