Friday, December 21, 2007

Asp Useful Function

Scheduler http://www.asp101.com/articles/john/schedule/default.asp
Create text file and read the data and insert to Database.
** file name .vbs

Check file function

Function Check_File(file_name)
Dim fs, f, mod_date
Set fs = CreateObject("Scripting.FileSystemObject")
If fs.FileExists(app_path + file_name) Then
Check_File = True
Else
Check_File = False
End If
Set fs = Nothing
End Function

No comments: