Hi all, I have a problem that "How to open files from any particaular directory?" I mean just I wanna to press button then autometically will open all files from directory one by one, Thanks in Advance
Open files
Collapse
X
-
A couple of questions...Originally posted by shaifulHi all, I have a problem that "How to open files from any particaular directory?" I mean just I wanna to press button then autometically will open all files from directory one by one, Thanks in Advance- What version of VB?
- What do you mean exactly by "open"? Do you mean the same as if you selected them in Windows Explorer and hit "Open"?
-
Sorry, but I still want to pin down exactly what you mean by, in this case, "view". Can you please explain what you want to actually happen?Originally posted by shaifulHello, my VB 6.0
and open means just veiw the all files one by one from selected one directory, Thx very much.Comment
-
Ok Hi, Sorry for make u more Question. and many thx for attention. Actually I want to make a button on form and this will action after pressing that: i want want see my all files from directory c:\x\[ files .doc, .dwg, etc] will autometically display, I mean e;g: i can edit and read the .dwg files .... sorry again.Comment
-
Have a look at this thread - it explains how to use ShellExecute, which I think can start any type of file.Comment
-
Hi,Originally posted by shaifulHi all, I have a problem that "How to open files from any particaular directory?" I mean just I wanna to press button then autometically will open all files from directory one by one, Thanks in Advance
Use loop for opening all files and use this code for opening.
ShellExec("C:\t estfile.doc")
GOODLUCK
ALIComment
Comment