English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

2006-07-09 10:18:12 · 6 answers · asked by Mattmatician 3 in Computers & Internet Programming & Design

I mean run an exe file by clicking a button in my project. I know how to make an action onClick but I don't know how to run the file.

2006-07-09 10:29:25 · update #1

6 answers

Shellexecute api..
Look it up on www.allapi.net
http://www.allapi.net/apilist/ShellExecute.shtml

2006-07-09 10:24:14 · answer #1 · answered by steppenwolfe_2000 2 · 0 0

You want to open an exe file in Visual Basic.I tried and couldn't do it.

2006-07-09 10:20:54 · answer #2 · answered by Balthor 5 · 0 0

In both VB 6 and VB .Net, look up the Shell function.

2006-07-09 10:25:51 · answer #3 · answered by houcorpcio 1 · 0 0

try this first: Shell "calc" (it launches the calculator programme which is a .exe file), and then replace the "clac" with the path to your .exe file
Good luck budy.

2006-07-10 23:52:59 · answer #4 · answered by Ali S 1 · 0 0

Maybe getRunTime().exec() ? It's been a while since I did any VB.

2006-07-09 10:23:17 · answer #5 · answered by chrisj14uk 2 · 0 0

Mattmatician you will find all your answer here

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnanchor/html/vb6anchor.asp

2006-07-09 22:48:14 · answer #6 · answered by Joe_Young 6 · 0 0

fedest.com, questions and answers