Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
KC KC is offline
external usenet poster
 
Posts: 107
Default "Run-time error 429: ActiveX comonent can't create object" MSComm

in excel i am referencing the MSComm 6.0 axtive X control in a macro. and it
works on my computer. I get the "Run-time error 429: ActiveX comonent can't
create object" when i run the macro on another computer at the line
"Set MSComm1 = New MSComm". The activex component has been registered on
the computer. What else should i try? I am using Excel 2003 on all of the
computers.

--
KC
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 249
Default "Run-time error 429: ActiveX comonent can't create object" MSComm

The line of code it stops on can be misleading. Tools|References and look
for something not required or marked as MISSING

Could be something like a datetime picker, calendar control.



--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

"KC" wrote:
in excel i am referencing the MSComm 6.0 axtive X control in a macro. and
it
works on my computer. I get the "Run-time error 429: ActiveX comonent
can't
create object" when i run the macro on another computer at the line
"Set MSComm1 = New MSComm". The activex component has been registered on
the computer. What else should i try? I am using Excel 2003 on all of
the
computers.

--
KC


  #3   Report Post  
Posted to microsoft.public.excel.programming
KC KC is offline
external usenet poster
 
Posts: 107
Default "Run-time error 429: ActiveX comonent can't create object" MSC

No this is a fairly simple macro. Nothing shows up as missing in the
references. The big difference between the three computers that i am using
is that the development computer has visual studio on it and the two that get
the run time error don't. I have been told to load visual studio and then
uninstall it and then the MScomm.ocx ActiveX component will work. I am
trying to avoid this if i can.
--
KC


"Dave Patrick" wrote:

The line of code it stops on can be misleading. Tools|References and look
for something not required or marked as MISSING

Could be something like a datetime picker, calendar control.



--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

"KC" wrote:
in excel i am referencing the MSComm 6.0 axtive X control in a macro. and
it
works on my computer. I get the "Run-time error 429: ActiveX comonent
can't
create object" when i run the macro on another computer at the line
"Set MSComm1 = New MSComm". The activex component has been registered on
the computer. What else should i try? I am using Excel 2003 on all of
the
computers.

--
KC


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 100
Default "Run-time error 429: ActiveX comonent can't create object" MSC

1. http://www.vbaccelerator.com/insprob.htm

2. On one of the non-development computers, create a new VBA project and try
to add that particular component. If you get an error like "the control
could not be created because it is not properly licensed" then you have a
different level of license on your development PC for that ActiveX due to
the VS installation.
2a. Installing VS might help the other PCs run your code. Uninstalling
VS on those PCs may or may not break it again. Only install what you have
licenses for, or, if you only need to run on a few PCs within your control,
consider installing one of the (free) 'express' versions of VS.NET on those
PCs and see if it gets you the target component and license permission
level.
2b. If you need to distribute your workbook more widely, you may have to
determine if you can wrap some of your code into a VS.Net program and
(reviewing to make sure you are within the license agreement) distribute it
along with your workbook. That way only your VS.Net code would call the
ActiveX; your VBA code would call your VS.Net code

HTH,
Keith

"KC" wrote in message
...
No this is a fairly simple macro. Nothing shows up as missing in the
references. The big difference between the three computers that i am
using
is that the development computer has visual studio on it and the two that
get
the run time error don't. I have been told to load visual studio and then
uninstall it and then the MScomm.ocx ActiveX component will work. I am
trying to avoid this if i can.
--
KC


"Dave Patrick" wrote:

The line of code it stops on can be misleading. Tools|References and look
for something not required or marked as MISSING

Could be something like a datetime picker, calendar control.



--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

"KC" wrote:
in excel i am referencing the MSComm 6.0 axtive X control in a macro.
and
it
works on my computer. I get the "Run-time error 429: ActiveX comonent
can't
create object" when i run the macro on another computer at the line
"Set MSComm1 = New MSComm". The activex component has been registered
on
the computer. What else should i try? I am using Excel 2003 on all of
the
computers.

--
KC




  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default what solution worked?

hey KC,

Did you ever find a solution to this problem?

I am doing the same thing and, much as one might expcet, getting the same message.

Thanks
Howard
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
"ActiveX component can't create object" William wilborn Excel Programming 3 November 9th 06 01:34 AM
ActiveX Error 429, "Can't create object" Doc Rock Excel Programming 3 September 9th 06 07:04 PM
What is Error "Method "Paste" of object "_Worksheet" failed? vat Excel Programming 7 February 17th 06 08:05 PM
error with userform, "unable to create embedded object" Jeff Excel Programming 4 November 1st 05 07:44 PM
"Run-time error '1004'" Method 'Range' of object '_global' failed. haisat[_2_] Excel Programming 0 October 20th 03 12:13 PM


All times are GMT +1. The time now is 02:25 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"