I have code:-
that works OK with Option Stict off.Code:Dim pin() As Byte = RegistryKey.GetValue("PIN")
When I turm Option strict on I get
The Registry Key is Reg Type REG_BINARYCode:Option Strict On disallows implicit conversions from 'System.Object' to '1-dimensional array of Byte'.
How should I be coding this to cope with Option Strict on?




Reply With Quote