msvisual.com Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

VB6 - Read Mail Outlook

 
Post new topic   Reply to topic    msvisual.com Forum Index -> VB Syntax
Author Message
Viswanathan



Joined: 04 Oct 2007
Posts: 5

PostPosted: Tue May 23, 2006 5:05 pm    Post subject: VB6 - Read Mail Outlook Reply with quote

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?

--
Thanks and Regards
S. Viswanathan

Archived from group: microsoft>public>outlook
Back to top
View user's profile Send private message
Ken Slovak - [MVP - Outlo



Joined: 04 Oct 2007
Posts: 12

PostPosted: Tue May 23, 2006 12:58 pm    Post subject: Re: VB6 - Read Mail Outlook Reply with quote

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.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Viswanathan" wrote in message @TK2MSFTNGP03.phx.gbl...
> 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?
>
> --
> Thanks and Regards
> S. Viswanathan
>
>
Back to top
View user's profile Send private message
Veign



Joined: 04 Oct 2007
Posts: 1759

PostPosted: Tue May 23, 2006 3:31 pm    Post subject: Re: VB6 - Read Mail Outlook Reply with quote

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
--


"Viswanathan" wrote in message @TK2MSFTNGP03.phx.gbl...
> 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?
>
> --
> Thanks and Regards
> S. Viswanathan
>
>
Back to top
View user's profile Send private message
Veign



Joined: 04 Oct 2007
Posts: 1759

PostPosted: Tue May 23, 2006 3:37 pm    Post subject: Re: VB6 - Read Mail Outlook Reply with quote

To add: You are posting to a VB syntax newsgroup and an Outlook newsgroup.
Is this a stand-alone VB application or code running inside of Outlook as a
macro?

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


"Veign" wrote in message @TK2MSFTNGP05.phx.gbl...
> 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
> --
>
>
> "Viswanathan" wrote in message
> @TK2MSFTNGP03.phx.gbl...
>> 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?
>>
>> --
>> Thanks and Regards
>> S. Viswanathan
>>
>>
>
>

Back to top
View user's profile Send private message
Display posts from previous:   
Related Topics:
Programming OutLook (send e-mail) Hi, All I am programming Outlook in vb; The task is when error occured during transfering files App should automatically send e-mail to notify about the error. The problem: when it sending e-mail it display Message Microsoft Outlook " A program is trying

jump to text field in outlook new mail hello, i created a new email-form in outlook and by vbs this way and now i want vbs simply to jump from the "To:" to the Text field. what is the syntax for that? thanks a lot Sebastian

Access via VBA to a mail in Archiv Folder in Outlook Peace! I have a big problem: I'm looking for a VB Code to have access to the mails in a subfolder of the archiv. For example, I would like to delete E-Mails depending of the subject and the received time. Can somebody help me? Many thanks! Stefan

Sending e-mail Hello all This code is from the book "Programmer's Reference Visual basic 6". when it runs I get the error "Sub or Function not defined" what am I missing? The error is at Private Sub Dim objoutloo

send a file by mail can vb 5 or 6 send a file by mail to a computer in the internet? how?
Post new topic   Reply to topic    msvisual.com Forum Index -> VB Syntax All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group