• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 187
  • Last Modified:

Open Files

I want to make an app that when you click a button it will open a specific file in its appropriate program (Word, Excel, etc.).  I cant do this with a web browser on a form because of multiple security settings
0
qkid
Asked:
qkid
1 Solution
 
TimCotteeCommented:
Hi qkid,

You need to use the ShellExecute API call:

http://www.vb-helper.com/howto_shellexecute.html

Explains it in plenty of detail

Tim Cottee
0
 
Shiju SasidharanCommented:

yes,  TimCottee  has given exact link
    to open a url u can try this

      Call ShellExecute(hWnd, "open", "http://www.experts-exchange.com", vbNullString, vbNullString, 3)
;-)
Shiju
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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