A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Error 427 activex component can´t create object



 
 
Thread Tools Display Modes
  #1  
Old September 12th, 2008, 08:44 PM posted to microsoft.public.access.tablesdbdesign
Jose
external usenet poster
 
Posts: 121
Default Error 427 activex component can´t create object

I convert an access 2003 project (adp) to access 2007.

I was working fine in my machine where I have installed access 2003 and
access 2007 full installation.

Then I installed the application (access 2007 - ade) in a machine where has
installed office 2003 full installation and access runtime 2007.

It looked to work well until I click a button that run a code that open
outlook and attach a file. When run this code, shows the following error

Error 427 activex component can´t create object.

The references are ok.

I'm very frustrate, I'm spending a lot off time and I can not fix this issue.

Any suggestions?

Thanks a lot
JCP

  #2  
Old September 12th, 2008, 09:05 PM posted to microsoft.public.access.tablesdbdesign
Jose
external usenet poster
 
Posts: 121
Default Error 427 activex component can´t create object

Sorry, the error is 429 and not 427

"Jose" wrote:

I convert an access 2003 project (adp) to access 2007.

I was working fine in my machine where I have installed access 2003 and
access 2007 full installation.

Then I installed the application (access 2007 - ade) in a machine where has
installed office 2003 full installation and access runtime 2007.

It looked to work well until I click a button that run a code that open
outlook and attach a file. When run this code, shows the following error

Error 427 activex component can´t create object.

The references are ok.

I'm very frustrate, I'm spending a lot off time and I can not fix this issue.

Any suggestions?

Thanks a lot
JCP

  #3  
Old September 12th, 2008, 10:52 PM posted to microsoft.public.access.tablesdbdesign
Tony Toews [MVP]
external usenet poster
 
Posts: 3,776
Default Error 427 activex component can´t create object

Jose wrote:

It looked to work well until I click a button that run a code that open
outlook and attach a file. When run this code, shows the following error

Error 427 activex component can´t create object.

The references are ok.


I suspect the references are not ok on that system. They likely have
a different version of Outlook installed than you do. I'd suggest
using late binding.

Late binding means you can safely remove the reference and only have
an error when the app executes lines of code in question. Rather than
erroring out while starting up the app and not allowing the users in
the app at all. Or when hitting a mid, left or trim function call.

This also is very useful when you don't know version of the external
application will reside on the target system. Or if your organization
is in the middle of moving from one version to another.

For more information including additional text and some detailed links
see the "Late Binding in Microsoft Access" page at
http://www.granite.ab.ca/access/latebinding.htm

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 04:51 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.