V
Venkat Venkataramanan
Hello:
I have an object Users that implements the ICloneable
interface.
I am trying to pass an instance of this object, foUser
from one form into a second form ByRef.
Dim formLogin As New frmLogin(foUser)
The second form creates a local instance of this object.
When all the business rules are obeyed, I have the
following statement that copies this local copy to the
instance that was passed in Byref:
foUser = CType(loUser, Users.Users).Clone
But when the control gets passed to the first form, it
looses all the values.
Any ideas on what I may be doing wrong?
Thanks.
Venkat
I have an object Users that implements the ICloneable
interface.
I am trying to pass an instance of this object, foUser
from one form into a second form ByRef.
Dim formLogin As New frmLogin(foUser)
The second form creates a local instance of this object.
When all the business rules are obeyed, I have the
following statement that copies this local copy to the
instance that was passed in Byref:
foUser = CType(loUser, Users.Users).Clone
But when the control gets passed to the first form, it
looses all the values.
Any ideas on what I may be doing wrong?
Thanks.
Venkat