Hi all
I have a Standar EXE project ( called MyProject ), with a class module. (
called MyClass ).
When I do this:
Dim MyObject as MyClass
set MyObject = New MyClass
Everithing is fine.
But when i do this
Dim MyObject as Object
set MyObject = CreateObject("MyClass")
Or
Dim MyObject as Object
set MyObject = CreateObject("MyProject.MyClass")
I get an error. Why ?
Thanks !!
