Error when creating an outlook object.

  • Thread starter Thread starter Kirk Groome
  • Start date Start date
K

Kirk Groome

I'm using access 2000 and outlook 2003
I have add a references to "Microsoft Outlook 11.0 Object Library"
My program works good on most systems but when I use the code below using
early and late binding code I get the error that is under the set line of
code.

Private Sub Command0_Click()
Dim olapp As Outlook.Application

Set olapp = New Outlook.Application
'Run-time error "48": Error in loading DLL

End Sub

Private Sub Command1_Click()
Dim olapp As Object

Set olapp = CreateObject("Outlook.Application")
'Run-time error "429": ActiveX component can't create object

End Sub

Any ideas
Thanks
Kirk Groome
 
Well, try some of the other references. Go to www.google.com, select
advanced search, enter "429 create object" (without the quotes) into the
"all words" box, and support.microsoft.com into the domain box. There's lots
more entries with possible causes.

The problem with error 429, is that the cause is often unrelated (in a
logical sense) to the affect. Eg. it happens because your name is Bob and
today is a Wednesday...

HTH,
TC
 
Back
Top