Re: Problem with Outlook appointment

From: Peter Huang (v-phuang_at_online.microsoft.com)
Date: 11/15/04


Date: Mon, 15 Nov 2004 02:15:18 GMT

Hi

>From outlook 2000 to outlook xp/2003 something has changed.
You may try to look into the vba help file in outlook xp/2003

Logon Method
expression.Logon(Profile, Password, ShowDialog, NewSession)
expression An expression that returns a NameSpace object.
Profile Optional Variant. The MAPI profile name, as a String, to use for
the session.
Password Optional Variant. The password (if any), as a String,
associated with the profile. This parameter exists only for backwards
compatibility and for security reasons, it is not recommended for use.
Microsoft Oultook will prompt the user to specify a password in most system
configurations. This is your logon password and should not be confused with
PST passwords.
ShowDialog Optional Variant. True to display the MAPI logon dialog box
to allow the user to select a MAPI profile.

NewSession Optional Variant. True to create a new Outlook session. Since
multiple sessions cannot be created in Outlook, this parameter should be
specified as True only if a session does not already exist.

You will find that the password paramter is not recommended for use.

Hope this helps.

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.



Relevant Pages

  • Re: Question about Home PC connected to SBS via VPN....
    ... Outlook E-Mail, then using RWW for my other needs. ... > session to gain control of the PC at your office, or use a TS Apps server to ... Making the remote link is easier with RWW than creating a VPN and ... > the time you first authenticated and logon at the local machine. ...
    (microsoft.public.windows.server.sbs)
  • Re: CDO 1.21 and Outlook
    ... Have you tried commenting out the logon line? ... >This is being done within Outlook using VBA. ... is there any way to attach the session to ... but the 30 second delay tells me ...
    (microsoft.public.outlook.program_vba)
  • Re: Access to data in Outlook connected to Exchange
    ... I did not logon to a session. ... The code works fine with just Outlook (without Exchange): ...
    (microsoft.public.exchange2000.development)
  • Re: Windows logoff bug possible security vulnerability and exploit.
    ... To reproduce the problem, I just use the computer normally, and at each logon check the event viewer and running processes to see if a profile unload failed. ... I find that if I wait for a little bit after logging off before logging on again, no running programs from the previous logon are present, but if I log on just after logging off, they will be if the profile unload fails. ... When logging on, the first logged on user is given session ID 0, as shown in task manager, but if I 'switch' to another user, the user is given a different session ID. ... A few moments ago I logged in as administrator to do some minor changes, and I ran EPIM to take some notes of things. ...
    (Bugtraq)
  • Re: Question about Home PC connected to SBS via VPN....
    ... it is far easier to address this idea if you use an RDP ... session to gain control of the PC at your office, or use a TS Apps server to ... the time you first authenticated and logon at the local machine. ... SBS in the manner that your PC at home first builds the VPN before beginning ...
    (microsoft.public.windows.server.sbs)