473,769 Members | 5,846 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2674
In article <11************ *********@b68g2 000cwa.googlegr oups.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,whi ch 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************ **********@y41g 2000cwy.googleg roups.com>,
Tom St Denis <to********@gma il.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
3295
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 address bar, how can I read these arguements? Thus, with
1
4309
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 time after routine process A, the text file is named "mytext.dat" in following format with "#####" as separator. The maximum entries of them is 5. When reaching the fifth entry, it will delete the very first entry.
0
683
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. Aparently, when I select a person, it's not selecting anyone and returning this error. Here's the full error: Description: An unhandled exception occurred during the execution of the
16
453
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 in the Parent form and reference a child mdi form like this: Sub ReadText()
8
7259
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 retrieve. But, I am having problems actually reading the data for the number of Bytes that I need to get from each address. Here is some of the code I am currently working with: Dim fsread As FileStream = File.Open(OpenFileDialog1.FileName,...
0
4753
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 the client application establish a connection, and send data, which appears in plain, de-crypted text on the server - this works.
3
1818
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 new seek item in the textbox after I searched for an item and click the seek button.. it seems it is doing nothing. And also... what code can I use to genereate a messagebox message when a seek item is not at all in the CSV file?
3
6249
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 that multiple worksheet data in different table.How can i do it.Below is my xml file. <?xml version="1.0"?> <Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:o="urn:schemas-microsoft-com:office:office" ...
3
5402
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 that multiple worksheet data in different table.How can i do it.Below is my xml file. <?xml version="1.0"?> <Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:o="urn:schemas-microsoft-com:office:office"...
5
11279
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 couple areas that have ASCII text that I need to extract. At the end of the 2580 bytes, I can read the report like a standard text file. It should have CR/LF at the end of each line. What is the best way for me to read this report using C#. It is...
0
9586
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10210
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
10043
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...
0
9861
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
8869
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
7406
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6672
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5298
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5446
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.