LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

exe settings history

Solved!
Go to solution

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

 

0 Kudos
Message 1 of 23
(3,502 Views)

Using registry settings instead?

0 Kudos
Message 2 of 23
(3,500 Views)

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.

------------------------------------------------------------------

Kudos and Accepted as Solution are welcome!
0 Kudos
Message 3 of 23
(3,492 Views)

what do you  mean by using registry setting?  Can you give me a simple example? 

------------------------------------------------------------------

Kudos and Accepted as Solution are welcome!
0 Kudos
Message 4 of 23
(3,495 Views)

I mean writing to and reading from Windows registry using the Windows Registry Access VIs.

 

There are examples shipped with LabVIEW.

 

undefined

0 Kudos
Message 5 of 23
(3,487 Views)

jyang72211,

 

Great!

 

ThanX.

 

I should have thought of trying to do that.

 

Regards,

1LMR

0 Kudos
Message 6 of 23
(3,479 Views)

All the tools you need are here:

 

Windows Registry Access VIs

 

(Look at the help. There are even shipping examples)

Message 7 of 23
(3,484 Views)

sebster,

 

Thank you for the additional information.  Your original "Using registry settings instead?" response turned my brain to mush, again.

 

ThanX Much!

 

Regards,

1LMR

 

0 Kudos
Message 8 of 23
(3,476 Views)

 

 

 

0 Kudos
Message 9 of 23
(3,476 Views)

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.

 

 

 

0 Kudos
Message 10 of 23
(3,470 Views)