Hey...
I posted some weird errors w.r.t. OCX and DLL's last night.But,I didn't get any reply to that...So,now I am posting a line of the same code which was written in VB and I need to convert it to VB.Net. The thing is VB.Net doesn't support VarPtr and hence,I dunno how to convert this particular statement...

CSRF12.GetCurrentUID VarPtr(bUID(0))

CSRF12 is name of a object on my VB form with which the GetCurrentUID method is associated.bUID is an array of size 8.It stores the incoming RFID Tag ID.So,when I try to write this line as

AxCSRF1.GetCurrentUID (bUID(0)),
I get the exception:
A first chance exception of Type 'System.Runtime.InteropServices.COMException' occurred in AxInterop.Rfx.dll

in the output window.Can anyone help me find a solution to this??