codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  overwrite textfile  Archive Import (ger) at 01:44 on Tuesday, July 22, 2003
 

hi pple..i need help over here...i need to write my codes to overwrite if my textfile is already archive...example..if i had this texfile created as 2001Q1 then if i archive again..the file will be overwrite with filename as 2001Q1..how can i do that?

Set objTextFile = objFSO.CreateTextFile(Server.MapPath(sFilename&"/forum/.txt"))

i try putting `true` in the statemnet but i don`t work.:
Set objTextFile = objFSO.CreateTextFile(Server.MapPath(sFilename&"/forum/.txt", true))

  Re: overwrite textfile  Elain at 07:12 on Monday, February 21, 2011
 

The problom is a little difficulty, why don't you try to find the answer in google or use some tool for your code?! Good Luck!
_____________________________________
logo maker|flash banner|javascript menu








CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums








Recent Forum Threads
•  Re: adding a querystring parameter in a button click event
•  Re: c# .net Exception of type System.StackOverflowException was thrown.
•  Re: onclick thumbnail images in gridview or datalist
•  Re: Plz its urgent:validation code
•  Re: The Dim appExcel As Excel.Application doesn`t work ????
•  Re: need help with main()
•  Re: overwrite textfile
•  Stimulated Variation of the Card Game “War”
•  Free PHP Programming Tutorials


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2011