473,396 Members | 1,997 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Word blocking

Ok, this is gonna sound really stupid, and I doubt it's possible, but
is there any way to make a program that'll stop you from typing
certain words? People are complaining that I type lol too much
(especially my gf...lol [see?...lol]), and I also could use it for
other things (which I shall not name here)so...is it somehow possible?
Jul 19 '05 #1
7 1417
Urza9814 wrote:
Ok, this is gonna sound really stupid, and I doubt it's possible, but
is there any way to make a program that'll stop you from typing
certain words? People are complaining that I type lol too much
(especially my gf...lol [see?...lol]), and I also could use it for
other things (which I shall not name here)so...is it somehow possible?


You could use the new "BrainTap" peripheral and send it the appropriate
commands to keep you from typing "lol", however that would not be
standard C++.

NR

Jul 19 '05 #2

"Urza9814" <Ur*****@hotmail.com> wrote in message
news:50**************************@posting.google.c om...
Ok, this is gonna sound really stupid, and I doubt it's possible, but
is there any way to make a program that'll stop you from typing
certain words? People are complaining that I type lol too much
(especially my gf...lol [see?...lol]), and I also could use it for
other things (which I shall not name here)so...is it somehow possible?


You mean you don't want those letters typed ANYWHERE, in ANY PROGRAM? I
suppose it's possible, but it's got to be about the strangest request I've
ever heard. In Windows, you can use a "hook" to trap keypresses, but you'd
have to ask in a Windows newsgroup for how to implement that.

As a design issue, what would you do if the user (you?) were typing, and so
far had typed in the 'l' and the 'o"...what would happen when you hit the
'l' again? Nothing? And what about typing "lollipop", or other words that
contain "lol"? In any case, you're opening a rather large can of worms when
you start messing around with what the user can and cannot do, especially if
that user is not you!

As for preventing YOU from typing in "lol", have your girlfriend stick you
with a fork every time you do it. Eventually you'll learn. :-)

-Howard

Jul 19 '05 #3
Howard wrote:
As for preventing YOU from typing in "lol", have your girlfriend stick you
with a fork every time you do it. Eventually you'll learn. :-)


I like the "BrainTap" periferal idea better.

NR

Jul 19 '05 #4
> Ok, this is gonna sound really stupid,

Mmmm...
Jonathan
Jul 19 '05 #5
"Urza9814" <Ur*****@hotmail.com> wrote in message
news:50**************************@posting.google.c om...
[...]
(especially my gf...lol [see?...lol]),
I suggest upgrading to GirlFriend 2.0. Fewer errors, better
performance, but fairly costly.
and I also could use it for other things (which I shall not name
here)
Which sounds like the real reason, and probably an illicit one.
Although preventing someone from typing something doesn't
seem like a useful h@X0r tool, so I can't imagine what. Unless
this were a trojan to be installed on someone else's computer,
and you wanted to prevent them from entering their password,
or something.
so...is it somehow possible?


Besides underspecifying the problem, this isn't a C++-specific
question. If there is a solution, it could be implemented in any
number of languages. It's really a function of the hardware
and operating system in question, and varies according to
each, so you should look for a forum where people talk about
your platform.

Dave

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.521 / Virus Database: 319 - Release Date: 9/23/2003
Jul 19 '05 #6
"David B. Held" <dh***@codelogicconsulting.com> wrote in message news:<bm**********@news.astound.net>...
"Urza9814" <Ur*****@hotmail.com> wrote in message
news:50**************************@posting.google.c om...

I suggest upgrading to GirlFriend 2.0. Fewer errors, better
performance, but fairly costly.
lol...I'll think about it... :-P
Which sounds like the real reason, and probably an illicit one.
Although preventing someone from typing something doesn't
seem like a useful h@X0r tool, so I can't imagine what. Unless
this were a trojan to be installed on someone else's computer,
and you wanted to prevent them from entering their password,
or something.
no...not a 'h@X0r tool'...but...well...I'm 13...and there's stuff I do
that I really shouldn't...I'll just say that...

Besides underspecifying the problem, this isn't a C++-specific
question. If there is a solution, it could be implemented in any
number of languages. It's really a function of the hardware
and operating system in question, and varies according to
each, so you should look for a forum where people talk about
your platform.
what I mean is, is it possible in C++? I don't have a compiler for
anything else, and most aren't free anyways
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.521 / Virus Database: 319 - Release Date: 9/23/2003

Jul 19 '05 #7

"Urza9814" <Ur*****@hotmail.com> wrote in message

You're missing the point:

"....you should look for a forum where people talk about your platform."


what I mean is, is it possible in C++? I don't have a compiler for
anything else, and most aren't free anyways


This newsgroup discusses aspects of the C++ language itself, not
platform-specific implementation issues. Check in a newsgroup that
discusses whatever operating system you're using.

-Howard

Jul 19 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Hal | last post by:
I am experiencing blocking problems on SQL Server 2000, SP3a. I have read the posts and set up a job SQL agent to report on these occurences I save the results to a table before executing an sp to...
3
by: David Sworder | last post by:
This message was already cross-posted to C# and ADO.NET, but I forgot to post to this "general" group... sorry about that. It just occured to me after my first post that the "general" group readers...
3
by: Mario | last post by:
Hello, I couldn't find a solution to the following problem (tried google and dejanews), maybe I'm using the wrong keywords? Is there a way to open a file (a linux fifo pipe actually) in...
3
by: Mike MacSween | last post by:
Office 2000 From Access I've been starting an instance of word and doing a mail merge. Everything hunky-dory until I applied SP1 yesterday. Now this: dim wrd as Object set wrd =...
7
by: Michi Henning | last post by:
Hi, I'm using a non-blocking connect to connect to a server. Works fine -- the server gets and accepts the connection. However, once the connection is established, I cannot retrieve either the...
3
by: loosecannon_1 | last post by:
I get a 90-120 second blocking when send 15 or so simultaneous queries to SQL Server 2000 that query a view made up of two joined tables. After each query is blocking for the same amount of time...
1
by: opi | last post by:
My blocking TCP server hangs in the Accept method when the client software sometimes gets an error. Are there any ways to stop this blocking in the Accept method so I dont have to restart the...
1
by: =?Utf-8?B?Sm9hY2hpbQ==?= | last post by:
I have an unmanaged C++ project which acts as a TCP client. However, the C++ client uses non-blocking mode and the tcplistener in the C# project is blocking. I am not sure if this matters, but I'm...
12
by: puzzlecracker | last post by:
is it even possible or/and there is a better alternative to accept input in a nonblocking manner?
3
by: Greg (codepug | last post by:
For the purpose of viewing a document that I would like to modify on rare occassion using word. I would like to create a document with MS Word, and then have my Access Application launch and...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
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...
0
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...

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.