Create Windows shortcut with /WrkGrp switch using VBA

This question has already been discussed here:
http://www.experts-exchange.com/Microsoft/Development/MS_Access/Q_21239762.html

But the solution involves refers to this page http://www.pacificdb.com.au/Support/code_shortcuts.htm
(link on there is outdated).

This involves having another file around all the time. Isn't there some other simpler way to do this?
LVL 1
bejhanAsked:
Who is Participating?
 
Scott McDaniel (Microsoft Access MVP - EE MVE )Connect With a Mentor Infotrakker SoftwareCommented:
This is VB code, but with the correct references (or Late Binding) it will work in Access also:

http://www.windowsdevcenter.com/pub/a/windows/2004/04/13/VB_Shortcuts.html
0
 
DatabaseMX (Joe Anderson - Microsoft Access MVP)Database ArchitectCommented:
Which link is outdated?  This link works:

http://www.pacificdb.com.au/Support/code_shortcuts.htm

mx
0
 
bejhanAuthor Commented:
Just noticed that the admin updated the link (in the actual solution the link is outdated).
0
Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

 
bejhanAuthor Commented:
Just to clarify, I was able to see the page. I just don't like the solution provided (because ShellLnk.tlb is required to be around).
0
 
DatabaseMX (Joe Anderson - Microsoft Access MVP)Database ArchitectCommented:
ok.  what exactly are you needing to do?
0
 
bejhanAuthor Commented:
The question asker here (http://www.experts-exchange.com/Microsoft/Development/MS_Access/Q_21239762.html) was using that method, he was having a problem with the /wrkgrp being changes to \wrkgrp. The arguments property solves this problem though.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.