By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,983 Members | 2,035 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,983 IT Pros & Developers. It's quick & easy.

how can i open a shortcut

P: 5
hi, how can open the shortcut link with VB6
Sep 3 '07 #1
Share this Question
Share on Google+
3 Replies


P: 5
my orangal file on Server , i need to open the Shorcut from my computer by uesing Pro.lnk which is Pro.exe in Server

thank
Sep 3 '07 #2

debasisdas
Expert 5K+
P: 8,127
try to use the following

Expand|Select|Wrap|Line Numbers
  1. Shell ("net use \\10.35.12.71\ /user:debasis debasis")
  2.  
  3. openexe = Shell("\\10.35.12.71\....\filename.exe", vbMaximizedFocus)
hope that solves your problem.
Sep 3 '07 #3

P: 5
hi again

if there a way to open the shortcut without uesd the IPAddress or Hostname
as
eg. Shell "C\Pro.Exe.lnk"
eg. Shell "C\Pro.lnk"

or only the way to opened must by IPAddress

thank again
Sep 3 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.