txgeekgirl1
Programmer
I have a single column txt with seperator and a carriage return. Here - msgbox(s) is return the name of the file, not the first line inside the txt. Can anyone tell what I messed up?
Code:
Dim myRootpath As String = "\\backupcenter\PDF_Archives$\MedRecords\"
Dim myTemplatePath As String = "\\rbas\e$\EMR\Templates\"
Dim mySource As String = "MHADLive" 'change as needed for conversions MHADLive, MHCHLive, MRA
Dim PatList As String = "\\rbas\outbox\2818\mhchCur.txt" 'change as needed mhadCur. mhchCur, mraCur"
Dim PatientCB As String
Sub Main()
Dim str As String() = PatList.Split(New [Char]() {CChar(vbCrLf)})
For Each s As String In str
MsgBox(s)
Next