Home  |  Index  |  Dotnet4all Snippets  |  Submit resources
About  |  Mail us  
Dotnet4all Logo
System Hook (Tuesday, September 14, 2004)
 

Found the following interesting discussion in the Newsgroups:

System Hook
by:Anonymous

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!


 Reply:
by:hirf-spam-me-here@gmx.at (Herfried K. Wagner [MVP])

 
For example, a keyboard hook:

<URL:http://www.developer.com/net/net/article.php/11087_2193301_1/>

> 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...

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>


 Reply:
by:Brian Henry

 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


 Reply:
by:CJ Taylor

 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.



Posted by Xander Zelders



 
Previous Posts
    - Datagrid and 12:00:00
    - Call External Program
    - Quotation Mark in string
    - How to print with vb.net
    - Can datasets be used in an Excel macro?
    - How to pass objects from one Form to another Form
    - Upgrade Error
    - dataadapter UPDATE INSERT parameters
    - dataadapter UPDATE INSERT parameters
    - Hot to set the default value in a dataset

Archives
    - 08/01/2004 - 08/08/2004
    - 08/08/2004 - 08/15/2004
    - 08/15/2004 - 08/22/2004
    - 08/22/2004 - 08/29/2004
    - 08/29/2004 - 09/05/2004
    - 09/05/2004 - 09/12/2004
    - 09/12/2004 - 09/19/2004
    - 09/19/2004 - 09/26/2004
    - 09/26/2004 - 10/03/2004
    - 10/03/2004 - 10/10/2004
    - 01/02/2005 - 01/09/2005
    - 01/09/2005 - 01/16/2005
    - 01/30/2005 - 02/06/2005
    - 01/01/2006 - 01/08/2006


Disclaimer & Terms of Use  | DotNet4All.Com concept & © 2004 - 2007 by  Zelders²  - Holland