G
Guest
i have a treeview1 control and i want to do this:
i dont want to focus or select a node code is here
if treeview1.selectednode.text="" then
msgbox ("Empty")
else
msgbox("Not Empty")
end if
but this results error it feels treeview1 = nothing and give error
nullreferenceexceptions
object reference not set to an instance of an object
how can i solve this is there a way
i dont want to focus or select a node code is here
if treeview1.selectednode.text="" then
msgbox ("Empty")
else
msgbox("Not Empty")
end if
but this results error it feels treeview1 = nothing and give error
nullreferenceexceptions
object reference not set to an instance of an object
how can i solve this is there a way