hello My mig33 programmers ,
Firstly I want to say Sorry for Making This 2nd Tutorial Lately.
Anyway let’s do our job 😛
Open > Microsoft Visual Basic 6.0 from start Menu.
After That you will get a screen like that
Clcik > CommandButton
Drag in into the form. >>
After that you will get like this
This is the process of Adding Controls in Form. if you have done all the above steps then Be 100% sure that you have passed the 1st step of making mig33 application 😛
Ok Now single click >Command1< Then You will get Right side of the Toolbar > Properties – Command
In Name write > cmdLogin
In Caption write > Login
Now Double Click >Login<
Have you Got a Screen like Above ? If your answer is “YES” then You are in Right way 😀
Private Sub cmdLogin_Click()
MsgBox “This is My 1st Hello World For Mig33 Application”
Let’s Make a simple Description about The Previous Command.
* Private means a private Routine, and can be used only from within this form/module process. If it stated as Public then it can be used from other forms/modules.
* Sub means SubRoutine, a sub is a place of codes that can be used and process any data that passed into it, or process codes inside it only.
* CmdLogin_Click() indicates us that this sub is triggered by a click on the CmdLogin button. whenever CmdLogin Button clicked, the script call this sub and process whatever code or commands inside this sub. we will try to learn other control later.
* End Sub
this line tells the script that the Sub of CmdLogin_Click is ends here. every Sub and function must have a Ending line at the last.
Now Click The Circle Button like above Picture.
Have you got a Screen Like above ?? 😛
If you have got Then Click > Login
If you Get The last Picture I’m sure that You understand The This Tutorial Fully. 😛
Practice it again & again.
N.B : Don’t forget To Post Your problem here .