AutoHotkey Community

It is currently May 26th, 2012, 8:36 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: April 19th, 2005, 4:20 pm 
hi all
i know this is nothing to do with ahk but, just wondering if anyone has an idea as to how to run a program/file in vb? like in a command button or something any help would be much appreicitaed thx.

)


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: April 19th, 2005, 5:20 pm 
Offline

Joined: April 5th, 2005, 10:50 pm
Posts: 133
Quote:
how to run a program/file in vb?


Shell Function
Runs an executable program.

Syntax
Shell( pathname [ , windowstyle ] )

Example
Code:
 x =  Shell( "C:\WINDOWS\CALC.EXE" ,  1 )      ' Run Calculator.


MYYM


Report this post
Top
 Profile  
Reply with quote  
 Post subject: ShellExecute
PostPosted: May 1st, 2005, 4:18 am 
Offline

Joined: February 9th, 2005, 9:18 pm
Posts: 17
Location: United States
Use the ShellExecute (ShellExecuteEx) Windows API functions for added power. See your API Text Viewer for the complete declaration.

_________________
RG


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: DataLife and 3 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group