LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

what's that ini file for?

Highlighted
I notice that when I run a compiled executable the first time it creates an
ini file. But nothing in it. What is it for?
0 Kudos
Message 1 of 6
(1,359 Views)
Highlighted
Its the file the EXE uses for configuration information and stuff like that. They are usually empty, but there are some things that you can put in there that will affect how the exe runs. Like: hideRootWindow=True will hide that annoying extra task button in task bar in windows. Mine sometimes has some sort of color history information in it too.

Brian
0 Kudos
Message 2 of 6
(1,359 Views)
Highlighted
Hi,

Some additional questions come to mind;

How to get rid of it (if possible)?
How to distribute this file (with settings in it) when building an
installer?
Is there a list of options like 'hideRootWindow' and what each option means?

Thanks,

Wiebe.


"Brian Vibert" wrote in message
news:5065000000050000007F5B0000-1011517314000@exchange.ni.com...
> Its the file the EXE uses for configuration information and stuff like
> that. They are usually empty, but there are some things that you can
> put in there that will affect how the exe runs. Like:
> hideRootWindow=True will hide that annoying extra task button in task
> bar in windows. Mine sometimes has some sort of color history
> information in it too.
>
> Brian
0 Kudos
Message 3 of 6
(1,359 Views)
Highlighted
As far as I know there is no way to get rid of it. If you delete it the exe will just create a new one next time it runs.

Create a ini file with the correct name and include it as a support file, make sure the destination directory is the same as the exe.

I don't know if a list of options is available or not.
0 Kudos
Message 4 of 6
(1,359 Views)
Highlighted
"Brian Vibert" wrote in message
news:506500000005000000535C0000-1011517314000@exchange.ni.com...
> As far as I know there is no way to get rid of it. If you delete it
> the exe will just create a new one next time it runs.
>
> Create a ini file with the correct name and include it as a support
> file, make sure the destination directory is the same as the exe.
Thanks, this safes me some time checking!


> I don't know if a list of options is available or not.
0 Kudos
Message 6 of 6
(1,359 Views)
Highlighted
.
When you set the options in your application, they are stored in this ini file. For a list of documented and undocumented settings, see Brian Renken's LabVIEW pages at
http://labview.brianrenken.com/INI/
.


LabVIEW, C'est LabVIEW

Message 5 of 6
(1,359 Views)