_SourceFolder is giving me a temp folder under the document and settings under the current users, not the actually folder that I ran the program from????? How can I get the program that I actaully ran the application from?
Professional Software Development Tools
_SourceFolder is giving me a temp folder under the document and settings under the current users, not the actually folder that I ran the program from????? How can I get the program that I actaully ran the application from?
Hi. That is the folder where your program is running from. For example if you are publishing to a single file compressed .exe, it will extract to a folder first and then run from there... Hope that helps.
Any way I can get the location that the orginal exe opened from? I am trying to save a INI file that I can load settings from later on. I dont want to put in a Hard path, I was hoping to just put it in the same place as the exe. A temp folder might not be there next time the application goes to run.
I think u built using the (compressed exe) option,that option normally run the autoplay.exe from the temp folder.
Try to put it in the (doc folder in the resource section0
Just drag & deop the file into the resource viewer
Sorry (Corey) I didn't know that u posted before me![]()
Thank you Kind Sir, that was totally my problem.
I will be saving stuff into the ini file during runtime and later recalling them. Thanks for the help.
Thanks for the help aelsharawi.
Hi Jason. Simply write persistent values to the registry using the registry actions:
http://www.indigorose.com/webhelp/am...t.htm#Registry
I was thinking of that, but user might not have rights to registryI changed my build option and that had done the trick for me.
Perfect!![]()