Debug.Print Statement is Very useful Feature in VB which allow us to track the program .. as you can see the ScreenShot.
In this Example , When Error will comes Execution will Go to Err: Label where it will check if Number of Error Does not equal to Zero if Error Found Debug.Print Statement Will Print the Error Description on Immediate Window ,
Short Cut to Open Immediate Window is Ctrl+G
2). In this Example OutPut is Generating On Immediate Window,
In this Example , When Error will comes Execution will Go to Err: Label where it will check if Number of Error Does not equal to Zero if Error Found Debug.Print Statement Will Print the Error Description on Immediate Window ,
Short Cut to Open Immediate Window is Ctrl+G
2). In this Example OutPut is Generating On Immediate Window,
No comments:
Post a Comment