accessman2
Registered User.
- Local time
- Yesterday, 23:58
- Joined
- Sep 15, 2005
- Messages
- 335
Hi,
Ans1:
MyShortcut.TargetPath = "C:\Program Files\Microsoft Office\Office10\Msaccess.exe "
Ans2:
MyShortcut.TargetPath = "C:\Program Files\..\Msaccess.exe "
The Ans1 works fine.
The Ans2 doesn't work.
I want to work the Ans2, because every user machine's Office path is different.
For example:
MyShortcut.TargetPath = "C:\Program Files\Microsoft Office\Office10\Msaccess.exe "
MyShortcut.TargetPath = "C:\Program Files\Microsoft Office\Office11\Msaccess.exe "
MyShortcut.TargetPath = "C:\Program Files\Microsoft Office\Office12\Msaccess.exe "
MyShortcut.TargetPath = "C:\Program Files\Microsoft Office\Office13\Msaccess.exe "
So, I want to create the link with the target
MyShortcut.TargetPath = "C:\Program Files\...\Msaccess.exe "
How can I do it?
Please let me know, thanks.
Ans1:
MyShortcut.TargetPath = "C:\Program Files\Microsoft Office\Office10\Msaccess.exe "
Ans2:
MyShortcut.TargetPath = "C:\Program Files\..\Msaccess.exe "
The Ans1 works fine.
The Ans2 doesn't work.
I want to work the Ans2, because every user machine's Office path is different.
For example:
MyShortcut.TargetPath = "C:\Program Files\Microsoft Office\Office10\Msaccess.exe "
MyShortcut.TargetPath = "C:\Program Files\Microsoft Office\Office11\Msaccess.exe "
MyShortcut.TargetPath = "C:\Program Files\Microsoft Office\Office12\Msaccess.exe "
MyShortcut.TargetPath = "C:\Program Files\Microsoft Office\Office13\Msaccess.exe "
So, I want to create the link with the target
MyShortcut.TargetPath = "C:\Program Files\...\Msaccess.exe "
How can I do it?
Please let me know, thanks.