Help! Library suddenly not registered anymore!

M

Mick

I have a small program (in V.B. 6.0) that sends emails, through Outlook, at
scheduled times. The program has been working fine for months. All of a
sudden, I get this error: Automation error - Library not registered. The
error occurs on this line "Set myOLItem = myOLApp.CreateItem(olMailItem)" I
have no idea why, but I notice that I also cannot send emails directly from
Word anymore, I get an error saying "word cannot open the email envelope."
Both of these problems started at the same time, as far as I can tell.
Everything worked find a few days ago. I think I need to reregister the
outlook and Word libraries - or maybe it's something completely different.
I tried reinstalling office, but no good. Any help would be very much
appreciated!

_________________________________
givemickabreak.com
 
K

Ken Slovak - [MVP - Outlook]

Is Outlook still listed as the MAPI handler for that machine? Check in
IE, Tools, Options, Programs. It sounds like something like OE or
Eudora is handling MAPI.




Mick said:
I have a small program (in V.B. 6.0) that sends emails, through Outlook, at
scheduled times. The program has been working fine for months. All of a
sudden, I get this error: Automation error - Library not registered. The
error occurs on this line "Set myOLItem =
myOLApp.CreateItem(olMailItem)" I
 
Top