run at startup

Blitz3D Forums/Blitz3D Beginners Area/run at startup

mindstorms(Posted 2006) [#1]
Is there anyway for a program to atomatically run when you startup, I know that there is an option in many programs (like instant message, Nortan...) Is there a way to do this in Blitz?


t3K|Mac(Posted 2006) [#2]
autostart in startmenu. just place an appropriate icon in that drawer and there you go. or add an entry in the registry. or fiddle with services...


GfK(Posted 2006) [#3]
autostart in startmenu. just place an appropriate icon in that drawer and there you go. or add an entry in the registry. or fiddle with services...
That's a pretty useless reply. Almost as useless as this one, in fact.

Can you explain HOW you "add an entry in the registry", or "fiddle with services" from within Blitz to achieve what has been asked for??


Dreamora(Posted 2006) [#4]
That is pretty the simplest answer and a correct one!
Just add a link to the autostart folder in c:\user ....\all users\startmenu\autostart and it will run on each start up.
The easier way to get to that menu (especially as the part between c:\and \all users depends on the OS language!) is the start menu and then rightclick the autostart OR using something like InnoSetup that adds an entry on its own.


t3K|Mac(Posted 2006) [#5]
@fgk: it was a hint - not a complete solution...

here you have another *HINT*:
http://www.blitzbasic.com/Community/posts.php?topic=36864#404007

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run is your key... just add your entry (name and path) with the above userlib. but you should be familiar with regedit & registry.


mindstorms(Posted 2006) [#6]
Thanks everyone!