VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

This is the easy example of Fatal Application Error Exit

EskoHC  (2 Submissions)   Windows API Call/Explanation   VB 6.0   Unknown Difficulty   Sat 9th March 2002   Mon 8th February 2021

This is the easy example of Fatal Application Error Exit

API Declarations


Private declare sub FatalAppExit lib "kernel32" alias "FatalAppExitA"(byval uAction as long,byval lpMessageText as string)

public sub FatalError(Message as string)
on error goto Handle_Error
FatalAppExit 1,Message$
exit sub
Handle_Error:
debug.print "Error number :" , err.number
debug.print "Error description :" , err.description
debug.print "Error source :" , err.source
end sub


Rate This is the easy example of Fatal Application Error Exit (1(1 Vote))
This is the easy example of Fatal Application Error Exit.bas

This is the easy example of Fatal Application Error Exit Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters