C
Christian Blackburn
Hi Gang,
Sometimes when I try to open a registry it doesn't exist and therefore the
object reference is equal to nothing. However VB.NET 2003 doesn't allow the
syntax if
If objReg <> Nothing then
'do this
End if
Can somebody tell me another way to check if the key failed to open? I
realize I can just use error handling, but I prefer to make that the last
resort .
Cheers,
Christian
Sometimes when I try to open a registry it doesn't exist and therefore the
object reference is equal to nothing. However VB.NET 2003 doesn't allow the
syntax if
If objReg <> Nothing then
'do this
End if
Can somebody tell me another way to check if the key failed to open? I
realize I can just use error handling, but I prefer to make that the last
resort .
Cheers,
Christian