![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
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 |
Ads |
#2
|
|||
|
|||
![]()
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. -- Sue Mosher, Outlook MVP Author of Microsoft Outlook Programming: Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "Jado" wrote: 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 |
#3
|
|||
|
|||
![]()
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 On Aug 8, 12:38*pm, "Jado" wrote: 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 |
#4
|
|||
|
|||
![]()
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 "JP" wrote in message ... 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 On Aug 8, 12:38 pm, "Jado" wrote: 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 |
#5
|
|||
|
|||
![]()
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 "JP" wrote in message ... 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 On Aug 8, 12:38 pm, "Jado" wrote: 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 |
#6
|
|||
|
|||
![]()
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 On Aug 11, 9:13*am, "Jado" wrote: 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. |
#7
|
|||
|
|||
![]()
"Jado" wrote:
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 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Outlook 2002 Internet Headers | MarkC | Outlook - General Queries | 2 | July 26th 07 04:36 AM |
Outlook 2002 with Comcast Cable Internet | Varnitta | Outlook - General Queries | 3 | December 8th 06 02:33 PM |
how do i change outlook 2003 back to regular mode from "safe mode | CCSMUDGE | Outlook - Installation | 0 | July 5th 06 02:26 AM |
Safe mode starts instantly, normal mode takes 5 minutes - why? | steve m | Outlook - General Queries | 3 | June 18th 06 01:37 AM |
Outlook 2000 internet mode, timed mail delivery | Lowell | Outlook - General Queries | 9 | June 5th 06 11:15 AM |