Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 11 of 11
  1. #1
    Join Date
    Jan 2002
    Location
    Nashville TN
    Posts
    328

    Huh? _SourceFolder ???

    _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?

  2. #2
    Corey is offline Indigo Rose Staff Alumni
    Join Date
    Aug 2002
    Posts
    9,746
    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.

  3. #3
    Join Date
    Jan 2002
    Location
    Nashville TN
    Posts
    328
    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.

  4. #4
    Join Date
    Nov 2003
    Location
    Egypt
    Posts
    10
    I think u built using the (compressed exe) option,that option normally run the autoplay.exe from the temp folder.

  5. #5
    Join Date
    Nov 2003
    Location
    Egypt
    Posts
    10
    Try to put it in the (doc folder in the resource section0

    Just drag & deop the file into the resource viewer

  6. #6
    Join Date
    Nov 2003
    Location
    Egypt
    Posts
    10
    Sorry (Corey) I didn't know that u posted before me

  7. #7
    Join Date
    Jan 2002
    Location
    Nashville TN
    Posts
    328
    Thank you Kind Sir, that was totally my problem.

  8. #8
    Join Date
    Jan 2002
    Location
    Nashville TN
    Posts
    328
    I will be saving stuff into the ini file during runtime and later recalling them. Thanks for the help.

  9. #9
    Corey is offline Indigo Rose Staff Alumni
    Join Date
    Aug 2002
    Posts
    9,746
    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

  10. #10
    Join Date
    Jan 2002
    Location
    Nashville TN
    Posts
    328
    I was thinking of that, but user might not have rights to registry I changed my build option and that had done the trick for me.

  11. #11
    Corey is offline Indigo Rose Staff Alumni
    Join Date
    Aug 2002
    Posts
    9,746
    Perfect!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts