Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Loading file at startup

Status
Not open for further replies.

dakkarin

Instructor
Nov 11, 2005
76
TR
Hi i have developed a program that designed to start at windows reboot(written the program executable to registry hklm->software-microsoft-windows-run)
and the program has to read a file when it started(the read file function included in program's constructor)
however if i execute the program by hand it works fine reads the file etc.. but if the program executed by windows at system reboot it doesnt read the file.
I think its a borland spesific question and wonder does anyone know anything about it?

Liars Do Not Fear The Truth If There Are Enough Liars
 
Just a thought, is it possible that the program is executing before some driver is loaded that allows the program to see other files?


James P. Cottingham
-----------------------------------------
[sup]I'm number 1,229!
I'm number 1,229![/sup]
 
it is possible but how can i know or change the order of programs at boot?
I mean it reads a csv(converted from excel) file but i dont know which order does it start?

Liars Do Not Fear The Truth If There Are Enough Liars
 
How are you running the program at reboot? Is it put into the registry or the startup folder?


James P. Cottingham
-----------------------------------------
[sup]I'm number 1,229!
I'm number 1,229![/sup]
 
I put the path of program into registry hklm\software\microsoft\windows\run

Liars Do Not Fear The Truth If There Are Enough Liars
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top