A Microsoft Office (Excel, Word) forum. OfficeFrustration

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 » OfficeFrustration forum » Microsoft Outlook » Installation & Setup
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

VBScript profile creation with cached exchange mode



 
 
Thread Tools Display Modes
  #1  
Old February 26th, 2007, 03:18 PM posted to microsoft.public.outlook.installation
Ludovick LAGREVOL
external usenet poster
 
Posts: 1
Default VBScript profile creation with cached exchange mode

Hi,

i'm trying to create a profile with cached exchange mode with Dimastr DLL
profman.dll

all is ok except the cached mode....

where am i wrong ?



Set Profiles=CreateObject("ProfMan.Profiles")
.........
PR_PROFILE_UNRESOLVED_NAME = &H6607001E
PR_PROFILE_UNRESOLVED_SERVER = &H6608001E
PR_PROFILE_CONFIG_FLAGS = &H6632000B
CONFIG_OST_CACHE_PRIVATE = &H00000180
.....
Set NewProfile = Profiles.Add(ProfileName, false, false)
....

Set ExchService = NewProfile.Services.Add("MSEMS", "Microsoft Exchange",
false)

Set Properties = CreateObject("ProfMan.PropertyBag")

Properties.Add PR_PROFILE_UNRESOLVED_NAME, myusr
Properties.Add PR_PROFILE_UNRESOLVED_SERVER, "xxxxxxxxxxxx"

'Try to set exchange cached mode :

Properties.Add PR_PROFILE_CONFIG_FLAGS, CONFIG_OST_CACHE_PRIVATE

'

ExchService.Configure 0, , Properties







--


don''t reply to my email, antispam fake email
 




Thread Tools
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 Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 07:22 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.