How to write to a specific line
In a program I am writing I need to be able to write to a specific line in a textfile. I don't know of anyway to do this except just rewriting the whole textfile which would be a pain to do. Does anyone know how to do this? To clear up any confusion that may have been caused I'll try to show what needs to be done.
This is the textfile I have
I need to write a specific string into here
The extension list could go on for a while and would take a lot more coding to rewrite the file.
By Volker Held in forum Java
Last Post: 07-05-2002, 08:28 AM
By John in forum VB Classic
Last Post: 08-08-2000, 10:17 AM
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL