How to insert binary to memo

H

haste

I have "Memo1" fields and button named "insert from files" :
OpenDialog1->Execute();
Memo1->Lines->LoadFromFile(OpenDialog1->FileName);
And when I open normal txt files everything is ok...
When I try to open files *.txt but with binary contents only bit of all file
is opened (only few lines) and inserting to Memo fields...
 
G

Gabriel

haste said:
I have "Memo1" fields and button named "insert from files" :
OpenDialog1->Execute();
Memo1->Lines->LoadFromFile(OpenDialog1->FileName);
And when I open normal txt files everything is ok...
When I try to open files *.txt but with binary contents only bit of all file
is opened (only few lines) and inserting to Memo fields...
I have a problem here with the shape of a function. What is the
solution? When I drop the assumption of constant arm lengths, does it
still hold?
 
B

Bob Hairgrove

I have "Memo1" fields and button named "insert from files" :
OpenDialog1->Execute();
Memo1->Lines->LoadFromFile(OpenDialog1->FileName);
And when I open normal txt files everything is ok...
When I try to open files *.txt but with binary contents only bit of all file
is opened (only few lines) and inserting to Memo fields...

You need to ask this question in a Borland newsgroup, specifically one
which deals with VCL. Unfortunately, it's off-topic in this group
which only discusses ISO/ANSI C++ language issues.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top