Click here to Skip to main content
15,905,874 members
Home / Discussions / C#
   

C#

 
GeneralRe: how to get file present on another web site Pin
sushilbondre23-Jan-09 4:41
sushilbondre23-Jan-09 4:41 
GeneralRe: how to get file present on another web site Pin
Dave Kreskowiak23-Jan-09 13:49
mveDave Kreskowiak23-Jan-09 13:49 
GeneralRe: how to get file present on another web site Pin
sushilbondre24-Jan-09 4:17
sushilbondre24-Jan-09 4:17 
GeneralRe: how to get file present on another web site Pin
Dave Kreskowiak24-Jan-09 4:42
mveDave Kreskowiak24-Jan-09 4:42 
GeneralRe: how to get file present on another web site Pin
sushilbondre25-Jan-09 18:46
sushilbondre25-Jan-09 18:46 
GeneralRe: how to get file present on another web site Pin
Dave Kreskowiak26-Jan-09 2:06
mveDave Kreskowiak26-Jan-09 2:06 
Questionretrieving, editing, updating a single table row Pin
Lodeclaw21-Jan-09 5:31
Lodeclaw21-Jan-09 5:31 
QuestionFile creation and naming increment Pin
Terick21-Jan-09 4:55
Terick21-Jan-09 4:55 
Hi,

For my web application, I am creating a text file that is stored in a shared network folder. This file needs to have a generic name (ie Text.txt) and each subsequent file will be named with incrementing numbers(Text2.txt then Text3.txt, etc). How do I create the function that will open the target folder, look to see what the last created file was and then create the new file with the appropriate number added to the filename? I also need to pass the created file name to my second webform where it will be monitored.

I want to execute the creation of the text file on a button click.

Thanks in advance for any help given!
AnswerRe: File creation and naming increment Pin
EliottA21-Jan-09 5:02
EliottA21-Jan-09 5:02 
GeneralRe: File creation and naming increment Pin
musefan21-Jan-09 5:10
musefan21-Jan-09 5:10 
GeneralRe: File creation and naming increment Pin
EliottA21-Jan-09 5:12
EliottA21-Jan-09 5:12 
GeneralRe: File creation and naming increment Pin
musefan21-Jan-09 5:15
musefan21-Jan-09 5:15 
AnswerRe: File creation and naming increment Pin
PIEBALDconsult21-Jan-09 5:20
mvePIEBALDconsult21-Jan-09 5:20 
AnswerRe: File creation and naming increment Pin
Tom Deketelaere21-Jan-09 5:31
professionalTom Deketelaere21-Jan-09 5:31 
AnswerRe: File creation and naming increment Pin
User 665821-Jan-09 5:45
User 665821-Jan-09 5:45 
AnswerRe: File creation and naming increment [modified] Pin
Luc Pattyn21-Jan-09 5:56
sitebuilderLuc Pattyn21-Jan-09 5:56 
GeneralRe: File creation and naming increment Pin
User 665821-Jan-09 7:17
User 665821-Jan-09 7:17 
GeneralRe: File creation and naming increment Pin
Terick21-Jan-09 6:16
Terick21-Jan-09 6:16 
GeneralRe: File creation and naming increment Pin
User 665821-Jan-09 7:29
User 665821-Jan-09 7:29 
GeneralRe: File creation and naming increment Pin
riced22-Jan-09 4:28
riced22-Jan-09 4:28 
AnswerThis post is not addressing your question but ... Pin
Ennis Ray Lynch, Jr.21-Jan-09 6:04
Ennis Ray Lynch, Jr.21-Jan-09 6:04 
GeneralRe: This post is not addressing your question but ... Pin
Terick21-Jan-09 6:26
Terick21-Jan-09 6:26 
GeneralRe: This post is not addressing your question but ... Pin
Ennis Ray Lynch, Jr.21-Jan-09 6:30
Ennis Ray Lynch, Jr.21-Jan-09 6:30 
GeneralRe: This post is not addressing your question but ... Pin
PIEBALDconsult21-Jan-09 7:54
mvePIEBALDconsult21-Jan-09 7:54 
GeneralRe: This post is not addressing your question but ... Pin
Ennis Ray Lynch, Jr.21-Jan-09 8:28
Ennis Ray Lynch, Jr.21-Jan-09 8:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.