Click to See Complete Forum and Search --> : Visual Basic RDO objects with Active X
October 20th, 1999, 11:28 PM
I am trying to connect to a database on a remote server using visual basic 6.0. I am using rdoenvironments(0) to get the handle to the environment which I am using to get a connection to the database. This code is working on my PC. However, it doesn't work on the user's PC and gives an error
'ActiveX component can't create object'.
Can someone help me to solve this problem?
thanks,
hema
October 21st, 1999, 05:57 AM
you must have included the Microsoft Remote Data Objects 2.0 library in your project references. now make sure that this library is available in your user's machine also. i believe the file is c:\windows\system\msrdo20.dll.
this could be one of the problems.
regards,
mani.
October 21st, 1999, 01:37 PM
Yes, it is included in the references and is available in Windows/System directory on the user's directory. I tried registering using regsvr32. Still it gives the same error.
thanks,
hema
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.