rss search

Closing a file in ASP

line
<%
Dim oFile
Set oFile = File_OpenExisting( "c:\test.log", File_OpenForReading )
If oFile Is Nothing Then
	Response.Write "Not existing"
Else
	Response.Write "Existing"
	'Here we can start reading from it
End If
oFile.Close
'ASP Code continues...

%>
Share this:
Share this page via Email Share this page via Stumble Upon Share this page via Digg this Share this page via Facebook Share this page via Twitter


Leave a Reply

You must be logged in to post a comment.

Devguru.in is Stephen Fry proof thanks to caching by WP Super Cache