Shell link (desktop shortcuts)

J

JB

I am working on a secure database and I need to write a minimal installer
that does little more than create a desktop shortcut and initialize the
settings to the current version of Access. Can anyone direct me to some
sample code for doing this?
 
D

Douglas J. Steele

A shortcut is simply a file (with an extension of .lnk, although that
extension doesn't get shown in Windows Explorer), so you could just create
it and copy it.

Alternatively, if you don't care about the icon, take a look at my May, 2004
"Access Answers" column for Pinnacle Publication's "Smart Access". You can
download the column (and sample database) for free at
http://www.accessmvp.com/DJSteele/SmartAccess.html
 
J

JB

Thanks for the reply. I will take a look at your html. I can't just copy a
shortcut to each workstation because security requries the full path of
Access when using security which varies from machine to machine. Starting
with a shortcut file will probably be easier than creating one from scratch,
however.
 
A

Albert D.Kallal

JB said:
Thanks for the reply. I will take a look at your html. I can't just copy
a
shortcut to each workstation because security requries the full path of
Access when using security which varies from machine to machine. Starting
with a shortcut file will probably be easier than creating one from
scratch,
however.

Why would the path to the workgroup security file change on each machine???

The security workgroup file is likely in the same location as the data file
(on the server).

You place a mde on each workstation...and link to the back end tables. Your
workgroup should be ONE workgroup file, and that also goes on the server
side.

You are running a split database...right?
 
Top