LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Prompts for save chages even if it is an EXE

Hi All

 

I have a program which I made into an exe but when the program closes the front panel to exit, it will prompt to "Save changes". 

 

Some items on the panel are repositioned when it is running and I do not need to save the changes.  But I dont understand why it will ask this even if the program is turned into an EXE

 

Any ideas on how to stop the "save changes" prompt from comming up?

 

 

0 Kudos
Message 1 of 3
(2,264 Views)

I haven't tried this but try adding a revert vi method in your clean-up/shut down code since you don't want to save the changes anyway- tossing em out seams sensible.

Whoops revert method won't work(not available in run-time not writable while running)

 

Hmmmm....


"Should be" isn't "Is" -Jay
0 Kudos
Message 2 of 3
(2,258 Views)

try adding "readOnlyLock=TRUE" withoiut quotes in the executables .ini file and make the vi read only


"Should be" isn't "Is" -Jay
0 Kudos
Message 3 of 3
(2,255 Views)