05-23-2012 09:43 AM
Hi All,
My assignment (pre-employment test) is to duplicate the operation of Convert for Windows in LabVIEW. The Convert for Windows .exe opens with the Listbox settings of the previous execution (there is NO .ini). It is my understanding that EXEs can be configured to "remember" selected settings.
However, after many variously worded searches of the LabVIEW Forum, any related response says "not possible".
So, how do I build my EXE without an ini so it will remember my history cluster that contains category and in/out units Listbox settings?
And, if "not possible", why does Convert for Windows "seem" to "remember"?
ThanX Much.
Regards,
1LMR
Solved! Go to Solution.
05-23-2012 09:46 AM
Using registry settings instead?
05-23-2012 09:48 AM
I understand that you don't want a separate ini file. You can actually compiled the ini file into your exe, so that it is just one exe, and the ini is out of sight.
05-23-2012 09:49 AM
what do you mean by using registry setting? Can you give me a simple example?
05-23-2012 09:58 AM
I mean writing to and reading from Windows registry using the Windows Registry Access VIs.
There are examples shipped with LabVIEW.
05-23-2012 09:59 AM
05-23-2012 10:00 AM
All the tools you need are here:
(Look at the help. There are even shipping examples)
05-23-2012 10:05 AM
Thank you for the additional information. Your original "Using registry settings instead?" response turned my brain to mush, again.
ThanX Much!
Regards,
1LMR
05-23-2012 10:08 AM
05-23-2012 10:10 AM
Sorry, I was suggesting possible reasons for the "how do I build my EXE without an ini..." and "why does Convert for Windows "seem" to "remember"?" questions.