CreateObject

C

Craig Buchanan

I would like to use CreateObject() to dynamically create a class in my
access project. Assuming that my project is named "MyProject" and the class
name is "Folders", shouldn't I be able to do something like:

Dim F as Object
Set F = CreateObject("MyProject.Folders")

Obviously, it doesn't or i wouldn't be posting this question...

Is there a way to do this?

Thanks,

Craig Buchanan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top