Warning 1 Access of shared member, constant member, enum member or nested type through an instance; qualifying expression will not be evaluated. D:\data\IeI\gp\AppCom\IeFinMgr\FormIeFinMgr.vb 742 29 IeFinMgr
code:
Dim od As New OpenDialog()
Dim myDialogResult As DialogResult = od.ShowDialog(Me)
If myDialogResult = DialogResult.OK Then
ShowUrl(od.PathOrUrl)
End If
however the above did work. How should I code so I don't get the warning on DialogResult.OK

DialogResult and Vb warning
sapo
If myDialogResult = Windows.Forms.DialogResult.OK Then
sroughley