[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 117
  • Last Modified:

Open file in application

How can I open a file in a particular application that is not the windows default for that application (vb5)?  ie: a text file in wordpad.
0
Lee5
Asked:
Lee5
  • 2
1 Solution
 
VBGuruCommented:
Select the file press shift and right click on that file. Select the open with.. option and open in the specified application
0
 
VBGuruCommented:
if you want programatical open the file in wordpad use the shell command with tha argument being the file path:
shell("wordpad c:\autoexec.bat")
0

Featured Post

Learn to develop an Android App

Want to increase your earning potential in 2018? Pad your resume with app building experience. Learn how with this hands-on course.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now