I would do it by opening the application using OLE Automation and checking
the version information.
Try
xlApp = New Excel.Application()
MessageBox.Show("XL version is " & xlApp.Version)
Catch
MessageBox.Show("Excel is not installed, or I couldn't open it.")
Finally
xlApp.Close() 'I think it's close; it might be Quit
xlApp = Nothing
End Try
But feel free to muck around with the registry while you can. I think
that's a lot less likely to work in Vista with the clamped-down
permissions, although I haven't tried it yet.
Robin S.
Ts'i mahnu uterna ot twan ot geifur hingts uto.
-------------------------------------------------------------
"G .Net" <no********@email.comwrote in message
news:PZ******************************@pipex.net...
Hi Cor
I could generalise the question so that it isn't database specific e.g.
how can I find the version of Word on a client machine from code. I'd
prefer not to examine a file because that would mean implicitly creating
one and then testing it. Rather, I suspected, and an earlier post
suggested that it could be done via the registry?
G
"Cor Ligthert [MVP]" <no************@planet.nlwrote in message
news:%2****************@TK2MSFTNGP05.phx.gbl...
>G. Net
Are you sure you need the Access version. This is an office part and
versions you need for ineroperatability.
Most of us have used the Jet engine, which is/was free and is/was used
in Access as well.
Cor
"G .Net" <no********@email.comschreef in bericht
news:cO******************************@pipex.net.. .
>>Hi
How can I find which version of Access is installed on a computer from
within a vb.net application?
G