I have built a "board" that plugs into the par port to control all the fans and pumps in my greenhouse.
The program works properly.
My Question is, for packaging and distrabution, how should I write the code to access my .ini file that holds the variables.
Right now I have it "hard coded" to MyDocuments\Controler\Controler.ini
But when using the packageing wizard it installs the .exe to "c:\Programs\controler
And I would like the .ini to go into the install directory.
How do I do that?
In advance, Thanks for the help.
The program works properly.
My Question is, for packaging and distrabution, how should I write the code to access my .ini file that holds the variables.
Right now I have it "hard coded" to MyDocuments\Controler\Controler.ini
But when using the packageing wizard it installs the .exe to "c:\Programs\controler
And I would like the .ini to go into the install directory.
How do I do that?
In advance, Thanks for the help.