I'm guessing (because you don't tell us which line throws the error), but I suspect that you haven't created an instance of the OpenFileDialog, so the error occurs when you try to set the InitialDirectory property.
Try adding:
OpenFileDialog1 = New OpenFileDialog()
at the start of your
btnbrow_Click
routine.
If it isn't that, then try looking in the debugger at the line which does cause the error - either it will be obvious that one of the parts is
nothing
/
null
, or you can tell us which line it is...