Ok here is where i assign the paths
ctmpF1 and CtnpF2 are used by the program to get the path to store each file that is scanned.
Public CtmpF1 As New VB6.FixedLengthString(256)
Public CtmpF2 As New VB6.FixedLengthString(256)
CtmpF1.Value = imgpath & "B" &
VB.Right("0000" & CStr(Img_count), 4) & "F." & CtmpExt & Chr(0)
CtmpF2.Value = imgpath & "B" &
VB.Right("0000" & CStr(Img_count), 4) & "R." & CtmpExt & Chr(0)
pathF = Trim(CtmpF1.Value).Replace(" ", vbNullChar)
pathR = Trim(CtmpF2.Value).Replace(" ", vbNullChar
Owen, Programmer