473,385 Members | 1,814 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,385 software developers and data experts.

Can We Read Text data From an EXE

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
4 2637
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

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

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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Reply Via Newsgroup | last post by:
Folks, I'm pretty sure it can be done, and I'm doing pretty good with my javascript so I'm pretty sure I just need a quick point in the right direction... If my web page is referenced in the...
1
by: Magix | last post by:
Hi, I have these string data: str_data1, str_data2, str_data3, which capture some value after a routine process A. Then I would like to write (append) these 3 string values into a text file each...
0
by: Jerry | last post by:
Below is ALL the code for all the databases... Here's the problem: I callup the aspx file in IE and the form comes up just fine. When I select a person to update, I get the subject error. ...
16
by: Adda | last post by:
If I cycle through the MdiChildActivate event of the parent form I can read text in a textbox on the child mdiform -- console.writeline(Me.ActiveMdiChild.Controls(1).Text) But if I have a sub...
8
by: james | last post by:
I am trying to use Filestream to read a file ( .DAT) that contains values in HEX that I want to convert to text. I know the different offset addresses for each portion of the data I am trying to...
0
by: phplasma | last post by:
Hey, I am currently attempting to implement a multi-threaded C# socket, using SSL (.pem file/certification/private key combo) server using Visual Studio C# Express. I have successfully made...
3
by: Ray | last post by:
Hello World, I made a Windowsform that reads data from a CSV file. It works fine, but when I have read the data of a record I have to re-Debug the form to read another record. So when I put a...
3
by: sejal17 | last post by:
hello Can any one tell me how to read multiple worksheets from a single excel file.I have stored that excel in xml file.so i want to read that xml that has multiple worksheet.And i want to store...
3
by: sejal17 | last post by:
hello Can any one tell me how to read multiple worksheets from a single excel file.I have stored that excel in xml file.so i want to read that xml that has multiple worksheet.And i want to store...
5
by: dm3281 | last post by:
Hello, I have a text report from a mainframe that I need to parse. The report has about a 2580 byte header that contains binary information (garbage for the most part); although there are a...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.