Link to home
Start Free TrialLog in
Avatar of c9k9h
c9k9h

asked on

How to open target file from form

Hello,

I have A program which contains a combo box that has a value which is a link to a local file. I want the user to be able to open this file when they click a button.

Previously I have done this in VBA using Application.FollowHyperlink Me.txtAuth. Is there a way to do this in VB.NET?

The target file is a .TIF I've read a bit on using a file browser to complete this but I want it to open the file selected on the form, rather than browsing for it.

Thanks in Advance!
ASKER CERTIFIED SOLUTION
Avatar of c9k9h
c9k9h

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Mike Tomlinson
...or simply:

    Process.Start(Me.cboForm.SelectedValue)