This code will allow you to double click the file in the listbox and save the name as a variable.
This code will allow you to double click the file in the listbox and save the name as a variable.
Rate This code will allow you to double click the file in the listbox and save the name as a variable.
(1(1 Vote))
dim listfile as string
private sub list1_dblclick()
'makes sure there is a file in the listbox
if listfile.list(list1.listindex) <>"" then
'puts it in a variable
listfile=list1.list(list1.listindex)
endif
end sub
This code will allow you to double click the file in the listbox and save the name as a variable. Comments
No comments yet — be the first to post one!
Post a Comment