Good afternoon,
Can someone help to to understand how to write a student's name and final grade to a sequential file. I am doing this in Visual Basics. I see the syntax for write and read, but is not understanding how to use it in coding.
Deegirl
0
Newbie Poster
Recommended Answers
Jump to PostThe answer depends on whether you are replacing what's in the file (or even if there is already a file) or adding to an already existing file. The easiest methods involve reading or writing all of the lines at once. For example, to read all lines of a text file …
Jump to PostTry System.IO.StreamReader or add the following line at the top of your code
Imports System.IO
All 7 Replies
Reverend Jim
4,780
Hi, I'm Jim, one of DaniWeb's moderators.
Moderator
Featured Poster
Deegirl
0
Newbie Poster
Reverend Jim
4,780
Hi, I'm Jim, one of DaniWeb's moderators.
Moderator
Featured Poster
Deegirl
0
Newbie Poster
Deegirl
0
Newbie Poster
Reverend Jim
4,780
Hi, I'm Jim, one of DaniWeb's moderators.
Moderator
Featured Poster
Deegirl
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.