Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
function displayCode(page_to_display)
set fsObj = CreateObject("Scripting.FileSystemObject")
set fileObj = fsObj.OpenTextFile(server.mappath(page_to_display),1,false)
do while not fileObj.AtEndOfStream
response.write server.htmlencode(fileObj.readline) & "<br>"
loop
fileObj.Close
set fileObj = NOTHING
set fsObj = NOTHING
end function
'msgBox oCmd.CommandText
'create file for debug
Dim objFileSystem, objOutputFile
Dim strOutputFile
'generate a filename base on the script name
strOutputFile = "something.txt"
Set objFileSystem = CreateObject("Scripting.fileSystemObject")
Set objOutputFile = objFileSystem.CreateTextFile(strOutputFile, TRUE)
objOutputFile.WriteLine server.htmlencode(fileObj.readline) & "<br>"
objOutputFile.Close
Set objFileSystem = Nothing
'end create file
'msgBox oCmd.CommandText
'create file for debug
Dim objFileSystem, objOutputFile
Dim strOutputFile
'generate a filename base on the script name
strOutputFile = "something.txt"
Set objFileSystem = CreateObject("Scripting.fileSystemObject")
Set objOutputFile = objFileSystem.CreateTextFile(strOutputFile, TRUE)
objOutputFile.WriteLine displayCode("pageTodisplay.asp")
objOutputFile.Close
Set objFileSystem = Nothing
'end create file