G
Guest
Greetings,
I'm trying to have an application resume after a reboot, by making an entry
into the Run registry key ("SOFTWARE\Microsoft\Windows\CurrentVersion\Run") .
This works great, and my application starts up after a successfull reboot.
However, my application needs to read a text file in the same directory as
the executable, and for some reason, it cannot access this file when the
program is started by the Run registry key. If I run the executable manually,
it can find the text file just fine. Is there a way to allow my application
to access other dependent files when being run in this manner? Any ideas
would be appreciated.
Thanks,
Peter
I'm trying to have an application resume after a reboot, by making an entry
into the Run registry key ("SOFTWARE\Microsoft\Windows\CurrentVersion\Run") .
This works great, and my application starts up after a successfull reboot.
However, my application needs to read a text file in the same directory as
the executable, and for some reason, it cannot access this file when the
program is started by the Run registry key. If I run the executable manually,
it can find the text file just fine. Is there a way to allow my application
to access other dependent files when being run in this manner? Any ideas
would be appreciated.
Thanks,
Peter