|
-
Aug 21st, 2002, 12:19 PM
#1
Thread Starter
Lively Member
It's easy but i can't ( i think )
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 !!
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
|