Hi
In c# i can use:
To convert an integer to type intptr, so how can i do it in VB, ive tried:
But recieve an error stating i cant convert an integer to intptr.
Also.....
this in c#:
doesnt work when translated to vb, it states that the operator <> is not defined for types intptr to intptr!
Any c# and vb gurus who can help me out here?
Cheers
In c# i can use:
Code:
ListViewAPI.CDRF_DODEFAULT is an integer value
(IntPtr)ListViewAPI.CDRF_DODEFAULT
To convert an integer to type intptr, so how can i do it in VB, ive tried:
Code:
CType(ListViewAPI.CDRF_DODEFAULT,intptr)
But recieve an error stating i cant convert an integer to intptr.
Also.....
this in c#:
Code:
(nmcd.hdr.hwndFrom != Handle)
doesnt work when translated to vb, it states that the operator <> is not defined for types intptr to intptr!
Any c# and vb gurus who can help me out here?
Cheers
Last edited by a moderator: