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 » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Accessing multiple MS-Outlook profiles with C# .net



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old December 12th 07, 02:50 PM posted to microsoft.public.outlook.program_addins
Amarendra
external usenet poster
 
Posts: 2
Default Accessing multiple MS-Outlook profiles with C# .net

I am trying to find out a way to access multiple MS-Outlook profiles/Accounts
from C#.net and Outlook object model.
Ads
  #2  
Old December 12th 07, 04:02 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Accessing multiple MS-Outlook profiles with C# .net

What do you mean by accessing multiple profiles?

Do you want to log into multiple profiles using code (only one Outlook
session can run at a time, you have to log off to be able to log into a new
profile), or do you want to read profile information from the registry?

There is a profile API available but you can only work with it using
Extended MAPI (C++ or Delphi only) or from ProfMan, a library that comes
with Redemption (www.dimastr.com/redemption).

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Amarendra" wrote in message
...
I am trying to find out a way to access multiple MS-Outlook
profiles/Accounts
from C#.net and Outlook object model.


  #3  
Old December 13th 07, 12:32 PM posted to microsoft.public.outlook.program_addins
Amarendra
external usenet poster
 
Posts: 2
Default Accessing multiple MS-Outlook profiles with C# .net

What i mean by "accessing multiple Profiles " means, let say MS-Outlook is
setup with 10 profiles and there will be 10 database respectively.
My program will be scheduled and it will access required messages details
from each of the 10 profiles and update database for respective profiles.

"Ken Slovak - [MVP - Outlook]" wrote:

What do you mean by accessing multiple profiles?

Do you want to log into multiple profiles using code (only one Outlook
session can run at a time, you have to log off to be able to log into a new
profile), or do you want to read profile information from the registry?

There is a profile API available but you can only work with it using
Extended MAPI (C++ or Delphi only) or from ProfMan, a library that comes
with Redemption (www.dimastr.com/redemption).

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Amarendra" wrote in message
...
I am trying to find out a way to access multiple MS-Outlook
profiles/Accounts
from C#.net and Outlook object model.



  #4  
Old December 13th 07, 02:43 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Accessing multiple MS-Outlook profiles with C# .net

You'd have to set the Mail applet in the Control Panel to prompt for a
profile on Outlook start and be there to select each profile in turn,
exiting and restarting Outlook each time you wanted to use a different
profile.

To be able to log into profiles one after another using a profile logon
you'd need to be using CDO 1.21 or Extended MAPI or a MAPI wrapper such as
Redemption (www.dimastr.com/redemption).

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Amarendra" wrote in message
...
What i mean by "accessing multiple Profiles " means, let say MS-Outlook is
setup with 10 profiles and there will be 10 database respectively.
My program will be scheduled and it will access required messages details
from each of the 10 profiles and update database for respective profiles.


 




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
Outlook 2k multiple profiles with password [email protected] Outlook - General Queries 1 October 22nd 07 04:09 PM
opening Outlook with multiple profiles Judith Outlook and VBA 5 December 21st 06 09:24 PM
Outlook 2003 Cached mode and accessing muliple profiles easily Nath Outlook - General Queries 3 October 4th 06 12:20 PM
multiple profiles combined to one outlook file crimedawg Outlook - Installation 0 August 30th 06 05:39 AM
Microsoft Outlook 2003 - Multiple Profiles randy Outlook - Installation 2 June 28th 06 01:50 PM


All times are GMT +1. The time now is 09:22 AM.


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.