Run a "link"

Cheetah

Well-known member
Joined
Oct 12, 2006
Messages
232
Programming Experience
Beginner
Hi there,

I want to "execute" a link from VB.NET

How would i do it?

Thanks.
 
What "link" would that be? In what context?
 
As in shortcut

"C:\shortcut.lnk"

Or even the open the file in its associated program (ie word document opens in word)

thanks!
 
VB.NET:
Process.Start([SIZE=2][COLOR=#800000]"C:\shortcut.lnk"[/COLOR][/SIZE][SIZE=2])
[/SIZE]

 
Never, "Shell" is a compability function for VB6 upgrades. Process class use shell execution environment by default.
 
Back
Top