Advertisement

01.23.2008 at 10:42AM PST, ID: 23105392
[x]
Attachment Details

VBScript Open Outlook selecting the mail profile

Asked by TomJatABRG in VB Script, Outlook Groupware Software

Tags: vbscript, outlook, profile, open

Hello,
I want to use standalone VBSCRIPT to open an outlook mailbox, but I want to specify the mail profile.  Here's the code I'm using.  I couldn't find where to specify the profile, or if it's possible.

Set objOutlook = CreateObject("Outlook.Application")      ' Get Outlook
Set objNamespace = objOutlook.GetNamespace("MAPI")      ' Get MAPI
Set objFolder = objNamespace.GetDefaultFolder(olFolderInbox)      ' Get inbox

Thanks for your help,
TomStart Free Trial
 
 
[+][-]01.24.2008 at 07:49AM PST, ID: 20734043

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: VB Script, Outlook Groupware Software
Tags: vbscript, outlook, profile, open
Sign Up Now!
Solution Provided By: BlueDevilFan
Participating Experts: 1
Solution Grade: A
 
 
[+][-]02.04.2008 at 04:10PM PST, ID: 20819523

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.04.2008 at 04:53PM PST, ID: 20819775

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.05.2008 at 08:14AM PST, ID: 20824140

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.05.2008 at 03:01PM PST, ID: 20828074

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628