Results 1 to 7 of 7

Thread: Email via outlook object problem(RESOLVED)

Threaded View

  1. #1

    Thread Starter
    Junior Member J.J. JOHNSTONE's Avatar
    Join Date
    Aug 2002
    Location
    J'ville
    Posts
    19

    Email via outlook object problem(RESOLVED)

    This code works just fine for setting the necessary object and hiding the SendEmail button if Outlook is not installed but...

    if a user has Outlook installed but does not use it or have it set up there is a problem?

    One on my users running XP was forced into Outlooks setup wizard every time this code ran. Another user was held up for as much as 2 minutes for the same reason.

    How can I prevent this scenario from happening?

    I reallize what is causing the problem and can walk them through a solution but thats not really the point.


    Private Sub Form_Load()
    On Error GoTo ErrorHandler

    Set oLapp = CreateObject("Outlook.application")
    Exit Sub

    ErrorHandler:
    Set oLapp = Nothing
    cmdSendEmail.Visible = False
    End Sub
    Last edited by J.J. JOHNSTONE; Apr 14th, 2003 at 07:03 AM.
    J.J.


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