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

Display (not set) default mail account



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old May 31st 06, 09:30 AM posted to microsoft.public.outlook.program_vba
Mark Tangard
external usenet poster
 
Posts: 2
Default Display (not set) default mail account

After much Googling I've learned you can't change the default email account
using VBA. Is there, however, a way to make VBA *display* the name of the
default email account -- in a MsgBox, on a status bar, a button caption, etc?

Grateful for any clues.

------------
Mark Tangard

  #2  
Old May 31st 06, 07:55 PM posted to microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default Display (not set) default mail account

In Extended MAPI (C++/Delphi) - use IOlkAccountManager (see
http://msdn.microsoft.com/library/de...asp?frame=true)

plugIf you are using VBA, you migth want to look at the
RDOSession.Accounts collection in Redemption - see
http://www.dimastr.com/redemption/rdo/ /plug

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

"Mark Tangard" wrote in message
...
After much Googling I've learned you can't change the default email
account using VBA. Is there, however, a way to make VBA *display* the
name of the default email account -- in a MsgBox, on a status bar, a
button caption, etc?

Grateful for any clues.

------------
Mark Tangard



  #3  
Old June 4th 06, 09:48 AM posted to microsoft.public.outlook.program_vba
Mark Tangard
external usenet poster
 
Posts: 2
Default Display (not set) default mail account

Thanks, Dmitry. This look like it'll actually lead somewhere.

MT

Dmitry Streblechenko wrote:
In Extended MAPI (C++/Delphi) - use IOlkAccountManager (see
http://msdn.microsoft.com/library/de...asp?frame=true)

plugIf you are using VBA, you migth want to look at the
RDOSession.Accounts collection in Redemption - see
http://www.dimastr.com/redemption/rdo/ /plug

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

"Mark Tangard" wrote in message
...

After much Googling I've learned you can't change the default email
account using VBA. Is there, however, a way to make VBA *display* the
name of the default email account -- in a MsgBox, on a status bar, a
button caption, etc?

Grateful for any clues.

------------
Mark Tangard





 




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
Default e-mail account does not stay Tony Girgenti Outlook - Installation 2 June 22nd 06 06:46 PM
How do I set up pop3 account to receive mail in a separate folder? Butcherboy Outlook - Installation 3 May 22nd 06 02:07 PM
how do I set up e-mail account Wendy Outlook - Installation 3 April 13th 06 03:15 AM
how to set default ordering of SENT mail MG Outlook Express 5 April 12th 06 06:07 PM
how do i set up a second e.mail account for my partner GPD Outlook - Installation 1 January 28th 06 01:08 AM


All times are GMT +1. The time now is 11:23 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.