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.
Sub startapp_OnClick
Dim strAppPath, strTestPath
Dim MyObj
Dim fso, drives, drive
strTestPath = ":\PROGRA~1\AppName\AppName.exe"
Set fso = CreateObject("Scripting.FileSystemObject")
Set drives = fso.Drives
For Each drive In drives
If Drive.DriveLetter <> "A" Then
If fso.FileExists(Drive.DriveLetter&strTestPath) Then strAppPath = Drive.DriveLetter&strTestPath
End If
Next
Set MyObj = CreateObject("WScript.Shell")
If strAppPath <> "" Then
MyObj.Run strAppPath
Else
MsgBox "Application could not be found on your system"
End If
Set MyObj = Nothing
Set fso = Nothing
End Sub