Carousel Posted January 31, 2006 Share Posted January 31, 2006 Hello, I'm a newbbie on this Forum and I don't speak good English, thanks for your comprehension. I've create a small programm with an au3 extention and a ini file for parameters.. And now I must give my programm to another people. My question is : How do for the programm return me the complet path of the au3 file ?? While the problem is when another people don't place files in the same orders that me, it wouldn't work. Do you know what I would say ? Thanks Link to comment Share on other sites More sharing options...
blckbrd Posted January 31, 2006 Share Posted January 31, 2006 Hello,I'm a newbbie on this Forum and I don't speak good English, thanks for your comprehension.I've create a small programm with an au3 extention and a ini file for parameters.. And now I must give my programm to another people.My question is :How do for the programm return me the complet path of the au3 file ?? While the problem is when another people don't place files in the same orders that me, it wouldn't work.Do you know what I would say ?ThanksIs this what you are looking for?MsgBox(1,"Workingdir",@WorkingDir) Link to comment Share on other sites More sharing options...
Nuffilein805 Posted January 31, 2006 Share Posted January 31, 2006 just do iniread("my.ini", ...) instead of iniread("c:\...\my.ini", ...) then copy your ini to your script-folder and everything is fine my little chatmy little encryption toolmy little hidermy unsafe clickbot Link to comment Share on other sites More sharing options...
Carousel Posted January 31, 2006 Author Share Posted January 31, 2006 just do iniread("my.ini", ...) instead of iniread("c:\...\my.ini", ...) then copy your ini to your script-folder and everything is fine Ok thanks it works. :-) Link to comment Share on other sites More sharing options...
=sinister= Posted January 31, 2006 Share Posted January 31, 2006 by the way, this belongs in the support forum. Link to comment Share on other sites More sharing options...
Nuffilein805 Posted January 31, 2006 Share Posted January 31, 2006 glad i could help btw what is your prog doing? my little chatmy little encryption toolmy little hidermy unsafe clickbot Link to comment Share on other sites More sharing options...
Carousel Posted February 1, 2006 Author Share Posted February 1, 2006 My prog is for delete database, and I must choose the date with a small calendar when I would delete it. It isn't a very big programm.. But I've a another question : How do to create a ini file when I configure the programm. For exemple, I start the programm, go in parameters, make my configuration, and then I would that I accept my configuration, It create automaticly a *.ini file. Do you see ?? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now