|
-
Mar 27th, 2000, 04:19 AM
#1
Thread Starter
Junior Member
Hi this is just a bit urgent. Okay now up to now the only way i know how to execute a a .exe file from a vb app is to use the oem control. But i need to be able to execute an .exe program by clicking on an image or a button what code would i use??? Please help thanks. Either respond here or e-mail me at [email protected] ... :-)
Rember to visit my website at www.c-interactive.co.uk
-
Mar 27th, 2000, 04:26 AM
#2
Lively Member
Hello,
Have you ever tried using the Shell function?
Here's a sample,
Code:
Option Explicit
Private Sub Form_Load()
Shell "c:\windows\notepad.exe", vbNormalFocus
End Sub
-
Mar 27th, 2000, 04:26 AM
#3
Lively Member
Hello,
Have you ever tried using the Shell function?
Here's a sample,
Code:
Option Explicit
Private Sub Form_Load()
Shell "c:\windows\notepad.exe", vbNormalFocus
End Sub
Hope it helps,
Desire.
-
Mar 28th, 2000, 12:24 AM
#4
Thread Starter
Junior Member
Thank you sooooo much tahnk you for your help this will really help. Belive it or not i am making a little shell replacment in vb well i'm trying lol.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|