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 


Is this possible?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
darkex
I post too much
Reputation: 0

Joined: 29 Aug 2008
Posts: 2006
Location: Australia

PostPosted: Tue Dec 23, 2008 6:19 pm    Post subject: Is this possible? Reply with quote

"Can you launch other applications using VB? And can it launch any file extension? If not, then what can it launch?"

OK, I have a scenario. I have a chunk of files in a folder on my Desktop. If I was to put my finished program in there, would it be able to launch any apps?
Back to top
View user's profile Send private message
arigity
Advanced Cheater
Reputation: 0

Joined: 03 Jul 2008
Posts: 65
Location: middle of nowhere.

PostPosted: Tue Dec 23, 2008 6:32 pm    Post subject: Reply with quote

take a look at Process.Start and ProcessStartInfo

Dim info As New ProcessStartInfo(filepath)
Dim proc As Process = process.Start(info)
Return proc.Handle ' this ain't necessary.

_________________
Back to top
View user's profile Send private message
BanMe
Master Cheater
Reputation: 0

Joined: 29 Nov 2005
Posts: 375
Location: Farmington NH, USA

PostPosted: Wed Dec 24, 2008 12:46 pm    Post subject: Reply with quote

WTF


READ! ShellExecute CreateProcess,CreateProcessEx,ManuelMap and CreateThread!! im mean common wtf looking on the net before you ask retarded questions.... please!
Back to top
View user's profile Send private message MSN Messenger
SXGuy
I post too much
Reputation: 0

Joined: 19 Sep 2006
Posts: 3551

PostPosted: Wed Dec 24, 2008 2:58 pm    Post subject: Reply with quote

shellexecute is all you need Shocked
Back to top
View user's profile Send private message
Elec0
Expert Cheater
Reputation: 0

Joined: 21 Nov 2007
Posts: 188
Location: Out of my mind, back in five minutes.

PostPosted: Wed Dec 24, 2008 3:45 pm    Post subject: Reply with quote

You can even shorten that to Shell...
_________________
Back to top
View user's profile Send private message MSN Messenger
kitterz
Grandmaster Cheater Supreme
Reputation: 0

Joined: 24 Dec 2007
Posts: 1268

PostPosted: Wed Dec 24, 2008 10:34 pm    Post subject: Reply with quote

ShellExecute() would work.
_________________
Back to top
View user's profile Send private message Send e-mail
talkerzero
Grandmaster Cheater
Reputation: 1

Joined: 24 Jul 2008
Posts: 560
Location: California

PostPosted: Mon Dec 29, 2008 12:51 pm    Post subject: Reply with quote

If you're not going to take advantage of the simplicity of the commands in VB, why use VB at all? Shell()..
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