Posted: Sat Jun 11, 2011 5:30 pm Post subject: how i can show OpenDialog in CE 6.1 trainer?
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.
Joined: 09 May 2003 Posts: 25839 Location: The netherlands
Posted: Sun Jun 12, 2011 4:12 am Post subject:
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
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