VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Add Error log to your projects no changing code

Jason Monroe  (4 Submissions)   VB function enhancement   Visual Basic 3.0   Intermediate   Wed 3rd February 2021

This is a drop in replacement for the VB Message box routine (MsgBox). It will log to a file all messages that you display to the user that are marked with vbCritical. This routine also expands the standard VB Messagebox by giving you the developer the ability to log to file, even if you don't set vbCritical.

Inputs
Same as MsgBox

Assumes
Insert this code into a module, will not work properly if placed in a class

Returns
Same as MsgBox

Rate Add Error log to your projects no changing code (10(10 Vote))
Add Error log to your projects no changing code.bas

Add Error log to your projects no changing code Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters