|
I hadn't noticed this before. I think someone else worked out the solution, which is lucky for you, given that you utterly failed to answer my questions.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
I have a granddaughter who loves to play infant games on the net. But she always hits the ctrl keys etc. which pops up windows etc. Can these be disabled for a short period of time?
|
|
|
|
|
You'd have to write an app that implements a global keyboard hook. You will receive the keyboard messages before they are dispatched to their destination application window. In your hook procedure, you have to determine if you're going to let the keyboard message through or not. If not, you just don't pass it up the hook chain, essentially "eating" the keystroke.
There are plenty of examples of how to implement a keyboard hook[^].
|
|
|
|
|
Thank you Dave! Roxy, my Granddaughter, thanks you as well....
|
|
|
|
|
In addition to Dave's good answer, you might be interested in the AutoHotKey[^] macro program. You can remap keys with this utility, it's free, and it's pretty simple to use.
|
|
|
|
|
Thank you! This might be easier than writing the code myself. Although it would be a great exercise in patiences.
|
|
|
|
|
|
Yep! It's great being a grandpa! Thank you for the links!
Larry
|
|
|
|
|
|
I'm maintaining some old VB6 code (eventually will be moving to VS2008)
It has many circular references between objects.
I'm looking for a way to enumerate the outstanding object references remaining at the program end to be able to verify that the circular references are all disposed of properly.
Also, is there a way to get some notification or callback with a reference is defined?
Thanks,
Chuck
|
|
|
|
|
cvogt61457 wrote: It has many circular references between objects.
It sounds like you've got a serious design problem. Except in a limited number of cases, an object graph should not have circular references, unless absolutely necessary. I would highly recommend rewriting the app to remove this condition if at all possible.
cvogt61457 wrote: is there a way to get some notification or callback with a reference is defined
There is no such event or callback to subscribe to unless the class that you're instantiating supplies it.
|
|
|
|
|
Hi all,
i want to traverse n-ary tree?
can someone help me please?
|
|
|
|
|
That's pretty general. Do you have any more specific information for your context?
|
|
|
|
|
Please read the forum guideliness; cross-posting is a no-no. We're here to help if you get stuck on a particular piece of code, but you need to ask a more specific question.
|
|
|
|
|
I went to the msdn website:http://msdn.microsoft.com/en-us/library/system.net.networkinformation.aspx
looking for help writing the code in VB.
|
|
|
|
|
What statistics are you looking for?? Did you look at the code samples for each class, such as the IpGlobalStatistics??
|
|
|
|
|
I looked at the IPGlobalProperties class but i think its too broad. I am looking to view the SYN -ACK request packets in the TCP backlog queue and looking to view the amounts of UDP packets.
|
|
|
|
|
The stats you want are not kept in those classes, nor are they, if my research is correct, kept in the underlying network layers. I think you may be forced to write your own packet filter and generate these stats yourself by inspecting individual packets.
|
|
|
|
|
Ooo ok thanks, do you have any suggested readings that can guide me to creating my own packet filter
|
|
|
|
|
Not really. But you can start by Googling for "WinPCap".
|
|
|
|
|
|
Im looking at TcpStatistics/UDP Class but not sure if it will specify SYN/ACK or UDP packets
|
|
|
|
|
Hi Experts,
How to give hyperlink to multiple images with array in java script.
Please send code with example.
Thanking You,
|
|
|
|
|
Read item 2[^] in this message and you may understand a little better about these forums.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
I have to admit, if you were offering a cash prize, I might be motivated to guess, but right now I have no idea what the hell you're asking for, except that you're in the wrong forum, as this appears to be an ASP.NET question.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|