>?snippet is not working on .NET. I've search the list archives and am still
>not
>understanding the issue.

>objDynAry = objFILE.Record
>objDynAry.Field(3).StringValue = CStr(Now)
>objFILE.Record = objDynAry

VB6 will work out the default property of an object.  .Net does not accept
default properties, you have to define the property.

I suspect this should be something like 
objFILE.Record = obj.DynAry.ToString

Regards
David Jordan
Managing Consultant
 
[EMAIL PROTECTED]

DACONO Holdings Pty Ltd
www.dacono.com.au
 
PO Box 909
Lane Cove
NSW 2066
Australia

I am converting some VB6 code with UniObjects to VB.NET (2005). The
following

The third statement is the one that works on VB6 but take the On Error
routine
in .NET.

Can someone explain to me what the problem is? (Yes, I could code around
this,
but this kind of thing is done a lot in this code--not my code, BTW ☺

Thanks for any insight.


-- 

Regards,

Clif
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to