Enter Keywords:
1 - 10 of 30(0.016 seconds)
Sort By:
 
Here's the code.. Const ForReading = 1, ForWriting = 2, ForAppending = 3     Dim fs, f     Set fs = CreateObject("Scripting.FileSystemObject")     Set f = fs.OpenTextFile("settings.ini", ForA...
Zones: Visual BasicDate Answered: 09/22/2000 Rating: 5.8 Views: 84
Is it possible to have a text file like the following... 1------------------------------------------- html here 1.1----------------------------------------- alternate html 2-----------------...
Zones: ASPDate Answered: 04/22/2003 Rating: 7.8 Views: 0
Using JavaScript, the CreateTextFile()/OpenTextFile() does not work right. It always gives me "Permission Denied" when I try to create a file. But the same thing works fine with VBScript. Can you t...
Zones: AuthoringDate Answered: 09/07/1997 Rating: 6.2 Views: 0
I had use OpenTextFile in my project,but it can't run.Visual Basic say that it is invalid function or parameter. The code is here: Private Sub Form_Load() Const ForReading = 1, ForWriting = 2, F...
Zones: Visual BasicDate Answered: 03/05/2002 Rating: 6.6 Views: 0
Got a Global.asa which logs movements between pages and using code like:   Set WriteStream = FileStreamObject.CreateTextFile(DataPath(sFilename),True)   WriteStream.WriteLine("SessionID=" & Ses...
Zones: ASPDate Answered: 04/01/2003 Rating: 8.8 Views: 4
Please forgive my inability to sometimes grasp the obvious...  I have a text file on our server, I want a web page to open, read a single line, and store it in a variable to be used elsewhere on th...
Zones: Web DevelopmentDate Answered: 03/21/2004 Rating: 8.6 Views: 0
I am using the opentextfile method of the file system object to manage a hit counter on my website. Here is the code: set objfso = server.createobject("scripting.filesystemobject") set objfile ...
Zones: ASPDate Answered: 01/25/2005 Rating: 9.8 Views: 0
I am having a problem with using the following VBA code with Outlook 2002.  I am basically iterating through all unread email in my Outlook 2002 Inbox, and writing the emails to TXT file, then dele...
Zones: Visual BasicDate Answered: 08/22/2006 Rating: 7.6 Views: 4
I'm using ASP's FileSystemObject to read a text file using OpenTextFile. I know I have to close the text file using the .Close method... but how can I find out if the text file is open or closed fi...
Zones: ASPDate Answered: 12/22/2006 Rating: 8.6 Views: 0
hello group, I'm using this function in VB: Dim fsoFileObject As Scripting.FileSystemObject Set fsoFileObject = New Scripting.FileSystemObject dim fsFIle as Variant fsFile = fsoFileO...
Zones: Visual BasicDate Answered: 06/06/2007 Rating: 9.0 Views: 0