Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Execute File vs Execute Executable?

Author
Message
Derek Darkly
13
Years of Service
User Offline
Joined: 22nd Sep 2011
Location: Whats Our Vector, Victor?
Posted: 12th Dec 2014 17:05
I just noticed these 2 commands are very similar, does anyone know the difference between them?

Also, is there a way to switch between 2 running DBP programs from within the apps themselves without using ALT+TAB or the windows taskbar?

Thanks!

WickedX
16
Years of Service
User Offline
Joined: 8th Feb 2009
Location: A Mile High
Posted: 12th Dec 2014 17:52
With execute file you can open a file such as a txt or html file and it will bring it up in notepad or your internet browser. Execute executable will open an application and return its handle. You can call the Windows API function SetActiveWindow() with this handle to switch between DBPro apps.
WickedX
16
Years of Service
User Offline
Joined: 8th Feb 2009
Location: A Mile High
Posted: 12th Dec 2014 18:00 Edited at: 12th Dec 2014 18:01
The Matrix1util has all the functions needed to make it simple.
Derek Darkly
13
Years of Service
User Offline
Joined: 22nd Sep 2011
Location: Whats Our Vector, Victor?
Posted: 12th Dec 2014 19:50
Awesome, thanks!
I'll see if I can make it happen over the weekend.. if not I'm sure I'll come begging for help.

Login to post a reply

Server time is: 2025-05-11 13:21:30
Your offset time is: 2025-05-11 13:21:30