A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

yet another multiple profiles issue



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old March 3rd 06, 12:15 PM posted to microsoft.public.outlook.program_vba
Michael
external usenet poster
 
Posts: 10
Default yet another multiple profiles issue

Hi,

I use Outlook Object Model and Redemption to access calendar type
folders for different outlook profiles.
Next are the main steps that is use:
- Create an Outlook application object.
- Logon to a specific profile.
- Get the required calendar folder by folder ID and store ID.
- Do the work on the appointment items as needed.
- Logoff from the session.
- Perform cleaning (COM objects and so on).

Sometimes I need to do this several times, with different Outlook
profiles, some of them configured with Exchange.
Enerything works fine if the Outlook application is not started.
If the application is already started when I execute my code, I get an
error ("Your profile is not configured.") when I try to get the
calendar folder for an Exchange configured Outlook profile.

I assume this is caused by the session already opened by Outlook.
I tried to logon using the Session class from Redemption and all went
fine, even when Outlook was started. But the problem is that I need to
access all data from an appointment item and I cannot use only
Redemption objects to do this.

So, the main questions a
- Can I logon to a MAPI session using Redemption, and then using OOM
with that opened session to process appointment items?
- Is there another solution to the problem?

Thank you,
Michael

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail profiles clindell Outlook - Installation 3 March 7th 06 02:45 PM
Profiles Eric Lanyon Outlook - General Queries 3 February 14th 06 07:37 PM
User profiles Sim E Terry Outlook Express 3 January 30th 06 06:29 PM
Backup multiple profiles Chip Outlook - Installation 0 January 28th 06 05:36 PM
How do I have multiple profiles open an once matzkamis Outlook - Installation 5 January 26th 06 04:50 AM


All times are GMT +1. The time now is 08:56 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.