S
steve_comcast2007
I have and issue with if you already have a filename created how can i
get it to check and make
sure that if a file name is already created it will sequence in the
correct order.
Dim txtFile As New FileInfo(strTempFile)
If txtFile.Exists Then
stream = New FileStream(strTempFile,
FileMode.CreateNew)
End If
When i call this check it will not create a new filename and sequence
however it will tell me that the file is already there...how can I
create a newfile with an incremented sequence.
Now i know there is no code for the file sequence which works jsut
find. However I am asking if anyone has an idea as to why when i call
the CreateNew File it will not create a new file.
get it to check and make
sure that if a file name is already created it will sequence in the
correct order.
Dim txtFile As New FileInfo(strTempFile)
If txtFile.Exists Then
stream = New FileStream(strTempFile,
FileMode.CreateNew)
End If
When i call this check it will not create a new filename and sequence
however it will tell me that the file is already there...how can I
create a newfile with an incremented sequence.
Now i know there is no code for the file sequence which works jsut
find. However I am asking if anyone has an idea as to why when i call
the CreateNew File it will not create a new file.