|
-
May 4th, 2000, 02:43 PM
#1
Problem with data source class
Hi!
I've developed a simple savings bank application in Visual Basic that uses a Microsoft Access 97 database. I'm trying to modify it by splitting it into components.
I've compiled the class responsible for connecting to the database into an ActiveX .exe component. Since doing that though, a class CParameters, that I created as a data source class in the main project, seems to cause an error in the calling class CApplication (also in the same project). It returns the error "Interface not registered."
This error occurs when the CApplication class tries to set a recordset object to the data source with this line of code:
set rs.DataSource = theCParameters
I've checked that the database component returns the required data, it is after control is returned to the data source class that the error occurs. Why does it occurr only after I've used a component? VB help was not helpful.
Guidance needed
Chay
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|