'Internet Only Mode' and Outlook 2002

J

Jado

Hi

We use OL2000 in 'Internet Only Mode' and have a lot of VBA Code for
sending emails from various accounts.

A new partner requires we use OL2002 to link in to their online system.

Currently we have installed just OL2002 which links successfully to our
partners system, but now none of the code works for our existing setup.

Can we install both versions of OL on the same PC at the same time and
manipulate them independently using their respective code libraries?

if so, how?

are there any other option we could consider?

Thanks

Jado
 
S

Sue Mosher [MVP-Outlook]

Only one version of Outlook can be installed on a machine. You might want to
consider getting a copy of VMWare or Virtual PC so that you can work with
different versions of Outlook.
 
J

JP

I believe you can only have one installation of Outlook at a time on a
single machine.

If necessary you might need to rewrite some of the OL2000 code to work
in XP.

--JP
 
J

Jado

Thanks for the replies both,

VMware isn't practical for this solution so updating the code seem to be the
only way forward.

Our present code is used for checking the correct email account is set as
default. and compiling and sending a dynamic email using .HTMLbody

we have code for outlook 2000 to achieve 4 main objectives

1. Checking the correct email account is set as default.
2. Compiling and sending a dynamic email using .HTMLbody
3. Send standard emails using Templates (.oft file).
4. Checking for new emails from the default account and reading From,
Subject and Body text into Access 97.

Is all of the above achievable in OL2002?

We chose 'Internet Only Mode' over Profiles for OL2000 and I'm sure the
coding is quite different.

if the above objectives are achievable using OL2002, could you give some
example code to help me understand the differences?

Thanks

Jado


I believe you can only have one installation of Outlook at a time on a
single machine.

If necessary you might need to rewrite some of the OL2000 code to work
in XP.

--JP
 
J

Jado

Sorry!

Here's some opening code we use..

Dim db As DAO.Database
Dim rst As DAO.Recordset
Dim objOL As Outlook.Application
Dim OLcompare As String
Dim compareResult As Integer

Set db = CurrentDb
Set rst = db.OpenRecordset("Project Properties")


Set objOL = New Outlook.Application

'get account e-mail address from Outlook
OLcompare = objOL.GetNamespace("MAPI").CurrentUser.Address

compareResult = StrComp(OLcompare, rst![OutlookAccount])

If compareResult <> 0 Then
msgbox "You do not have the correct outlook account set is default.
Please review settings."
End If
.......code continues

I believe you can only have one installation of Outlook at a time on a
single machine.

If necessary you might need to rewrite some of the OL2000 code to work
in XP.

--JP
 
J

JP

I'm confused, because I don't see anything in your code that wouldn't
work in OL 2002. Are you actually trying to implement the OL 2000 code
in OL 2002 and it is breaking, or are you just trying to find out
beforehand if any of it won't work in 2002?

--JP
 
C

Chris O''''Neill

Jado said:
We use OL2000 in 'Internet Only Mode' and have a lot of VBA Code for
sending emails from various accounts.

A new partner requires we use OL2002 to link in to their online system.

Currently we have installed just OL2002 which links successfully to our
partners system, but now none of the code works for our existing setup.

What doesn't work? What kind of error messages are you getting, if any? Is
the "problem" located on the PC that has OL2002 installed, or on one or more
OL2000 machines?

It would be helpful if you could be more specific regarding what's happening
(or not happening). The more info you can provide, the better the answers
you'll get.

Regards, Chris
 

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