G
Guest
If TreeView1.SelectedNode.Text = "" Then
msgbox "ok"
Else
msgbox "not ok"
end if
or
If TreeView1.SelectedNode.fullpath = "" Then
msgbox "ok"
Else
msgbox "not ok"
end if
is not working
error is: 'System.NullReferenceException'
Additional information: Object reference not set to an instance of an object.
msgbox "ok"
Else
msgbox "not ok"
end if
or
If TreeView1.SelectedNode.fullpath = "" Then
msgbox "ok"
Else
msgbox "not ok"
end if
is not working
error is: 'System.NullReferenceException'
Additional information: Object reference not set to an instance of an object.