|
-
Apr 22nd, 2009, 02:22 AM
#1
Thread Starter
Member
check text in another application
hello
i see in some game while game is runing if write my username in any other application like yahoo,msn,Browser ,even not in notebad
it show Warn that this username is protected
so i want in my application to monitor if user try to write any data from my program into another program
by another way :
i want to check other application that contain texts(labels,lists,text boxes,.....etc) all other application Start from folders, Browsers, ...etc
is there some way ??
if not in VB6 can i made this at VB.net ??(prefer VB6)
thanks
-
Apr 23rd, 2009, 06:01 PM
#2
Thread Starter
Member
Re: check text in another application
hey
is my question is not clear ???
or there aren't any solution for this ??
or it is very hard ?
ok as apart of my questions :
just want to know how to check(search for) Text in web page Browser??
i hope some one replay me this time
thanks
-
Apr 23rd, 2009, 06:09 PM
#3
Hyperactive Member
Re: check text in another application
You're not being clear at all, I feel like what you're asking is if you can protect a sign in ID for your program from it being used on MSN or something, which I'm pretty sure is not possible, and if you're talking about something else, then I can't help you.
-
Apr 23rd, 2009, 06:21 PM
#4
Thread Starter
Member
Re: check text in another application
sorry if it is not clear from start
no i want to search for some text in another application
lets say for now i want to search for some text in Browser
i try one but it just search in special url not at browser
(it search at some thing like that
vb Code:
check (wanted text , Page you want url)
that not i need , i need like this
vb Code:
check(my text, process my default browser or word document)
is it clear now ??
-
Aug 3rd, 2009, 09:15 PM
#5
Thread Starter
Member
Re: check text in another application
hello if there are no solution for this
please tell me
-
Aug 3rd, 2009, 11:52 PM
#6
Frenzied Member
Re: check text in another application
Some API's to get you started...
FindWindow or FindWindowEx
EnumChildWindows
SendMessage with gettext parameter
Tools you will need to employ to help you get what you want...
Spy++
Good Luck
Option Explicit should not be an Option!
-
Aug 4th, 2009, 12:37 AM
#7
Addicted Member
Re: check text in another application
Your best bet is probably a system-wide hook, like a keylogger almost. This way you can watch all keyboard input without having to watch every window and application opened in Windows.
In fact, this may be the only way to reasonably watch every possible window.
System-wide hooks are not a trivial undertaking. I would suggest a book;
Subclassing & Hooking with Visual Basic. ISBN: 0-596-00118-5.
It covers both VB and VB.NET. There's a couple on Ebay right now but they're kinda expensive. You should be able to find it at a used bookstore for like $10.00.
Good luck.
-
Dec 11th, 2009, 07:13 AM
#8
Thread Starter
Member
Re: check text in another application
 Originally Posted by ZenDisaster
Your best bet is probably a system-wide hook, like a keylogger almost. This way you can watch all keyboard input without having to watch every window and application opened in Windows.
In fact, this may be the only way to reasonably watch every possible window.
System-wide hooks are not a trivial undertaking. I would suggest a book;
Subclassing & Hooking with Visual Basic. ISBN: 0-596-00118-5.
It covers both VB and VB.NET. There's a couple on Ebay right now but they're kinda expensive. You should be able to find it at a used bookstore for like $10.00.
Good luck.
thanks For replaying and sorry for late i was lost the thread URL
[vb5prgrmr]
thanks i think you understand what i need
i will search this APi and Study it and tell you
[ZenDisaster]
thanks but this not solution as the text may be already in page or writen by some programs like on-sceen Keyboard
so i need to search in Browser pages or programs that have text tools like text boxes labels ...
thanks agian
-
Dec 11th, 2009, 08:35 AM
#9
Hyperactive Member
Re: check text in another application
Using Sendmessage api Or DDE, you can transfer strings from an application to another !
Tags for this Thread
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
|