Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB6 and Outlook

Status
Not open for further replies.

dhaveedh

Programmer
Aug 13, 2003
112
GB
I have developed an application with VB6 which is used to send mails over the internet to my clients. MS Outlook 2000 is my default mail client and i have used MAPI.

We need to install the same application on my clients systems so that they can send responses back to me.

After installing, I found that the application could not work on one of the clients systems because they had an older version of Outlook installed which did not have the Outlook 2000 Object Library.

I have about 20 clients I need to install this application for and do not exactly know what versions of outlook they have.

Aside from using the very cumbersome late binding process, is there any way I can write some code to solve this problem?

KISS - Keep It Simple Sugar!
 
The only way to early-bind is to set a project reference to the lowest version of Outlook. This will work with later versions but there were substantial changes to the object model in 98 and 2000 so be careful your code will be supported by all versions targetted.

>>the very cumbersome late binding process<<

It's not that bad. I always late-bind when targetting multiple versions of Outlook.

Paul Bent
Northwind IT Systems
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top