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 


how i can show OpenDialog in CE 6.1 trainer?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Shahryar
Advanced Cheater
Reputation: 0

Joined: 11 Jun 2011
Posts: 85

PostPosted: Sat Jun 11, 2011 5:30 pm    Post subject: how i can show OpenDialog in CE 6.1 trainer? Reply with quote

how i can show OpenDialog after click Launch button in trainer for give a path of game's exe file and in restart trainer, after click on Launch button, trainer remember last path and run it.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Dark Byte
Site Admin
Reputation: 471

Joined: 09 May 2003
Posts: 25839
Location: The netherlands

PostPosted: Sun Jun 12, 2011 4:12 am    Post subject: Reply with quote

after puting an opendialog object on the trainer form and configuring it(filter for .exe for example and a specific title) you can launch it using "openDialog_execute(formname_opendialogname)"

e.g if the formname is called UDF1 and you named the opendialog object OD then you'd call
Code:

filetolaunch=openDialog_execute(UDF1_OD)

which sets the opened file in filetolaunch (nil if canceled by the user)

and then you can do shellExecute(filetolaunch)

(the documentation has a wrong case for the D so use the above example)

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
Shahryar
Advanced Cheater
Reputation: 0

Joined: 11 Jun 2011
Posts: 85

PostPosted: Sun Jun 12, 2011 4:47 am    Post subject: Reply with quote

Thanks. this code is very important and useful for me. Very Happy
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Shahryar
Advanced Cheater
Reputation: 0

Joined: 11 Jun 2011
Posts: 85

PostPosted: Mon Jun 13, 2011 10:10 am    Post subject: Reply with quote

how after click again on Launch button, trainer remember last path entered and run it without show again dialog window.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine 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