error with logon 
Author Message
 error with logon

Try using objNS.Logon "Profile Display Name", "Password", False, False

The strings can be "", "", False, False which is usually the easiest way to
start the default profile or you have Outlook 98/2000 installed in Internet
Mail Only mode.

Quote:

> I am getting an error when I try to force a logon in VB code using

> Set objOutlook = CreateObject("Outlook.Application")
> Set objNS = objOutlook.GetNamespace("MAPI")
> objNS.Logon

> It is a run time error regarding server not available even though I
> have a live dial up connection open.  If I have outlook open before I
> execute this code it doesn't force the dialogue logon box to open and I
> don't get an error.

> I would like to call the logon at the beginning of my script.

> I still have not been able to obtain the outlvba.hlp file.  My copy of
> Office 97 does not have it - and I can't find it on the Microsoft site.

> Thanks,

> susan

> Sent via Deja.com http://www.*-*-*.com/
> Before you buy.



Sat, 31 Aug 2002 03:00:00 GMT  
 error with logon

I am getting an error when I try to force a logon in VB code using

Set objOutlook = CreateObject("Outlook.Application")
Set objNS = objOutlook.GetNamespace("MAPI")
objNS.Logon

It is a run time error regarding server not available even though I
have a live dial up connection open.  If I have outlook open before I
execute this code it doesn't force the dialogue logon box to open and I
don't get an error.

I would like to call the logon at the beginning of my script.

I still have not been able to obtain the outlvba.hlp file.  My copy of
Office 97 does not have it - and I can't find it on the Microsoft site.

Thanks,

susan

Sent via Deja.com http://www.deja.com/
Before you buy.



Sun, 01 Sep 2002 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Drive Mapping Error in Logon Script

2. Error in Logon Script - "Object doesn't support this property or method: 'Groups'"

3. Crystal Reports Help - Error 5 - Logon Failed, Do you know what board I can post for answer

4. Error Crystal: logon failed. Try again please.

5. Error 536 (Incorrect logon parameters) when trying to logon to a access-db via PELogonServer

6. Logon/No Logon

7. How can I get logon server name and IP address from logon script using wsh

8. Windows logon and logon over-ride

9. MAPI logon error with Outlook

10. MAPI.Session.Logon gives automation error from VB vs VBA

11. MAPI logon error

12. Crystal Reports Logon Error

 

 
Powered by phpBB® Forum Software