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?