How to fix error vb6
Hello vb developers 😀
vb6 is one of my favorite language because of it’s simplicity. Though it’s an old programming language but it carries a great platform to develop your own software easily. It’s debugging system is not good enough. So we have to use 3rd party software to make it easy. There are many 3rd party but I like MZ Tool best . I’m going to show you how to Detect any Types of error in vb6 project
Download MZ Tool [4shared link]
Download MZ Tool [mediafire link]
After Downloading Install This. Now Open a new Microsoft Visual basic 6.0 project for testing.
Click Tool > MZ-Tools . I hope you have got It 🙂
To detect any types of error of vb6 project you have to use Error Handler & Line Numbering feature of MZ Tools. Lets See how to work with those features.
In your New Open Project Write those Code in Form load Event.
Click The Image to Get the Full size. Now Run the Project [Press F5]
You would a messagebox Like above right ?
It means you have made a mistake in
Debug.Print 7 / 0
Now Our mission is to Detect the Mistake line Number by using messagebox..
😛 Ok Now lets Do our Main Work.
Click Tool > Mz Tools > Add Line Numbers
After that You will get Your Previous Code like Below
Congratulation !!! You have done your 50 % work 🙂 .
Look at the Picture. Click as I mentioned as Bold Circle.
You will Get a window like above. Click Error Handler
Click the Image To Get Full Size. Remove the Square Mark Line and Put the Code like Below
MsgBox "Error " & Err.Description & " in line " & Erl & " {PROCEDURE_NAME} of {MODULE_TYPE} {MODULE_NAME}. " & vbnewline & vbnewline & "Tool Name : " & me.caption & vbnewline & vbnewline & "Please Take snap of this Error Message and mail it to" & vbnewline & vbnewline & "Your Email Address Here" & vbnewline & vbnewline & "Regards" & vbnewline & "buzzard" & vbnewline & "www.ebuz.xyz",vbcritical,"Error has Been Detected !!!
Now Click Ok.
Go to Your Form Load Event > Click Tools > Mz-Tools > Add error handler .
Check The Picture Above. You would get Your Code Like Below
Now Run Your project [Press F5]
Check the Image carefully. In Messagebox You would get the line Number > 20 < in which you have made a coding error. Now you can Repair your coding error. I hope you have Got me Fully.
Happy Coding !!! 😀
Have you given any consideration at all with translating your current site in to French? I know a several of translaters right here that will would help you do it for no cost if you wanna get in touch with me.