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...
http://www.experts-exchange.com/Programming/Languages/Visual_Basic/Q_11342457.html
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-----------------...
http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/ASP/Q_20497460.htm...
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...
http://www.experts-exchange.com/Web_Development/Authoring/Q_10022573.html
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...
http://www.experts-exchange.com/Programming/Languages/Visual_Basic/Q_20272916.html
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...
http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/ASP/Q_20568206.htm...
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...
http://www.experts-exchange.com/Web_Development/Miscellaneous/Q_20926168.html
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 ...
http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/ASP/Q_21288586.htm...
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...
http://www.experts-exchange.com/Programming/Languages/Visual_Basic/Q_21961645.html
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...
http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/ASP/Q_22098998.htm...
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...
http://www.experts-exchange.com/Programming/Languages/Visual_Basic/Q_22615385.html
Zones:
Visual BasicDate Answered: 06/06/2007 Rating: 9.0 Views: 0