Instantiating Classes from Another MDB 
Author Message
 Instantiating Classes from Another MDB

Has anyone successfully created an object in Database "A" when the class
module lives in Database "B"? I'm trying to do the following:

In DB1.MDB, I create a SUB which includes the statement

   dim oObj as new CMyClass

where the class module "CMyClass" is in DB2.MDB. DB1 contains a
reference to DB2.MDB, but DB2's class modules are not known to DB1. Why?

Any input appreciated ...

Scott Edmondson

Sun, 09 Jul 2000 03:00:00 GMT  
 [ 1 post ] 

 Relevant Pages 

1. Instantiating a class in another class with events

2. instantiating a user-defined class ( object ) from a string

3. Display a form instantiated as class?

4. if userform has global scope, it activates document that instantiated the class

5. The Size of Threads Or Instantiated Classes

6. Instantiating Classes Withing Procedures

7. Instantiating classes, new vs set

8. Can One Class Instantiate Another?

9. Name of EXE Which Instantiates Class Of A DLL

10. Instantiating a Class

11. HELP! Instantiating classes

12. how can VB instantiate a C++ class ?


Powered by phpBB® Forum Software