Quantcast
Viewing latest article 21
Browse Latest Browse All 109

New Outlook.Application Causes Error

In VB6, all my code works if I use an existing instance of Outllook,
but if I try to instantiate a new instance, I get Error 2147023782.
This happens if I use early or late binding. Both of the following code
snippets fail:

Dim objOutlook As Outlook.Application
Set objOutlook = New Outlook.Application

Dim objOutlook As Object
Set objOutlook = CreateObject("Outlook.Application")

This problem just started. The only thing I have changed recently on my
computer is installing a new version of...

New Outlook.Application Causes Error

Viewing latest article 21
Browse Latest Browse All 109

Trending Articles