| View previous topic :: View next topic |
| Author |
Message |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Mon Apr 05, 2004 8:32 pm Post subject: startup folder question |
|
|
hello all
When i was reading the other post..I thought of a question which is:
how do you stop people from removing a shortcut from the startup folder? is there a way to make a vds program to put a shortcut in the startup folder? i'am sure you can BUT i bet the vds program has to be run to do this how can you make it so it check to make sure its in the startup folder?
hard to explain what i'am asking
thanks _________________ Have a nice day  |
|
| Back to top |
|
 |
Hooligan VDS Developer


Joined: 28 Oct 2003 Posts: 480 Location: California
|
Posted: Mon Apr 05, 2004 9:24 pm Post subject: |
|
|
If you don't need to run minimized , you can run it from the registry: HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\run
Hooligan _________________ Hooligan
Why be normal? |
|
| Back to top |
|
 |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Mon Apr 05, 2004 9:27 pm Post subject: |
|
|
hummm
that would work any way to stop users from del it? _________________ Have a nice day  |
|
| Back to top |
|
 |
Hooligan VDS Developer


Joined: 28 Oct 2003 Posts: 480 Location: California
|
Posted: Mon Apr 05, 2004 9:59 pm Post subject: |
|
|
Unless they were proficient at the registry... Also on win9x/me they might find it with msconfig.exe, if they knew anything about it... _________________ Hooligan
Why be normal? |
|
| Back to top |
|
 |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Mon Apr 05, 2004 10:07 pm Post subject: |
|
|
yea i wish there was a way to lock it so it can't be deleted...hummmm _________________ Have a nice day  |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Mon Apr 05, 2004 11:49 pm Post subject: |
|
|
Maybe check and if it's deleted, add the value again. _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Mon Apr 05, 2004 11:55 pm Post subject: |
|
|
yes but the problem is to do that you would have to run the vds program..if they don't run the vds program for awhile then it won't beable to check....the reason why i'am asking is if someone makes a shareware s/w then could have a reminder that they have to register it...this could be a nice reminder every time they boot pc up  _________________ Have a nice day  |
|
| Back to top |
|
 |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Tue Apr 06, 2004 12:01 am Post subject: |
|
|
| Hooligan wrote: | If you don't need to run minimized , you can run it from the registry: HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\run
Hooligan |
humm i can't find that on a windows98 s.e machine? and is it the same for windows xp,etc?
thanks _________________ Have a nice day  |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Tue Apr 06, 2004 12:20 am Post subject: |
|
|
| tim6389 wrote: | the reason why i'am asking is if someone makes a shareware s/w then could have a reminder that they have to register it...this could be a nice reminder every time they boot pc up  |
People might not like such an idea, perhaps only have the reminder show
up when someone launches the program.  _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
Serge Professional Member


Joined: 04 Mar 2002 Posts: 1480 Location: Australia
|
Posted: Tue Apr 06, 2004 12:30 am Post subject: |
|
|
i agree with ff...run a program that sounds like a windows one so the user will not be too happy to stop it from running
the program you need to run you will need to write and does not have to be the real one...this program can check to see if it is set to run from the registry...if not, add the entry to the registry and run it
just a few lines of code should do the trick
the windows 98 se registry entry is: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run
serge _________________
|
|
| Back to top |
|
 |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Tue Apr 06, 2004 12:30 am Post subject: |
|
|
ahhhh good point F.F yea people i bet won't like it
however i just thought of a good trick to play on a friend of mine...heheheheh
(and no i won't be mean) just going to mess with him a bit...heheheh _________________ Have a nice day  |
|
| Back to top |
|
 |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Tue Apr 06, 2004 12:54 am Post subject: |
|
|
ok i got the reg write working..hehhhhehe
question tho how can i added it to the startup folder tho?
so if ya was going to start--> programs--> startup you will see it there?
thanks
p.s i know this can be done with a installer script but i don't want to uses a install script...how can i have vds copy it to the startup folder?
thanks _________________ Have a nice day  |
|
| Back to top |
|
 |
Serge Professional Member


Joined: 04 Mar 2002 Posts: 1480 Location: Australia
|
Posted: Tue Apr 06, 2004 1:04 am Post subject: |
|
|
tim,
if you add your program to the registry key in my post, then there is no need for you to do anything else as your program will run whenever windows is run...and your user will not see it listed in the startup folder
in others words, adding the entry to the registry key is all you need to do to have it run whenever windows is run
serge _________________
|
|
| Back to top |
|
 |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Tue Apr 06, 2004 1:08 am Post subject: |
|
|
Serge
yes i know this is all i needed BUT i'am going to play a joke on a friend of mine that is why i was asking about the startup folder
thanks _________________ Have a nice day  |
|
| Back to top |
|
 |
Serge Professional Member


Joined: 04 Mar 2002 Posts: 1480 Location: Australia
|
Posted: Tue Apr 06, 2004 1:46 am Post subject: |
|
|
hi tim,
ok...adding it to the startup folder is easy...the startup folder is under the windows folder on your hard disk...just add a link into that folder and he will be able to see it in his start-programs-startup
serge _________________
|
|
| Back to top |
|
 |
|