Results 1 to 5 of 5

Thread: Problems w/Opening Lotus Notes to Send an Email

  1. #1

    Thread Starter
    Member
    Join Date
    Jan 2001
    Location
    Chicago
    Posts
    40

    Question Problems w/Opening Lotus Notes to Send an Email

    I am using the code below to send an email through Lotus Notes. I am having a problem with opening Notes on a particular PC. In most cases, when executing the Set Session = CreateObject("Notes.NotesSession") line without Notes open, it returns an Err of 429 which I can handle no problem. On this particular PC, the Set Session = CreateObject("Notes.NotesSession") line opens Notes up without Err 429 and stays on that line of code because it's waiting for the password to be opened. I have code to enter the password, but it never gets there. I keep getting a Component Request Pending msgbox before it will continue. I tried using app.OLEServerBusyTimeout and app.OLEServerBusyRaiseError but didn't seem to work.

    Why does Set Session = CreateObject("Notes.NotesSession") work on some PC's? How do I get around this, the code will not continue with this pending ActiveX.

    CODE:
    SessionCreated = True
    Set Session = CreateObject("Notes.NotesSession")
    If SessionCreated Then
    EnterPassword
    End If
    Set Database = Session.GetDatabase("", "")
    ServerDown:
    Call Database.OPENMAIL
    Set Doc = Database.CreateDocument
    Last edited by OhYeahLach; Jun 18th, 2001 at 10:25 AM.

  2. #2
    New Member
    Join Date
    Apr 2001
    Posts
    11
    Weird huh? Try turning on password sharing:

    1. Choose File - Tools - User ID.
    2. Click Basics.
    3. Select "Don't prompt for a password from other Notes-based programs."

    Later,

    Julio

  3. #3

    Thread Starter
    Member
    Join Date
    Jan 2001
    Location
    Chicago
    Posts
    40

    No GO

    The password stilled showed up? Is there any way to change the Notes options to error on Set Session = CreateObject("Notes.NotesSession") ?

  4. #4
    New Member
    Join Date
    Apr 2001
    Posts
    11
    Going out on a limb here but check the Notes version on that client; if it's R5 it should be at least 5.04. A Notes client reinstall might help also as it appears that some .dll is not properly registered. One last thing, does this client have the "Notes Minder" running? That might be keeping the session open and not returning the 429 error.

    If none of this helps, try http://www.notes.net

    Cheers,

    Julio

  5. #5
    New Member
    Join Date
    May 2001
    Location
    Michigan, U.S.
    Posts
    7

    Talking

    I have found this stupid little fix works, but only for Windows 2000:

    Copy the Notes.ini file from C:\Documents and Settings\USER\Data\Notes then paste it to C:\Program Files\Notes

    Overwrite the existing Notes.ini or rename it in C:\Program Files Notes before you paste.

    Note: Substitute the actual user ID folder for \USER\ in the first path.

    VB 5.0 Enterprise
    VB 6.0 Enterprise
    Sybase
    MSAccess
    Windows 98 SE
    Windows 2000 SR1

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width