System Hook

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have been developing in VB6 for years. I am converting to VB.net. I was wondering if it is possible to create a System hook in VB.net. I know that I VB6, I could not, so I created one in C++. If it is possible, could you please provide an example. Thanks!

Also, could you please provide good resources (books or online articles/tutorials) that would be good for someone who is advanced VB6 programmer converting to VB.net. Thanks!
 
* "=?Utf-8?B?UGF0cmljaw==?= said:
I have been developing in VB6 for years. I am converting to VB.net.
I was wondering if it is possible to create a System hook in VB.net. I
know that I VB6, I could not, so I created one in C++. If it is
possible, could you please provide an example. Thanks!

For example, a keyboard hook:

Also, could you please provide good resources (books or online
articles/tutorials) that would be good for someone who is advanced VB6
programmer converting to VB.net.

Let's wait what the others say...
 
I assuming your talking about Global Hooks? Any particular kind? I've had
this discussion with a couple people never found an answer I was 100%
satisfied with.

From my undersatnd, generally no, because you can't inject the DLL into
other processes.

But for keyboard hooks you can. At least the way I undersatnd it you can.
However, I was told you can't do it with a mouse... here's and article that
may help.

http://www.developer.com/net/net/article.php/11087_2193301_2
Patrick said:
I have been developing in VB6 for years. I am converting to VB.net. I
was wondering if it is possible to create a System hook in VB.net. I know
that I VB6, I could not, so I created one in C++. If it is possible, could
you please provide an example. Thanks!
Also, could you please provide good resources (books or online
articles/tutorials) that would be good for someone who is advanced VB6
programmer converting to VB.net. Thanks!
 
Programming Microsoft Visual Basic.NET Core Reference by Francesco Balena is
a really good book from my point of view, coveres everything from simple
stuff to way more advanced topics
 
Back
Top