How to: Open ANY file JUST LIKE Windows Explorer?
I want to open ANY file in Visual Basic JUST LIKE it would open in Windows Explorer... and I want that file to just open directly with nothing in the way...
I tried:
>
Path = "C:\some_file." 'change this to whatever path and/or file you want
Call Shell("C:\WINNT\Explorer " + Path) 'WINNT because I have Windows 2000
<
->This code works except it opens an Open/Save box and I don't want that.
Also this code:
>
Call Shell("C:\Program Files\Internet Explorer\IEXPLORE.EXE")
<
Works also but only for .exe files...
|