473,804 Members | 2,107 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

detect if Ctrl R has been pressed

Mague
137 New Member
Hey,

Im a 13 yr old who needs help. I need a code which can detect if Ctrl R has been pressed. I cannot use e.key thingy because i have got text box on mi page so that doesnt work. I also need it to beable to be pressed and detected when my file is minimized

If someone could help i would apressate it

ty Mague
May 28 '07 #1
24 9308
Killer42
8,435 Recognized Expert Expert
Hey,

Im a 13 yr old who needs help. I need a code which can detect if Ctrl R has been pressed. I cannot use e.key thingy because i have got text box on mi page so that doesnt work. I also need it to beable to be pressed and detected when my file is minimized
This question keeps coming up from time to time. What you want to create is called a "keylogger" and to put it simply, we don't like them. Most of us go to great lengths to keep such things out of our systems, and don't like the idea of helping someone to create one. They are a major method used by scammers and spammers to steal information.

Please don't ask for help in creating one.
May 28 '07 #2
Killer42
8,435 Recognized Expert Expert
I've agreed to reopen this thread after an explanation via Private Message. Apparently what Ty wants to do is create a program which will perform automated data entry ("auto typer") when Ctrl-R is pressed.

I don't know how you're going to do it though, Ty. Perhaps you can search out some API calls to intercept Windows messages or something. If you try to install it on anyone else's PC, you can probably expect their antivirus software to object, since it will look like a keylogger.
May 29 '07 #3
SammyB
807 Recognized Expert Contributor
Ty, I'm still confused. What do you really want to do? automated data entry ("auto typer") makes no sense to me. Go slow: I'm old, remember? ;o)>>> Sam
May 29 '07 #4
Mague
137 New Member
The programing im making has 3 textboxs. the textboxs do:
1st: You type in What you want to say over and over again
2nd: seconds in between
3rd: How many times to say it

Alright now

To activate it you press Ctrl R (r meaning Run) on the client you want it to type to. I couldnt do a button because
1 Doesnt look gud
2 It would be easier

Also i despriatly need the Ctrl S because if i want to stop it before the 3rd text box runs (times to say) i cant open the Application easier then i can press Ctrl s. The only problem with the e.keycode is that when u have textbox on your form it doesnt work and it also doesnt work if it minimized. I also know its possible because i have seen it done before. I also know it was done with VB because i got a Decomplier and searched for all the VB run programs on mi computer and it was one of them


Also Killer my name mague and ty mean Thank you lol doesnt matter thou

anyways Ty
Mague
May 30 '07 #5
Killer42
8,435 Recognized Expert Expert
Oops! :)

By the way. If you have a decompiler, why don't you decompile the existing program, and see how they did it?
May 30 '07 #6
Mague
137 New Member
The decompiler doesnt let you see the source its all like jiberish

you can get them from
www.decompiler-vb.com
if u were intrested

All it does is give u all these anoying codes

Gud idea thou

Ty anyways
Mague
May 31 '07 #7
Killer42
8,435 Recognized Expert Expert
I had a look there, but couldn't find a de-compiler. Just lots of links to other pages of links (I hate that).

Which de-compiler did you use? (Are you sure it wasn't the "convert VB to C" one? Maybe you're trying to read C code...)
May 31 '07 #8
SammyB
807 Recognized Expert Contributor
Maybe you're trying to read C code...)
Is that possible? ;o)>>>
May 31 '07 #9
Mague
137 New Member
The decompiler is vbDeformer



ty for all you help
Mague
Jun 2 '07 #10

Sign in to post your reply or Sign up for a free account.

Similar topics

6
7196
by: Rune | last post by:
Hey I'm trying to build a gui application and need to know if the user is actually holding down the shift or ctrl key. That is, if the user currently is holding down the shift key. In pseudo code this will boil down to something like this: def test: if user presses shift: return SHIFT_IS_PRESSED
1
20469
by: Scott Shaw | last post by:
Hi all, I was wondering if you could help out with this problem that I am having. What I am trying to do is detect keyboard input in a while loop without halting/pausing the loop until the key is pressed (without hitting return). I looked at serveral faq's on the net and installed the cspan readkey module and neither seems to work most likey its me since I am getting frustrated. but anyway here's a sample code. while (1) { if...
10
23550
by: chirs | last post by:
I have a code to disable ctrl-v (paste) on the 2nd box. The problem is that when I type ctrl-v, the text shows, then disappear after I release ctrl-v. How can I make it not to show in the box. In VB, I can set keyascii=0 to kill the input. Is there a similar way to do it in JavaScript? Thanks a lot. <HTML><head></head><body> <form name="myForm"> Password: <input type="text"><br> Comfirm: <input type="text" name="myText"
1
2638
by: Pedro Graca | last post by:
Well ... I've been using Windows for a long time before I switched to Linux. I'm very used to type CTRL-ALT-DEL everytime I'm leaving my computer or arriving to it. It's hapenned _twice_ (in the last six months or so) for my Linux box. I want to be able to reboot my machine with CTRL-ALT-DEL, but I don't want to do it by mistake. So, I noticed /etc/inittab has these lines
3
7125
by: Glen Hong | last post by:
I have set up a hotkey using RegisterHotKey API function for Ctrl-Tab. Firstly, I can rap this when Ctrl-Tab is pressed however if I want to add an addition hotkey how can I distinguish between which hotkey was pressed? Secondly I am trying to replicate the Ctrl-Tab functionality you have in the DotNet IDE when you hold down the Ctrl key and then additional use the tab key you can cycle thru the MDI Children. I would like to gain the...
2
2496
by: Steph. | last post by:
Hi, A simple question : How can I detect if the CTRL key is pressed when User click on a control ? Thanks, Steph.
2
5047
by: Justin | last post by:
I'm creating a kiosk type application and this would be too simple for someone to figure out: Private Declare Function GetAsyncKeyState Lib "user32" ( ByVal vKey As Short) As Short Const VK_ESCAPE As Short = &H1B How can I upgrade this to detect multiple keystrokes? For example CRTL + E Any points in the right direction would be much appreciated. VB.NET 2005
1
2483
by: mark4asp | last post by:
<!-- // How to detect the rendering mode which the browser is currently in (works for IE6). // Ctrl+Shift+s displays indicates whether the browser is in quirks or standards mode. // Detect keypress var captureKeys = function(ev) { ev = ev || window.event; // gets the event in ie or ns kCode = ev.keyCode || ev.which; // gets the keycode in ie or ns
4
8501
by: vunet | last post by:
When user enlarges font with Ctrl+ I want to increase the dimensions of my fixed sized div. IE7 uses zoom-in, so it will increase div dimensions automatically. Firefox, however, increases font only, not div element. I thought to implementing this by checking if my div width or height changed and then resize it. But this approach did not work: div.addEventListener('resize', someFunc, false); Please advise. Thanks
0
9594
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10595
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10343
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10341
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10089
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9171
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
4308
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3831
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3001
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.