Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Code Changes / to \

Status
Not open for further replies.

emergencyplan

Technical User
Aug 19, 2003
34
GB
Hello,

I am continuing to have problems creating a desktop shortcut, the following code works to the point of /WRKGROUP, however when the shortcut is created on the desktop it appears as \WRKGROUP. Therefore rendering the shortcut useless, any ideas? Code as follows.

objShortCut.TargetPath = "C:\Program Files\Microsoft Office\Office\MSACCESS.EXE" & """" & " " & """" & "E:\My Documents\Access\Emerg Staff Contacts\Emerg Staff Original.mdb" & """" & " " & "/WRKGRP" & " " & " " & """" & "E:\My Documents\Access\Emerg Staff Contacts\Secured.mdw"

Many thanks,

LA
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top