text file

  1. V

    Question writing fixed length text file

    I am struggling to find a way to write text file with various fixed length fields from a dataset Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load Me.ExportTableAdapter.Fill(Me.NewDataSet.Export) 'write to text file Dim sw As New...
  2. N

    Question Find Specific Text In Text File

    Hi! I have a little question about txt-files...This is the case: I am going to make a small software for editing particular parts in text files, so you don't have to do it by hand. In this program, i need to find several words in a text file and retrieve the text or number that is after the...
  3. K

    Question Reading a specific line in a text file?

    I have been learning VB for about 3 months now at college and decided to enhance my skills by making my own project at home. My project is basically a game where you have to guess if the next number will be higher or lower than the previous version and you can place bets on it. I have done all...
  4. IBgemeda

    vb 2008 read/write to/from datagridview/text file

    Hello. Code is for read and write to and from textfile and datagridview. vb 2008. Works well enough. Only problem is it doesn't save to text file the first input placed into any cell if it's the only input or the last of series of inputs. Your time is much appreciated! Thanks In advance...
  5. B

    Writing Data from a DataGridView to a Text File

    I have been using this code, see below, to try and write data from the DataGridView to a text file. It works but it puts an extra comma after each line and thinks that there has been another line so puts an extra 4 commas on a new line. So the text file looks like this: 9,Here to There,1,15...
  6. R

    How to give fixed width in datagridview to save in text format

    I have a datagridview and few testbox. User types in the details into the text box and when pressed enter it adds to the datagridview. Now the question is user will be allowed to save the rows into a text file but it in not saving in a proper format ie i am getting as: Quantity Name Rate...
Top Bottom