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.
Option Explicit
Const cstrHead = "Veeblefester Logon Script 1.0"
Sub Announcement()
MsgBox _
"Welcome to Veeblefester Widgets, Inc. logon script." & vbNewline _
& vbNewLine _
& "We hope you'll have a pleasant logon experience." & vbNewLine _
& "Be sure and stop by again soon for the finest logon" & vbNewLine _
& "you'll encounter anywhere!", _
vbOKOnly, _
cstrHead
End Sub
Function Magic(lngX)
Magic = (lngX + 34) / 12
End Function
<job id="Includer">
<script language="VBScript" src="SnazzyInclude.vbs"/>
<script language="VBScript">
Option Explicit
Dim lngStory
Announcement
lngStory = 13245768
MsgBox CStr(Magic(lngStory)), vbOKOnly, cstrHead
</script>
</job>
Option Explicit
Const ForReading = 1
Dim objFSO, tsInc, strInc, lngStory
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set tsInc = objFSO.OpenTextFile("SnazzyInclude.vbs", ForReading)
strInc = tsInc.ReadAll
tsInc.Close
Set tsInc = Nothing
Set objFSO = Nothing
Execute strInc
Announcement
lngStory = 13245768
MsgBox CStr(Magic(lngStory)), vbOKOnly, cstrHead