Re: Shortcut
From: Paul Overway (paul_at_I.hate.spam.logico-solutions.com)
Date: 02/17/05
- Next message: Shobha: "Re: How to impose security on access database"
- Previous message: VBA Dabbler: "Re: Shortcut"
- In reply to: VBA Dabbler: "Re: Shortcut"
- Next in thread: VBA Dabbler: "Re: Shortcut"
- Reply: VBA Dabbler: "Re: Shortcut"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 17 Feb 2005 11:57:50 -0500
No API calls required, just instantiate the Access application object you
require and use SysCmd(9) to determine the install dir. Alternatively,
there is some sample VB Script with a white paper on installing Access apps
at site below under Extras...the script can be used to obtain the path from
the registry.
-- Paul Overway Logico Solutions http://www.logico-solutions.com "VBA Dabbler" <VBADabbler@discussions.microsoft.com> wrote in message news:4636CA99-7C3B-4C2E-8F99-5BE8C037EA55@microsoft.com... > Good suggestion. Although, I do have limitations on a corporate network, > I > can make adjustments in the directory structure (below a base directory) > and > also with the database and workgroup file names. > > More than anything else, I'm most challenged with the plethora of > potential > paths to the 'MSACCESS.EXE' file. Any suggestions for a Windows API call > would be most appreciated. > > Regards, > VBA Dabbler > > "Paul Overway" wrote: > >> Ideally, you should try to shorten your UNC paths. Performance will >> suffer >> with long UNC paths anyway. Try to get your app at the root of the >> share. >> With shorter paths, I suspect you wouldn't have the issue with the target >> edit box. >> >> -- >> Paul Overway >> Logico Solutions >> http://www.logico-solutions.com >> >> >> "VBA Dabbler" <VBADabbler@discussions.microsoft.com> wrote in message >> news:84E0A3A1-6D23-4862-8942-EF83E8EBECF2@microsoft.com... >> >I have a secured .mdb on a network server with a shortcut setup on the >> >server >> > as follows in the target: >> > >> > "path to MSACCESS.EXE" "path to database file" /WRKGRP "path to >> > workgroup >> > file" >> > >> > I'm at the limit of the characters in the Target editbox, and need to >> > replace the drive letter reference with '\\servername\spacepath\' for >> > the >> > database file and workgroup file. >> > >> > My questions are: >> > >> > 1. Short of shortening my paths and file names, how can I make it >> > fit? >> > Can I set and use variables? >> > 2. Is there a way to bring the application path in for all local >> > machine >> > installations? (Depending on desktop support's choice of installation >> > path, >> > and for different versions of Access.) >> > >> > Thanks, >> > VBA Dabbler >> >> >>
- Next message: Shobha: "Re: How to impose security on access database"
- Previous message: VBA Dabbler: "Re: Shortcut"
- In reply to: VBA Dabbler: "Re: Shortcut"
- Next in thread: VBA Dabbler: "Re: Shortcut"
- Reply: VBA Dabbler: "Re: Shortcut"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|