|
-
Oct 16th, 2000, 11:57 AM
#1
Thread Starter
Member
I am trying to use assign a object to a object variable
I can't understand
when I should use new keyword and when I shouldn't
what is the differance 1 and 2
1 . set myobject=new myobject1
2 . set myobject=myobject1
my second question related first
I am designing a activex component that have a property
holding an object named returnobject.
mycontrol.ReturnObject = Text1
If IsObject(mycontrol.ReturnObject) Then
MsgBox "object"
Else
MsgBox "not object"
End If
msgbox displaying "not object"
why ? I sent a object to returnobject.
How can I correct it. how can I assign a value
to text1 with using my returnobject variable.
can anyone help me?
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
|