?
Solved

Create Windows shortcut with /WrkGrp switch using VBA

Posted on 2009-02-12
6
Medium Priority
?
350 Views
Last Modified: 2012-06-27
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?
0
Comment
Question by:bejhan
  • 3
  • 2
6 Comments
 
LVL 75
ID: 23628526
Which link is outdated?  This link works:

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

mx
0
 
LVL 1

Author Comment

by:bejhan
ID: 23628536
Just noticed that the admin updated the link (in the actual solution the link is outdated).
0
 
LVL 1

Author Comment

by:bejhan
ID: 23628551
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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
LVL 75
ID: 23628567
ok.  what exactly are you needing to do?
0
 
LVL 85

Accepted Solution

by:
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 800 total points
ID: 23632294
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
 
LVL 1

Author Comment

by:bejhan
ID: 23661883
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

Featured Post

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

We live in a world of interfaces like the one in the title picture. VBA also allows to use interfaces which offers a lot of possibilities. This article describes how to use interfaces in VBA and how to work around their bugs.
If you’re using QODBC to update QuickBooks data from Microsoft® Access but Access is not showing the updated data, you could have set up QODBC incorrectly.
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question