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 / Running program in background

Author
Message
Turtle Productions
17
Years of Service
User Offline
Joined: 22nd Jan 2009
Location: Finland
Posted: 5th Jan 2011 12:12
Hi. Is it possible to make a program run in Windows' background?
Because I want to play a sound but the window should not open.
Like virus protection programs, and so.

Thanks,
TP
The Slayer
Forum Vice President
16
Years of Service
User Offline
Joined: 9th Nov 2009
Playing: (Hide and) Seek and Destroy on my guitar!
Posted: 5th Jan 2011 12:50
Yep, there is. Just use the command 'hide window'. The application will still be active, but it won't be visible.

Cheers

SLAYER RULES! YEAH, MAN!!
Turtle Productions
17
Years of Service
User Offline
Joined: 22nd Jan 2009
Location: Finland
Posted: 5th Jan 2011 14:47
Oh how could have I missed that command! Thanks!

Thanks,
TP
Mobiius
Valued Member
23
Years of Service
User Offline
Joined: 27th Feb 2003
Location: The Cold North
Posted: 5th Jan 2011 18:06
Or have the program to be hidden by setting it in the IDE.

My signature is NOT a moderator plaything! Stop changing it!
Turtle Productions
17
Years of Service
User Offline
Joined: 22nd Jan 2009
Location: Finland
Posted: 5th Jan 2011 18:33
Yea, I noticed that too, thanks!

Thanks,
TP

Login to post a reply

Server time is: 2026-07-18 02:08:47
Your offset time is: 2026-07-18 02:08:47