Jobs
Author: Mohammad Imran Date Submitted: 9/13/2005 Category: Forms Compatibility: VB 6 This code has been accessed 5023 times.
Email Yourself this snippet:
1st of all start a new project from New Command and choose New Exe Project. and Drop 2 Command button into form and also drop a text box from toolbox into form. change the names of controls Control = Properties command1 = name : cmd1, caption : click me command2 = name : cmd2, caption : click here textbox1 = name : txt1, text : "" (empty)
Code
code for cmd1 txt1.text="welcome to nowshera" code for cmd2 txt1.text=""