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 / Is there a command in DBC that will open an html file?

Author
Message
Robert The Robot
18
Years of Service
User Offline
Joined: 8th Jan 2007
Location: Fireball XL5
Posted: 13th Mar 2007 15:00
I'm trying to create context sensitive help for the program I'm working on, and rather than put all the help data in with the source code I'd like to use separate html files (like the F1 key help in DBC)

Can it be done?
Bozzy
18
Years of Service
User Offline
Joined: 10th Sep 2006
Location: Birmingham, UK
Posted: 13th Mar 2007 22:40
Erm can't you just use the:

execute file "Help.html","","(Directory)Help\"

Command?

Try it out with your file, but it depends on what version of DB your using DBC or DBP... I think it may only work in DBP

Cheers,
Bozzy
Robert The Robot
18
Years of Service
User Offline
Joined: 8th Jan 2007
Location: Fireball XL5
Posted: 15th Mar 2007 12:30
Thanks Bozzy!

The command is only in DBPro, but there's a very similar one in DBC called Shell Execute - I couldn't figure out what it did before, but it's got the same parameters as execute file!

Thank you!

Login to post a reply

Server time is: 2025-05-29 04:02:32
Your offset time is: 2025-05-29 04:02:32