We have detected that you are using an unsupported web browser. We recommend you to upgrade your web browser to get the most from UtterAccess forums.
Why should and how can I upgrade?
X   Site Message
(Message will auto close in 2 seconds)

Welcome Guest ( Log In | Register )

Reply to this topicStart new topic
> Copy To The Clipboard    
post Apr 4 2012, 02:41 PM
Post #1

UtterAccess Addict
Posts: 163

I am looking for some VBA for a button in an Access 2007 db that when clicked will copy a SHORTCUT icon from:
quot;P:\QMS DATABASES\Shortcuts"
the icon is the "Shortcut to Record Retention Schedule"
The user then can "paste" it anywhere the like.
Go to the top of the page
post Apr 4 2012, 02:55 PM
Post #2

UtterAccess Editor
Posts: 9,058
From: South coast, England

You could try:
FileCopy "P:\QMS DATABASES\Shortcuts\Shortcut to Record Retention Schedule.lnk", "SomePath\Shortcut to Record Retention Schedule.lnk"
Replacing 'SomePath' with the folder path where the user wants to save the shortcut.
Go to the top of the page

Thank you for your support! Reply to this topicStart new topic

Jump To Forum:

RSS Search  ·  Go to Top  ·  Lo-Fi Version Time is now: 28th November 2014 - 03:17 PM