Re: Can VB6 tell if full MSAccess is installed or Runtime

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



My vb6 loader program shells a command line to open my mde. I did not know
whether I needed to include a '/RUNTIME' if they only have a run-time version
of Access. I was not sure if I would be able to find the path to the Run
time version of Access. I was posting this question prior to going to
customer site where some of their staff have run time versions of Access and
some of them have full versions.

Since then, I have visited customer's site. Apparantly I do not need to deal
with this issue at all. The loader does not need to do anything different.

Thanks,
Christine

"Douglas J. Steele" wrote:

Why do you care? Knowing that, we might be able to suggest a check.

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


"ctyrrell@xxxxxxxxxxx" <ctyrrellstnyrrcom@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote
in message news:B7100F85-D2B5-4971-8514-740B3B6E14B9@xxxxxxxxxxxxxxxx
Hi Norm,
Thanks for responding.

I think that your code would behave the same whether the run-time or the
complete Access was installed. I'm not sure. I have full Access installed
on
my computers. So I can't test it at this time.

Does anyone know if it would get different results on a PC that only had
the
run-time version of Access on it?

I will be going to a customer site next week. I believe that some of their
computers might have a run-time version installed. If so, I will try to
check
out your code on their PC and see what happens.

Thanks,
Christine

"Norm Cook" wrote:

"ctyrrell@xxxxxxxxxxx" <ctyrrellstnyrrcom@xxxxxxxxxxxxxxxxxxxxxxxxx>
wrote
in message news:6EA3AAE9-8102-40EE-AA16-6461D1C4BC2A@xxxxxxxxxxxxxxxx
William, I am asking if my vb program can detect whether there is a
full
version of Access installed or whether there is only a 'Run-time'
version
installed. My vb program will do different things depending on what
Access
environment it finds. it will not try to install Access.

I may be missing the point, but it looks like some simple
error checking might be in order:

Function AccessInstalled() As Boolean
Dim Obj As Object
Set Obj = CreateObject("Access.Application")
AccessInstalled = Not (Obj Is Nothing)
End Function






.



Relevant Pages

  • Re: Sendmail with sasl2 build fails. *FIX*
    ... > I've checked the mailing lists and it appears that this has been a ... > # make clean ... > # make install ... > # make obj ...
    (freebsd-questions)
  • Re: Runtime and MDAC problem
    ... this incident to Dublin ... ... (where the experts in "deployment" are, ... (Removal of Runtime2K and new install several times done at customer site) ... > and then try install anew. ...
    (microsoft.public.access.developers.toolkitode)
  • Sendmail with sasl2 build fails.
    ... I've checked the mailing lists and it appears that this has been a ... # make clean ... # make install ... # make obj ...
    (freebsd-questions)
  • Re: Can VB6 tell if full MSAccess is installed or Runtime
    ... (no private e-mails, please) ... computers might have a run-time version installed. ... it will not try to install Access. ... Dim Obj As Object ...
    (microsoft.public.vb.database)
  • Re: Can VB6 tell if full MSAccess is installed or Runtime
    ... My VB app uses MS Access for some reporting needs. ... computers might have a run-time version installed. ... it will not try to install Access. ... Dim Obj As Object ...
    (microsoft.public.vb.database)