• 0

[VB6] Remove Lines from a Text File


Question

I'm in the process of making a team statistics program where you create teams and add, edit, delete and sort players to a text file. I have my add player working, however I can't get the delete player to work. What it should do is remove all data belonging to that player from the text file.

I think what I need to do is remove the particular player (the one you are viewing) from the variable array, store the rest in a temp variable array (uniform number is an array, first name is an array, etc.) and then bubble sort these variables and rewrite the file. I can't figure out how to go about this though.

Here's what my main form looks like to get an idea as to how I have it set up:

captureooh.th.jpg

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.