|
-
Apr 11th, 2004, 08:05 AM
#1
Thread Starter
New Member
How to create object without using "NEW"?
I want to create a instance of class, but it's only a "private" class in this project, so i can't use "CreateObject".
and i can't know which class i want to create from. it's like this:
private function createNewInstance(obj as object) as object
end function
i want this function return a new object like obj, but VB6 does not support reflection like .Net, so how can i do?
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
|