PC Review


Reply
Thread Tools Rate Thread

How can I use VBA to determine where MSACCESS.exe is stored?

 
 
=?Utf-8?B?S2VuIEhpZ2dpbnM=?=
Guest
Posts: n/a
 
      19th Apr 2006
I would to find out how to do this under program control. This way, once the
location is determined, I can create commands that can use MSACCESS from the
command line. Any help of sample code would be appreciated.
 
Reply With Quote
 
 
 
 
Douglas J Steele
Guest
Posts: n/a
 
      19th Apr 2006
Syscmd(acSysCmdAccessDir)

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)


"Ken Higgins" <(E-Mail Removed)> wrote in message
news:A61887C0-DBDE-4A6C-8180-(E-Mail Removed)...
> I would to find out how to do this under program control. This way, once

the
> location is determined, I can create commands that can use MSACCESS from

the
> command line. Any help of sample code would be appreciated.



 
Reply With Quote
 
Larry Daugherty
Guest
Posts: n/a
 
      19th Apr 2006
Dig it out of the registry but be aware that you or your eventual
users may have more than one version of Access installed and therefore
registered.

David Aylott flogs a nifty utility named ACCVER that checks the
version of the target MDB/MDE and launches the correct version of
MSACCESS.EXE. It passes command line parameters to the executable.

HTH
--
-Larry-
--

"Ken Higgins" <(E-Mail Removed)> wrote in message
news:A61887C0-DBDE-4A6C-8180-(E-Mail Removed)...
> I would to find out how to do this under program control. This way,

once the
> location is determined, I can create commands that can use MSACCESS

from the
> command line. Any help of sample code would be appreciated.



 
Reply With Quote
 
Douglas J. Steele
Guest
Posts: n/a
 
      19th Apr 2006
You might also look at
http://www.openaccess.co.za/BlackAnd...cessOpener.htm

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no private e-mails, please)


"Larry Daugherty" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Dig it out of the registry but be aware that you or your eventual
> users may have more than one version of Access installed and therefore
> registered.
>
> David Aylott flogs a nifty utility named ACCVER that checks the
> version of the target MDB/MDE and launches the correct version of
> MSACCESS.EXE. It passes command line parameters to the executable.
>
> HTH
> --
> -Larry-
> --
>
> "Ken Higgins" <(E-Mail Removed)> wrote in message
> news:A61887C0-DBDE-4A6C-8180-(E-Mail Removed)...
>> I would to find out how to do this under program control. This way,

> once the
>> location is determined, I can create commands that can use MSACCESS

> from the
>> command line. Any help of sample code would be appreciated.

>
>



 
Reply With Quote
 
=?Utf-8?B?S2VuIEhpZ2dpbnM=?=
Guest
Posts: n/a
 
      22nd Apr 2006
Thanks Doug - I'll take a look at the other reference you gave in a
subsequent post.
This is a nice simple solution and I like those !

Regards,
Ken

"Douglas J Steele" wrote:

> Syscmd(acSysCmdAccessDir)
>
> --
> Doug Steele, Microsoft Access MVP
> http://I.Am/DougSteele
> (no e-mails, please!)
>
>
> "Ken Higgins" <(E-Mail Removed)> wrote in message
> news:A61887C0-DBDE-4A6C-8180-(E-Mail Removed)...
> > I would to find out how to do this under program control. This way, once

> the
> > location is determined, I can create commands that can use MSACCESS from

> the
> > command line. Any help of sample code would be appreciated.

>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
"The provider could not determine the Object value" when accessing MSAccess database with ASP.NETV1 Siegfried Heintze Microsoft ASP .NET 0 11th Nov 2005 05:55 AM
SQL Stored Procedures Criteria Reference to msAccess adp Form Olivier Microsoft Access ADP SQL Server 1 5th Aug 2005 07:40 AM
RE: Can Stored Procedures be made in MsAccess =?Utf-8?B?QXJ1biBDaG9wcmE=?= Microsoft Dot NET 0 8th Sep 2004 04:01 AM
Ho do I call Sqlserver stored procedures from MSAccess? =?Utf-8?B?amVzc2ll?= Microsoft Access VBA Modules 1 30th Aug 2004 07:36 AM
dataadapter insert command MSAccess 97 stored procedure - data truncated NancyASAP Microsoft ADO .NET 2 13th Apr 2004 07:03 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:23 PM.