By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,171 Members | 992 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,171 IT Pros & Developers. It's quick & easy.

Can We Read Text data From an EXE

P: n/a
HI
I have an Exe file when it runs ,there are just two controls on the
window.One is a ListBox and another is a Multi line Rich Edit
control.When i click on an item in the list some text is displayed in
the Edit control.Exe have a Hunderds of items in the List
controls,which display some text in edit control against an item
selection.

I want to read that data which is displayed in edit control against the
selection of an item in list controls .and want to place that data in a
Word file.Can any body tell me how i can do that.is there any API's
available to read that data.plz tell me.

Crime Master

Jun 21 '06 #1
Share this Question
Share on Google+
4 Replies


P: n/a
In article <11*********************@b68g2000cwa.googlegroups. com>,
CrimeMaster <aj******@gmail.com> wrote:
I have an Exe file
What's "an Exe file" ?
when it runs ,there are just two controls
What's a "control" ?on the window.
What's a "window" ?
One is a ListBox and another is a Multi line Rich Edit
control.
What's a ListBox, and what's a multi-line Rich Edit?
When i click
What does "click" mean?
on an item in the list some text is displayed in
the Edit control.Exe have a Hunderds of items in the List
controls,which display some text in edit control against an item
selection. I want to read that data which is displayed in edit control against the
selection of an item in list controls .and want to place that data in a
Word file.
What's a "Word file" ?
Can any body tell me how i can do that.is there any API's
available to read that data.plz tell me.


If fopen(), fread(), fgetc() is not the answer you were looking for,
then chances are excellent that as far as this newsgroup is concerned,
the answer is NO.

You appear to be asking questions related to some unnamed graphic
user interface; if you manage to figure out which interface you
are using, you should ask the questions in a newsgroup specific
to that interface or specific to your unnamed operating system.
This newsgroup only deals with that which is provided by the C
language itself, and the C language itself does not know any of
the terms I've pointed out above.
--
"It is important to remember that when it comes to law, computers
never make copies, only human beings make copies. Computers are given
commands, not permission. Only people can be given permission."
-- Brad Templeton
Jun 21 '06 #2

P: n/a

CrimeMaster yazdi:
HI
I have an Exe file when it runs ,there are just two controls on the
window.One is a ListBox and another is a Multi line Rich Edit
control.When i click on an item in the list some text is displayed in
the Edit control.Exe have a Hunderds of items in the List
controls,which display some text in edit control against an item
selection.

I want to read that data which is displayed in edit control against the
selection of an item in list controls .and want to place that data in a
Word file.Can any body tell me how i can do that.is there any API's
available to read that data.plz tell me.

Crime Master


when i try some fun program on visual basic.
i managed to change and read text in vb program rich edit box(once upon
a time i made a little e book creator :)

i couldnt exactly tell what you do but can tell basics

firstly compile an exe with plain form and lisbox in it(there must be
an hard coded list item in listbox i mean this item not added in run
time)
and make a program that reads a file byte by byte and changes to
chractrers(if you can find. Hex editör could be more usefull)
look to output and find hard coded item in text. this means listbox
codes near it
then make a plain form with listbox without any item and apply other
steps.
last step make only plain form
at the end compare 3 output
if you re carefull you can find the sign codes of listbox
after this you can manipulate the items in the listbox
good luck

Jun 21 '06 #3

P: n/a

CrimeMaster wrote:
HI
I have an Exe file when it runs ,there are just two controls on the
window.One is a ListBox and another is a Multi line Rich Edit
control.When i click on an item in the list some text is displayed in
the Edit control.Exe have a Hunderds of items in the List
controls,which display some text in edit control against an item
selection.

I want to read that data which is displayed in edit control against the
selection of an item in list controls .and want to place that data in a
Word file.Can any body tell me how i can do that.is there any API's
available to read that data.plz tell me.


Run strings on the exectuable, then write a suitable perl script to
filter out the text you want.

Duh, that's an easy problem.

Tom

Jun 21 '06 #4

P: n/a
In article <11**********************@y41g2000cwy.googlegroups .com>,
Tom St Denis <to********@gmail.com> wrote:

CrimeMaster wrote:
HI
I have an Exe file when it runs ,there are just two controls on the
window.One is a ListBox and another is a Multi line Rich Edit
control.When i click on an item in the list some text is displayed in
the Edit control.Exe have a Hunderds of items in the List
controls,which display some text in edit control against an item
selection.

I want to read that data which is displayed in edit control against the
selection of an item in list controls .and want to place that data in a
Word file.Can any body tell me how i can do that.is there any API's
available to read that data.plz tell me.
Run strings on the exectuable, then write a suitable perl script to
filter out the text you want.


That probably won't work.
Duh, that's an easy problem.


As totally, hilariously (and this is why I just love this group), and
ridiculously OT as this thread is, I must suggest:

http://www.winbatch.com

(Yes, I actually do understand what the OP is getting at)

(And look for the "Control Manager" extender...)

Jun 21 '06 #5

This discussion thread is closed

Replies have been disabled for this discussion.