Public Function SaveIt() As String
Dim intCounter As Integer = 0
Dim strNewPath = "D:\Data\MsOffice\Projects\Toll Connect\Postcodes\TCPostcodes\TollWorks.csv"
Dim strHoldString As String
Dim strWriter As StreamWriter
'Create the file then write the records ....
strWriter = New StreamWriter(strNewPath)
The above code is generating an error "Overload resolution failed because no accessible 'New' can be called without a narrowing conversion:". System.IO has been imported. Can anyone please help?