Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > VB Components
|
VB Components Issues specific to components in VB.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB Components section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 10th, 2003, 07:34 AM
Authorized User
 
Join Date: Sep 2003
Posts: 25
Thanks: 0
Thanked 1 Time in 1 Post
Default Creation of ActiveX DLL with VB6

Hi,

I am creating an ActiveX DLL in VB6.

The DLL itself is a simple function - nothing wrong with it.

When I compile the DLL, it seems like the DLL is created, but I get an error message pop-up, saying:

"Error accessing the system registry"

When I try to reference my DLL within my EXE project, I get the error message:

"Error 429 - ActiveX component can't create object"


Please tell me what to do to solve this problem.

This is the first time I have tried to create an ActiveX DLL and I am being let down at the first step! Arrrrgh!

Many thanks.

James


The Following User Says Thank You to james gold For This Useful Post:
 
Old December 18th, 2003, 07:21 AM
Authorized User
 
Join Date: Jun 2003
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
Default

error accessing the system registry sounds as though you do not have write access to the Registry. Make sure you have sufficient rights. You then get the 429 error, presumably because of the earlier message.

If it compiled ok, use regsvr32 to try and register the component.

 
Old December 28th, 2003, 04:02 PM
Registered User
 
Join Date: Dec 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:Originally posted by james gold
 Hi,

I am creating an ActiveX DLL in VB6.

The DLL itself is a simple function - nothing wrong with it.

When I compile the DLL, it seems like the DLL is created, but I get an error message pop-up, saying:

"Error accessing the system registry"

When I try to reference my DLL within my EXE project, I get the error message:

"Error 429 - ActiveX component can't create object"


Please tell me what to do to solve this problem.

This is the first time I have tried to create an ActiveX DLL and I am being let down at the first step! Arrrrgh!

Many thanks.

James


the error "Error 429 - ActiveX component can't create object" is that the exe can't find ActiveX DLL. the couse can be deleting DLL or moving exe and Dll to difrent path







Similar Threads
Thread Thread Starter Forum Replies Last Post
Advantages /Disadvantages of ActiveX DLL & ActiveX priyank Beginning VB 6 6 February 19th, 2007 11:34 AM
Removing toolbar from ActiveX DLL in VB6 maxpotters Excel VBA 1 September 11th, 2005 08:04 AM
Can a VB6 ActiveX DLL reference a spreadsheet? james gold Pro VB 6 0 October 2nd, 2003 10:02 AM
Creation of ActiveX DLL with VB6 james gold Pro VB 6 2 September 10th, 2003 08:19 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.