Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Copying Application folder to another location

Status
Not open for further replies.

giyer555

Programmer
Sep 8, 2003
75
0
0
IN
2) After copying an application folder with all forms to another location while running the project I am receiving an error as follows:-

ActiveX object can’t create object (Error No 429)

I feel the objects class is not registered in the system registry and the associated dll is not available.

How do I solve this problem?

Thanx in advance

 
What line of code are you getting this error on?
 
hi,

The for objects, you have to use set keyword, if you fail to do so, vb raise the error.
 
bjd4jc
i am using ado & when i run the project the mdi form opens but the form connected to the db does not open.
It gives an error msg
Run time error '429'
ActiveX component can't create object
when i debug it goes to the form load event where i have coded as follows:

Private Sub Form_Load()
Set cn = New ADODB.Connection
cn.Open "dsn=saibaba;uid=sa;pwd="
Set rs = New ADODB.Recordset
rs.Open "Select * from user_mast order by user_id", cn, adOpenKeyset
 
Thanx bjd4jc

I downloaded the same & it works
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top