Solved

How can I update or Append a binary file?

Posted on 2000-02-23
1
154 Views
Last Modified: 2010-05-02
I want to append or Update a binary file into a disk. As I'm using a put statement to  to write bninary data into a file. From an array
I want to update the file each time I write binary data into a file without deleting the previous one.
 I don't want use get statement first to read data thenupdated together.
as the array data is too big.
H
0
Comment
Question by:gargjapan
1 Comment
 
LVL 18

Accepted Solution

by:
deighton earned 5 total points
ID: 2549625
Find out the size of the file using the Lof command ( Lof(1) for example)  and hence how many records there are and then position to the end of the file by using

 put #1,records+1,x
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now