Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > VB Components
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old September 10th, 2003, 07:34 AM
Authorized User
 
Join Date: Sep 2003
Location: , , .
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


Reply With Quote
The Following User Says Thank You to james gold For This Useful Post:
  #2 (permalink)  
Old December 18th, 2003, 07:21 AM
Authorized User
 
Join Date: Jun 2003
Location: Great Dunmow, Essex, United Kingdom.
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.

Reply With Quote
  #3 (permalink)  
Old December 28th, 2003, 04:02 PM
Registered User
 
Join Date: Dec 2003
Location: Ljubljana, , Slovenia.
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


Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

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

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


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



All times are GMT -4. The time now is 09:03 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.