I have a scenario where I have a TreeView and for some users a parent
node and its children will all be visible, and for others, no children
are visible and therefore the parent should not be visible. How can I
make the second scenario possible? I tried this, where LVar, PVar,
and CVar are the child nodes and Var is the parent node, but got this
error on the first line of code: Run-time error 35601: Element not
TreeView1.nodes.Item("LVar").Visible = False Then
TreeView1.nodes.Item("PVar").Visible = False Then
No, this is not a send me teh codez request.
writing a small utility for my own amusement. In this regard, I need
the utility to read the URL from the visible/active tab on any of the
three browsers (Firefox, IE, Chrome) that are currently open, and then
go off and do something with that URL.
I am assuming I'll
need to PInvoke for some of the stuff, may be EnumWindows, or
GetForegroundWindow or some such. I've ample experience in Win32 API,
but at the moment, I'll need to poke around a bit as it's been a long
time since I used to have them for lunch, and used to read SDK
documentation as a means of entertainment and amusement.
Internet explorer 6, 7 & 8 I can visibly see the lines as the
browser repaints the screen from top to bottom when I do things like
pan & zoom. Is there anyway I can minimise this? Firefox, chrome
& opera are all really fast and I can't visible see the repaint