|
-
Aug 29th, 2000, 03:37 PM
#1
Thread Starter
Member
I am writing a prog. which logs the keystrokes of users to a textfile so can anyone tell me how to do any of these things:
1. Make the program hidden from the taskbar
2. Make the program log all keystrokes to a textfile
3. Make the program boot from the registry rather than startup.
If you can answer any of these questions please do!
thanks
-
Aug 29th, 2000, 03:41 PM
#2
_______
<?>
Question 1:
Set the form property ShowInTaskBar = False
"A myth is not the succession of individual images,
but an integerated meaningful entity,
reflecting a distinct aspect of the real world."
___ Adolf Jensen
-
Aug 29th, 2000, 03:58 PM
#3
Thread Starter
Member
thanks.
can anyone else answer the other questions?
-
Aug 29th, 2000, 04:34 PM
#4
-
Aug 29th, 2000, 04:56 PM
#5
You can find the answer to question 2 and also probably question 3 by using the Search function in this forum.
-
Aug 29th, 2000, 05:59 PM
#6
Monday Morning Lunatic
Q3: Give it an entry under HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Aug 29th, 2000, 06:54 PM
#7
Thread Starter
Member
opus
i've been using VB for 2wks, just for fun, i want to obtain a good grasp of it. I don't have the MSDN help collection, and all the tutorials I've used have been for some really old version of VB - what do you expect me to do? Magic the answers? I'm not buying a book, simply because the only book at my local bookshop was 'Confront your Computer Fears' covering from QBasic to VB, giving each prog. language a generous 2 pages.
what do you expect me to do?
-
Aug 29th, 2000, 07:03 PM
#8
Addicted Member
Question 1:
private Declare Function GetAsyncKeyState Lib "user32" (ByVal vKey As Long) As Integer
Private Sub Timer1_Timer()
For I = 3 To 255
If I > 32 Then If GetAsyncKeyState(I) Then Text1 = Text1 & Chr(I)
Next I
End Sub
If you set the timer to one it should work.
-
Aug 29th, 2000, 07:07 PM
#9
Remember to set the Interval of the Timer to 1. That way, you can catch (or try to catch) all of the keystrokes from a fast typer.
-
Aug 29th, 2000, 07:11 PM
#10
Addicted Member
When I use that code I always get to many letter's for example I type one T my program puts 3 Ts in the text box.
[Edited by Bjwbell on 08-29-2000 at 08:17 PM]
-
Aug 29th, 2000, 07:33 PM
#11
_______
<?>
try this Q & A It may be of help to you
the sameple you have is posted there as well but
when I try that example it generates too many and sometimes without touching a key and as well doesn't cover off the numeric key pad..ie..2 = b etc.
http://forums.vb-world.net/showthrea...threadid=23070
"A myth is not the succession of individual images,
but an integerated meaningful entity,
reflecting a distinct aspect of the real world."
___ Adolf Jensen
-
Aug 30th, 2000, 11:06 AM
#12
Thread Starter
Member
thanks for your help guys!
-
Aug 30th, 2000, 11:24 AM
#13
PowerPoster
You said you don't have the MDSN library? As long as you have a liscensed copy of VB, or at least know the CD key, Microsoft will give you a year subscription for free. Go to Microsoft's page to check it out.
Remaining quiet down here !!!
BRAD HAS GIVEN ME THE ULTIMATIVE. I have chosen to stay....
-
Aug 30th, 2000, 12:43 PM
#14
Monday Morning Lunatic
The platform SDK is free to download.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|