C Cheetah Well-known member Joined Oct 12, 2006 Messages 232 Programming Experience Beginner Dec 17, 2006 #1 Hi there, I want to "execute" a link from VB.NET How would i do it? Thanks.
JohnH VB.NET Forum Moderator Staff member Joined Dec 17, 2005 Messages 15,808 Location Norway Programming Experience 10+ Dec 17, 2006 #2 What "link" would that be? In what context? Upvote 0 Downvote
C Cheetah Well-known member Joined Oct 12, 2006 Messages 232 Programming Experience Beginner Dec 17, 2006 #3 As in shortcut "C:\shortcut.lnk" Or even the open the file in its associated program (ie word document opens in word) thanks! Upvote 0 Downvote
As in shortcut "C:\shortcut.lnk" Or even the open the file in its associated program (ie word document opens in word) thanks!
JohnH VB.NET Forum Moderator Staff member Joined Dec 17, 2005 Messages 15,808 Location Norway Programming Experience 10+ Dec 17, 2006 #4 VB.NET: Process.Start([SIZE=2][COLOR=#800000]"C:\shortcut.lnk"[/COLOR][/SIZE][SIZE=2]) [/SIZE] Upvote 0 Downvote
C Cheetah Well-known member Joined Oct 12, 2006 Messages 232 Programming Experience Beginner Dec 18, 2006 #5 Thanks. So when should i specifically be usuing the "Shell" command. Upvote 0 Downvote
JohnH VB.NET Forum Moderator Staff member Joined Dec 17, 2005 Messages 15,808 Location Norway Programming Experience 10+ Dec 18, 2006 #6 Never, "Shell" is a compability function for VB6 upgrades. Process class use shell execution environment by default. Upvote 0 Downvote
Never, "Shell" is a compability function for VB6 upgrades. Process class use shell execution environment by default.