version check....

A

Aspro

Hi all,
I would like to detect the version of outlook automatically, an
suggestions?

The purpose is to create an application that exports contacts fro
outlook to another CRM-app. But to get to the contacts a dll or ol
must be loaded. This file depends on the version of outlook you use..


*help*

And
 
A

Aspro

.... maybe someone knows where to find the version of outlook using the
windows registry ...
 
K

Ken Slovak - [MVP - Outlook]

If Outlook is running then use Outlook.Application.Version. Outlook 2000 is
9, Outlook 2002 is 10 and Outlook 2003 is 11.

In the registry you can look at HKCU\Software\Microsoft\Office. If the user
has only installed 1 version of Office the installed version will be
indicated by a key under \Office that's 8.0 or 9.0 or 10.0 or 11.0 for
Outlook 97, 2000, 2002 or 2003. If there are more than 1 of those then the
user has updated a previous installation and you have to dig deeper to see
which is being used currently. Under each version key open the Outlook key
and in the current version you will find a string value named "MachineName".
See if that helps.
 
A

Aspro

Thank you for the info! I want to create an .ini - file so that when m
app starts it checks the registry for the version. If someone know
how to get started, that would be great! If I find it, I'll post i
anyway, seems usefull...

grt
 
A

Andy Sponik

I've created a dll in C++ in which I open the registry to find the
differt maildevices installed an a windows os. Then I've looked up
the version and returned the info to java. From within java I load a
dll (also made with C++) from which I can call severall functions that
allow me to fetch my contacts back to java. Finally the application
writes them in a MySQL database
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top