![]() |
| | #1 |
| csd@auth Join Date: Oct 2006 Location: Greece
Posts: 71
| how to make my program run on windows start up I ' ve searched a little and found a good way to do this is to write in registry at HKLM\Software\Microsoft\Windows\CurrentVersion\Run a key which name is your program name and has a value of your program's path. Do you know any function to access the registry? |
| kantze is offline | |
| | #2 |
| CSharpener Join Date: Oct 2006
Posts: 5,305
| why not to put shortcut to your program into Start/Programs/StartUp folder?
__________________ If I have eight hours for cutting wood, I spend six sharpening my axe. |
| vart is offline | |
| | #4 |
| Cat without Hat Join Date: Apr 2003
Posts: 8,492
| Reg*, and this should be on the Windows board.
__________________ All the buzzt! CornedBee"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code." - Flon's Law |
| CornedBee is offline | |
| | #5 |
| csd@auth Join Date: Oct 2006 Location: Greece
Posts: 71
| I don't want to do this manually. I want the program make it self run on windows start up. Puting it on the start up folder is the easiest way to do it manually but how can this happen programmaticly. |
| kantze is offline | |
| | #6 | |
| CSharpener Join Date: Oct 2006
Posts: 5,305
| Quote:
__________________ If I have eight hours for cutting wood, I spend six sharpening my axe. | |
| vart is offline | |
| | #7 |
| csd@auth Join Date: Oct 2006 Location: Greece
Posts: 71
| vart I don't use any installer! I'm experimenting on simple programs at the moment. I 'd like to make a program that calculate windows up time , how many hours a day i use my pc and other intersting stuff. |
| kantze is offline | |
| | #8 |
| Yes, my avatar is stolen Join Date: Dec 2002
Posts: 2,544
| |
| anonytmouse is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Adventures in labyrinth generation. | guesst | Game Programming | 8 | 10-12-2008 01:30 PM |
| Question.. | pode | Windows Programming | 12 | 12-19-2004 07:05 PM |
| Simple Windows Program - text? | Doagie | Windows Programming | 1 | 11-27-2004 02:21 AM |
| FlashWindowEx not declared? | Aidman | Windows Programming | 3 | 05-17-2003 02:58 AM |