Hi to all ,how can write these below vb6 statements into c# language.
VB6 STATEMENTS: If (InStr(Len(sLocation), sLocation, "\") = 0) And sLocation <> "" ThensLocation = sLocation & "\"
End If
If Not FSO.FolderExists(sLocation & "ExportFiles") Then
FSO.CreateFolder (sLocation & "ExportFiles")
End If
sLocation = sLocation & "ExportFiles\" & sFileName