It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming Visual Basic Forum Script-archive

how to launch or run a program in a button click

Share your completed scripts.

Moderator: dafunkymunky

how to launch or run a program in a button click

Postby chubzyko on Wed Aug 27, 2008 5:43 pm

Code: Select all
Private Sub cmd_button1_Click()
Call Shell ("C:\WINDOWS\system32\notepad.exe", vbNormalFocus)
End Sub
"Failure is the key to success, so try and try until you succeed."
User avatar
chubzyko
100+ Club
 
Posts: 104
Joined: Wed Jul 30, 2008 10:48 pm
Location: Marikina City, Philippines

Who is online

Users browsing this forum: No registered users and 0 guests