473,405 Members | 2,261 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,405 software developers and data experts.

How to insert binary to memo

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...

Feb 1 '06 #1
2 1916
haste wrote:
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?

--
Who is General Failure and why is he reading my hard disk?
Feb 1 '06 #2
On Wed, 1 Feb 2006 10:22:24 +0100, "haste" <ha***@nospam.irc.pl>
wrote:
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.

--
Bob Hairgrove
No**********@Home.com
Feb 1 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Olaf Winterton | last post by:
I'm trying to insert this text into a memo field: Set cnn = CreateObject("ADODB.Connection") str = Server.MapPath("database/alumni.mdb") strDB = "Provider=MICROSOFT.JET.OLEDB.4.0;Data Source=" &...
0
by: htmlgeek | last post by:
I'm adding and updating records in an Access .mdb via WWW .asp page. Authored in Dreamweaver 2004 MX. Help is welcome on this one. I have a great set of pages that work fine, but it seems that...
2
by: terpatwork | last post by:
Hi, (1) I have an access form that allows users to enter data, and when they click a button, the OnClick code that I've written uses a SQL INSERT statement to insert the data into the database. I...
1
by: microsoft.public.dotnet.languages.csharp | last post by:
I am trying to insert a record into an Access database that has a memo field. It keeps giving me an error. I am using C#, Access 2000 and OleDB. Anyone know what the trick is to doing this?...
0
by: David A. Schramm | last post by:
I am using OLE DB in .NET 2 to insert a row into an Access database. The source is a RTF control and the column is a Memo field. The data is being truncated along the way. The control's rtf...
1
by: Bob Bridges | last post by:
I don't see it in the documentation, but it seems whenever I try an append command adding a value to a memo field, the query bombs. Here's a sample: DoCmd.RunSQL "INSERT INTO Who (Type, Name,...
1
by: oanhhuynh | last post by:
Hi, I'm designing 1 form include 2 Unbound Object Frame to insert image and memo that describe the product. On database in Access have 2 fields image and description with OLE Object property ...
5
by: betaphase | last post by:
I am new to Access and I'm having trouble with a database someone else created. I am wondring why I am not being able to insert more than 255 characters to a memo field in Access 2003. We need a...
3
by: Kunal Desale | last post by:
Hi, How to insert/update data in foxpro table field having datatype MEMO using Linked Server? I have written sql insert queries in which i have used linked server to insert data into foxpro...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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...
0
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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,...
0
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...
0
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...

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.