VB6 - Read Mail Outlook

V

Viswanathan

Hi All,

I used this code to automatically generate e-mails and it worked great on my
development machine. When I went to test it at my customer site, I continue
to receive the following error: Run-time error 429. Active X component
cannot create." This occurs when it gets to the line Set olApp =
CreateObject("Outlook.Application"). Any suggestions on how to fix this
issue or what is causing it?

In addition, another terminal is receiving the error: Run-time error -48.
Error is loading dll.
Does anyone know the dll file name that needs to go with the MSOUTL.olb
file?
 
K

Ken Slovak - [MVP - Outlook]

The best place to post programming questions like this is in the
microsoft.public.outlook.program_vba group. That's where the developers hang
out.

It sounds like some script stopper is stopping the use of CreateObject. Is a
script stopper running on the problem machine? Perhaps from Norton or
McAfee?

No idea on the second problem, but you don't provide very much information.
What version of Outlook? What version is on the computer where you compiled
the application? If Outlook is registered on that machine you don't need to
do anything with an OLB file or anything else, CreateObject should be able
to create a new Outlook.Application object.
 
V

Veign

Does your client have Outlook installed? To use automation around the
Outlook library each computer running the application will have to have a
license version of Outlook installed. You can not distribute the core
Outlook DLL's with your application.

--
Chris Hanscom - Microsoft MVP (VB)
Veign's Resource Center
http://www.veign.com/vrc_main.asp
Veign's Blog
http://www.veign.com/blog
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top