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.

Author
Message
Killswitch
22
Years of Service
User Offline
Joined: 2nd Oct 2002
Location: School damnit!! Let me go!! PLEASE!!!
Posted: 13th Feb 2004 22:54
Basicly im working on a organiser (mainly for personal use at the moment, but I might realease it if it devolops well enough) and I need it to run automaticly at startup then close if there isn't an event to close. That code and the alert code will be pretty easy I just can't seem to figure out howto get it to run on startup automaticly. Any help?

~I see one problem with your reasoning: The fact is that is a chicken~
Teckno
21
Years of Service
User Offline
Joined: 20th Jan 2004
Location: Inside of your computer, LET ME OUT!!!!!
Posted: 13th Feb 2004 23:20
Place the program .exe into your startup folder

I am god, now bow before me you stupid peasants
I accept no responsibility for any thing I say while... well..... ever
Killswitch
22
Years of Service
User Offline
Joined: 2nd Oct 2002
Location: School damnit!! Let me go!! PLEASE!!!
Posted: 13th Feb 2004 23:30
Sorry, but where is that located?

~I see one problem with your reasoning: The fact is that is a chicken~
BearCDPOLD
21
Years of Service
User Offline
Joined: 16th Oct 2003
Location: AZ,USA
Posted: 14th Feb 2004 00:59
Start Button>>>Program Files>>>Startup

You can just right-click on it and click "Explore" and you can manipulate it in Windows Explorer.

Juvenile Industries
Current Project: KillZone(FPS)
Soon to come:An rts, and a snowball fight game
JoelJ
21
Years of Service
User Offline
Joined: 8th Sep 2003
Location: UTAH
Posted: 14th Feb 2004 02:01
dont put the actual exe in it, put a shortcut to it

Phrozin
21
Years of Service
User Offline
Joined: 16th Jun 2003
Location: Florida USA
Posted: 14th Feb 2004 09:19 Edited at: 14th Feb 2004 09:20
you could also use an installer to put a key into the registry under HKEY_CURRENT_USER or HKEY_LOCAL_MACHINE. This would be a better way as most people hate when people put shortcuts in their startup folder cause thats always the last place to look as the "standard" is to use registry keys.

Check out Inno Setup. It's free, and has many features like files installed through the net, (IE downloads the files as it goes ala. Windows Update), registry entry, Customizable setup types, (IE Full, Minimal, Custom) and so fourth.

hope this helps
Phrozin
21
Years of Service
User Offline
Joined: 16th Jun 2003
Location: Florida USA
Posted: 14th Feb 2004 13:08 Edited at: 14th Feb 2004 13:10
you could also use an installer to put a key into the registry under HKEY_CURRENT_USER or HKEY_LOCAL_MACHINE. This would be a better way as most people hate when people put shortcuts in their startup folder cause thats always the last place to look as the "standard" is to use registry keys.

Check out Inno Setup. It's free, and has many features like files installed through the net, (IE downloads the files as it goes ala. Windows Update), registry entry, Customizable setup types, (IE Full, Minimal, Custom) and so fourth.

hope this helps

***edit***
Just thought about your subject title and couldn't figure out which autorun you were referring to, so here's how to do autorun on a cd.

Open notepad (on windows XP go Start>all programs>accessories>notepad) and type in something like this:

[autorun]
open=*your program.exe*
icon=*your icon.ico*

Just make sure the paths are correct (IE if you put open=test.exe then both autorun.inf and test.exe must be in the same folder. or open=somefolder\test.exe must be in a folder named somefolder and test.exe must be inside that folder.) and that you don't use the * * that I put around the names. Once you have all your paths correct, save the file as autorun.inf and put it in your cd's top level directory. If the first answer was what you were looking for, ignore this answer and vise versa.

Phrozin
Killswitch
22
Years of Service
User Offline
Joined: 2nd Oct 2002
Location: School damnit!! Let me go!! PLEASE!!!
Posted: 14th Feb 2004 13:51
Thanks alot

~I see one problem with your reasoning: The fact is that is a chicken~

Login to post a reply

Server time is: 2025-05-22 18:56:12
Your offset time is: 2025-05-22 18:56:12