Simon Chen
asked on
VB open file
I am designing a program in VB, I have saved the file path in the database, how can I set when I click open file ,it can pop up the software which can open the file.
example, I saved a avi movie file path in the database, when I click open/browsing, it will auto detect the file format and pop up media player and play this movie.
Thanks
example, I saved a avi movie file path in the database, when I click open/browsing, it will auto detect the file format and pop up media player and play this movie.
Thanks
If you do Shell("your file name") it will open the assigned application.
ASKER
such like my file in c:\movie\demo.avi
then: shell("c:\movie\demo.avi") . is it right?
then: shell("c:\movie\demo.avi")
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.