VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Error Handler Document

WalkerBro  (2 Submissions)   Databases/Data Access/DAO/ADO   Visual Basic 3.0   Unknown Difficulty   Wed 3rd February 2021

This code pastes into a Module that Create (if not exists) a MDB to record the errors that occur in your application.

Inputs
Needs (DatabaseName, Date, Err.Number, Err.Description, PrivateNotes, Optional(User)) Load in "References" the "Microsoft DAO 3.51 Object Library"

Assumes
Basic Error handling information.

Returns
True or False if it was succesful.

Side Effects
No known side effects.

API Declarations
Public Type SECURITY_ATTRIBUTES
nLength As Long
lpSecurityDescriptor As Long
bInheritHandle As Long
End Type
Public Declare Function CreateDirectory Lib "kernel32" Alias "CreateDirectoryA" (ByVal lpPathName As String, lpSecurityAttributes As SECURITY_ATTRIBUTES) As Long

Rate Error Handler Document (103(103 Vote))
Error Handler Document.bas

Error Handler Document Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters