LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

File delete

Solved!
Go to solution

Hello everyone,

 

         In my vi i have used write to spreadsheet and read from spreadsheet to create a file or edit file. Now i would like to add one more feature i.e delete a file.

 

Requirement:  I should have a combo box where list of files whatever i have is listed out. i will be keeping a button named delete. when i press delete button, file selected in combo box must be deleted.

 

How can I do that? any idea? 

Thanking you,
Sushmith
0 Kudos
Message 1 of 3
(4,017 Views)

This was created by me long ago.

 

it will need some modifications.

0 Kudos
Message 2 of 3
(4,006 Views)
Solution
Accepted by topic author sushmith_ks

Attached something to get you started. If you have any questions or concerns regarding this feel free to ask 🙂 In this example is simply listed contents of a folder and stored paths and filenames in a key-value pair (by bundling) and added them as an options to combo box. When "delete" button is pressed, event fires and deletes selected file.

0 Kudos
Message 3 of 3
(3,999 Views)