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

Hide the choose profile dialog using Redemption.ProfMan



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old November 28th 07, 05:37 AM posted to microsoft.public.outlook.program_vba
MA[_2_]
external usenet poster
 
Posts: 47
Default Hide the choose profile dialog using Redemption.ProfMan

Hi,

I am reviewing the Redemption.ProfMan library which lets you to
manipulate the Mapi. I can access the provider name, etc.

Everytime I call the following line to initialize the
Outlook.ApplicationClass which display the Outlook choose profile
dialog.

---------------------------------
- Outlook.ApplicationClass olApp = new Outlook.ApplicationClass();
olNameSpace = olApp.GetNamespace("MAPI");
---------------------------------

Can I automate the process by selecting a profile and continue with
the ApplicationClass? Basically I want to hide the Outlook choose
profile dialog. Is it possible?

Thanks in advance for your suggestions.

Regards,
MA
Ads
  #2  
Old November 28th 07, 07:35 PM posted to microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default Hide the choose profile dialog using Redemption.ProfMan

Do you mean you see teh profile selection dialog when you call GetNamespace
or Namespace.Logon? In the latter case you can explciitly specify the name
of the profile and no profile selection dialog will be displayed.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"MA" wrote in message
...
Hi,

I am reviewing the Redemption.ProfMan library which lets you to
manipulate the Mapi. I can access the provider name, etc.

Everytime I call the following line to initialize the
Outlook.ApplicationClass which display the Outlook choose profile
dialog.

---------------------------------
- Outlook.ApplicationClass olApp = new Outlook.ApplicationClass();
olNameSpace = olApp.GetNamespace("MAPI");
---------------------------------

Can I automate the process by selecting a profile and continue with
the ApplicationClass? Basically I want to hide the Outlook choose
profile dialog. Is it possible?

Thanks in advance for your suggestions.

Regards,
MA



 




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 2k7 prompts for Choose Profile on Send Terry Bridges Outlook - Installation 0 November 20th 07 05:36 PM
ProfMan.dll & Scripting zloc Outlook - Installation 4 April 28th 07 02:14 PM
always hide this dialog box Lynn Outlook - General Queries 5 August 26th 06 04:15 PM
"Choose Contact" versus "Check Name" Dialog Box Jason Outlook - Using Contacts 5 July 12th 06 07:33 PM
Choose Sender Sawlmgsj Outlook - Installation 2 May 2nd 06 08:30 AM


All times are GMT +1. The time now is 12:49 PM.


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