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 Discussion / Can Darkbasic access other programms?

Author
Message
Data
20
Years of Service
User Offline
Joined: 26th Nov 2004
Location: Winnipeg,Canada
Posted: 19th Nov 2005 03:33
Can DB classic be given a command that opens a another program made with darkbasic?

So I can't understand everything, I'm a floppy!!!!!!! I hold 1mb only!!!!!!!!!.....Stupid CDs
Frozen Flame
20
Years of Service
User Offline
Joined: 22nd Jul 2004
Location:
Posted: 19th Nov 2005 03:57
u can.. save ur code in the darkbasic files and then in ur main code call for that file.. but when u save it it will all be placed in a single .exe


General Sephiro
20
Years of Service
User Offline
Joined: 27th Sep 2004
Location:
Posted: 19th Nov 2005 09:09 Edited at: 19th Nov 2005 09:10
Well depends what you mean, i remember working on a project involving opening other files made in DBC.

Technically you can use the file, dunno if thats what you want, and yes if there is no C:Windows blah blah it will read from the directory the original exe was executed.



Hope that helps, or even if it was close to what u were looking for

blanky
20
Years of Service
User Offline
Joined: 3rd Aug 2004
Location: ./
Posted: 19th Nov 2005 15:49 Edited at: 19th Nov 2005 15:49
execute file "my_other_program.exe","",""

Shove a ,1 on the end of that if you want your program to then wait until the other one's finished. No point using the two parameters that I've filled with "" unless you really want to.

16-colour PNGs pwn.
Data
20
Years of Service
User Offline
Joined: 26th Nov 2004
Location: Winnipeg,Canada
Posted: 19th Nov 2005 16:36
thanks that's what I wanted.

http://jimmyr.co.uk
"THere is no spoon"

Login to post a reply

Server time is: 2025-05-22 20:18:52
Your offset time is: 2025-05-22 20:18:52