Is there any object like commondialog.showopen which lets me open many files at a time for manipulation . In simple words the functionality of ctrl + selecting a file.
Hi
You can try to use a ListBox. With a loop and the command DIR you can fill the listbox with the file names. After all you have to do is another loop:
private sub cmdOpen_Click()
dim iCount as integer
if lstfile.selcount=0 then
msgbox "You must select at least one file"
exit sub
end if
for icount = 0 to lstFile.ListCount-1
if lstfile.selected(icount) then
'Open the file....
end if
next icount
end sub Mal'chik
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.