LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a FileSavePopup?

Is there a Popup for creating a new file?

I am using an FTP client to get a file from the server and copy it to the client PC.

I want the operator to choose the directory path and the new file name for the transfer.

 

FileSelectPopup() works going the other way because the file already exists.

 

Thanks.

0 Kudos
Message 1 of 3
(3,148 Views)
FileSelectPopup() will work, change the Button Label to Save [VAL_SAVE_BUTTON].  This will allow you to select files that do not exist yet. 
Message Edited by mvr on 07-06-2009 03:46 PM
0 Kudos
Message 2 of 3
(3,141 Views)
To be more precise, "Select" and "Load" will halt on error if you just type in a non-existing filename, "Ok" and "Select" won't (they will either return VAL_EXISTING_FILE_SELECTED or VAL_NEW_FILE_SELECTED depending on whether the file actually exists or not in the pointed directory).


Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 3 of 3
(3,123 Views)