Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


vb6 code how to luanch something?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
joeman92
Master Cheater
Reputation: 0

Joined: 29 Sep 2007
Posts: 439

PostPosted: Thu Mar 27, 2008 3:19 pm    Post subject: vb6 code how to luanch something? Reply with quote

is there a path or some thing when you click a command button it luanches a .exe?
Back to top
View user's profile Send private message
Cheat Engine User
Something epic
Ban
Reputation: 61

Joined: 22 Jun 2007
Posts: 2071

PostPosted: Thu Mar 27, 2008 3:20 pm    Post subject: Reply with quote

Shell execute?

ShellEx or something in that direction.
Back to top
View user's profile Send private message
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Thu Mar 27, 2008 3:34 pm    Post subject: Reply with quote

CreateProcess
Back to top
View user's profile Send private message
Heartless
I post too much
Reputation: 0

Joined: 03 Dec 2006
Posts: 2436

PostPosted: Thu Mar 27, 2008 3:55 pm    Post subject: Reply with quote

In Visual Basic 6 it would be

Code:
Shell(<program path here>)


it would look something like this

Code:
Shell("C:\Program Files\Opera\Opera.exe")

_________________
What dosen't kill you, usually does the second time.
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8586
Location: 127.0.0.1

PostPosted: Thu Mar 27, 2008 9:55 pm    Post subject: Reply with quote

You can use the built in Shell( ) command as listed above, or use the API:

Shell
http://www.int.gu.edu.au/courses/3008int/m03/FYI/Command_Syntax.htm#Heading181

ShellExecute
http://allapi.mentalis.org/apilist/ShellExecute.shtml

ShellExecuteEx
http://allapi.mentalis.org/apilist/ShellExecuteEx.shtml

CreateProcess
http://allapi.mentalis.org/apilist/CreateProcess.shtml

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites