Click here to Skip to main content
12,300,878 members (64,139 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C# VB VB.NET
i want to write and read from a file such that character at fixed line and column no... please help me how to do that..
Posted 5-Dec-11 7:29am
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

You would have to use binary readin/writing.

915,000 google results for search phrase "C# random access file"[^]
  Permalink  
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

You need to learn some basics of reading and writing in textfile before accomplish this task
How to: Read From a Text File (C# Programming Guide)[^]
How to: Write to a Text File (C# Programming Guide)[^]
whatever you can use
Dim lines As String() = IO.File.ReadAllLines("file path here") 
for more reference you can take a look at some given link
Read a certain line in a text file[^]
read a specific line from a txt file in VB .net[^]
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160525.2 | Last Updated 22 Jan 2013
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100