Re: Different profiles on the same PC?
From: Bingo (anonymous_at_discussions.microsoft.com)
Date: 01/10/05
- Next message: D: "Re: Tasks and Calendar"
- Previous message: Michael Bauer: "Re: Recipient in To box"
- In reply to: Dan Mitchell: "Re: Different profiles on the same PC?"
- Next in thread: Dan Mitchell: "Re: Different profiles on the same PC?"
- Reply: Dan Mitchell: "Re: Different profiles on the same PC?"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 10 Jan 2005 09:51:11 -0800
Thanks a lot! This is exactly what I was looking for.
Thanks
One quick follow-up. I modified your code to test with
two others' profiles. I logged on the network as
myself. When the first session logon is called, a dialog
box pops up asking asking for the uid and password. Once
the logon is verified, the second session logon does not
pop up the dialog. I use two different profiles. Why
does this happen? Thanks.
>-----Original Message-----
>"Bingo" <anonymous@discussions.microsoft.com> wrote in
news:117301c4f725
>$ee74a910$a501280a@phx.gbl:
>> If I understand you correctly, I can start multiple
>> copies of the same App, each using a different Outlook
>> profile as long as I set newSession=TRUE in CDO1.21?
>
> That's correct -- you can even have multiple profiles
in the same app:
>
>Private Sub Form_Load()
> Dim s1 As New MAPI.Session
> s1.Logon newSession:=True, profileInfo:="server" &
vbLf & "test1"
> Debug.Print s1.Inbox.Messages.GetLast.Subject
>
> Dim s2 As New MAPI.Session
> s2.Logon newSession:=True, profileInfo:="server" &
vbLf & "test2"
> Debug.Print s2.Inbox.Messages.GetLast.Subject
>End Sub
>
> does what it looks like it'll do.
>
> -- dan
>.
>
- Next message: D: "Re: Tasks and Calendar"
- Previous message: Michael Bauer: "Re: Recipient in To box"
- In reply to: Dan Mitchell: "Re: Different profiles on the same PC?"
- Next in thread: Dan Mitchell: "Re: Different profiles on the same PC?"
- Reply: Dan Mitchell: "Re: Different profiles on the same PC?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|