I would like to know how the system stores the info of your mouseclick and how to call it in VB.NET?

computer info vb.net on SCP ,Computer, Education.NET, PHP, Web Designing, ASP.NET, VB.NET, C# ...
computer info vb.net image




Insane_MfB


I want to record every click my mouse does into an integer, like i can call a "form1.click" event and increment it into a variable eg, count +=1. but this only works if i click in the form, i want the program to run in the background and record all clicks done while the computer is on, and not just the clicks i do on the form.


Answer
You need to hook into system events to capture those. Read up on Platform Invoke (consuming Win32 API functions in .NET) and then read up on SetWindowsHookEx.

Here are a couple of links to show you how to code this up.


http://www.eggheadcafe.com/conversation.aspx?messageid=32112839&threadid=32112837
http://www.codeproject.com/KB/system/globalsystemhook.aspx

What are the steps to being a better programmer?




DayZd Jugg


I began programming in Assembler language, even before learning BASIC. I was pretty good at it for someone with no formal education on the subject. As a result though, programming in anything but a text editor confuses the heck out of me. As background info, I quit programming for 15 years and focused on networking. I did well and am busy doing that work now along with my HTML/ASP/VBScript/JScript/SQL programming work that keeps me fairly busy. I've been exposed to .NET programming via the Visual Studio program, but have had no training on it and going back to the start of this question, I am confused by the objects. As it is right now, I program in notepad and only use Frontpage to write tables and do other layout so I can basically verify that my tables are not missing any simple </td>'s, etc.

I suppose my question is that I would like to move out of VBScript and into a more robust language, but I don't understand all the dragging and dropping. It's just too simplistic or something. I think I'm confused by the ease of it, maybe? I don't know. In any event, I don't really care what modern language I have to learn, I just want to learn something new. Is there a tutorial out there somewhere that explains using the manufacturer's shell like Microsoft's Visual Studio that explains EVERYTHING leaving NOTHING to be assumed? One of my biggest gripes about tutorials is that they always make the assumption that you understand dragging a data connection to a specific location in a code page. I hate that. I don't get the dragging a data connection. I'm used to placing my conditional data connection in the global.asa file and calling it to use when I code a recordset.

Anyway, I am beginning to think I'm an idiot. I can't make heads or tails out of Visual Studio.



Answer
go to www.asp.net and watch the videos on either vb.net or C#.net they will walk you thru everything if you have a cd burner or a dvd burner i would burn it to a dvd and watch it on the tv and do it on your computer at the same time or what i first did before doing that is a lot of pausing and trying it out on my own after watching it!!! but it really works it's improved my skills and knowledge so much once you get the basics down then you can work your way on to other harder stuff and once you get Visual Studio most compliers work the same way so the hard part is just understanding one then the rest is just logic




Powered by Yahoo! Answers

Comments :

0 komentar to “I would like to know how the system stores the info of your mouseclick and how to call it in VB.NET?”
 

Sexy Lace Bikini

Leave little to the imagination in this super sexy booty short bikini transparent lace. Adjustable triangle top with peek-a-boo slits ties at neck and back. Matching ruffled booty shorts leave so little to the imagination! 90% Nylon 10% Spandex. Four way stretch means one size fits most. Unlined. Club Wear by Body Zone Read More

LG Scarlet

This event, which was attended by more than 200 media from Middle East and Africa, followed earlier events in Los Angeles and in London that drew celebrities for a mock premiere event to reveal the secret of “Scarlet, The Hit New TV Series,” which had been promoted through broadcast and online trailers.