Saturday, July 23, 2011

Debug.Print Statement And Immediate Window

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,


No comments: