Results 1 to 4 of 4

Thread: [RESOLVED]Substring problem

Threaded View

  1. #1

    Thread Starter
    Member
    Join Date
    Dec 2018
    Posts
    61

    Resolved [RESOLVED]Substring problem

    Hey guys! Whats wrong with this code? I cant find out
    Code:
    Dim streamer As System.IO.StreamReader
    streamer = My.Computer.FileSystem.OpenTextFileReader("kerdes.txt")
    Dim temp As String = streamer.ReadLine()
    temp = temp.Replace(" ", "")
    valasz(i, j) = temp
    It gives me the "Additional information: Object reference not set to an instance of an object." at the line temp = temp.Replace...
    Last edited by Daveeed; Feb 15th, 2019 at 03:52 PM.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width