Re: How to retrieve ms access database full information version




"Dedalus" <ulysse@xxxxxxxx> wrote in message
news:d645ae08-6525-45e4-8f18-4a24b79f06a6@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi at all.
I want to retrieve the full version information from a access database
via vb6 codes, similar "Select @@version" in Sql server from obtening
also the information relative to service pack number applied.
Thanks.
Ciao.

Your question was somewhat misleading, but understandable. MSAccess is a
separate Front-End Applications which uses Jet to access a MDB formatted
file. ie, while SQL Server IS the database, MSAccess is a Office product.
All that is important to a data access library and provider is what version
of Jet format the mdb file is using.

To get the information you want you will have to go two routes.
One, read the registery entries. Which means seeking out the
"Access.Application" PID and then back-tracking it through the installed
components.
The other is using SysCmd which I have used successfully on occasion.
http://www.everythingaccess.com/tutorials.asp?ID=Undocumented-SysCmd-Functions

But note just as the author states - this is a *hack*. It has occasionally
failed for no clear reason. <g>

There is another more direct way using the Object Model, but I don't have
the MS Access OLE Automation Guide handy. The SysCmd is a bit better than
the Automation version as IIRC the object model doesn't return all the
details such as SPs. <?> But I could be wrong. You might try one of the
Access newsgroups. I'm sure someone there can help.

hth
-ralph


.



Relevant Pages

  • Re: How to retrieve ms access database full information version
    ... I want to retrieve the full version information from a access database ... ie, while SQL Server IS the database, MSAccess is a Office product. ... There is another more direct way using the Object Model, ... the MS Access OLE Automation Guide handy. ...
    (microsoft.public.vb.com)
  • Re: tool to re-reference forms after usizing?
    ... Speed Ferret (which I hate to admit that I've never been able to get to ... tblCustomerAddress, remember that changing tblCustomer to something else ... >>> I am in the process of upsizing an access database to sql server. ...
    (microsoft.public.access.conversion)
  • Re: ODBC parameters and system resources
    ... Install MSDE or use an existing SQL Server. ... I connect to an Access database of about 500MB in size. ... there is the "Not enough space on temporary disk". ... What can a "System resource" be apart from disk space and RAM? ...
    (comp.databases.ms-access)
  • Re: Migrating away from MS-Access
    ... Ive just stepped into a role to migrate an access database to VB.Net. ... At some stage we have to migrate the access backend to SQL Server. ... A dot-net front end with an MDB file back end is the worst of all worlds. ...
    (comp.databases.ms-access)
  • RE: ODBCDirect Workspace
    ... successfully ported my tables to SQL Server and have created an Access ... Are you using one Access database to work inside of another Access database? ... Dim strSql As String ... However if you are going to be using this query again to populate the combo ...
    (microsoft.public.access.modulesdaovba)