New File Creation
- From: steve_comcast2007@xxxxxxxxxxx
- Date: Wed, 24 Oct 2007 09:17:14 -0700
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.
.
- Follow-Ups:
- Re: New File Creation
- From: Patrice
- Re: New File Creation
- Prev by Date: Re: how to impose numerical limits on a textbox??
- Next by Date: Re: expression too complex
- Previous by thread: Re: Overloads vs Shadows
- Next by thread: Re: New File Creation
- Index(es):
Relevant Pages
|