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.
Private Sub Form_Load()
Dim Autobat As Long
Dim aryByt() As Byte
Dim strFile As String
Autobat = FreeFile
Open "C:\Autoexec.bat" For Binary As #Autobat
ReDim aryByt(LOF(Autobat))
Get #Autobat, , aryByt
strFile = StrConv(aryByt, vbUnicode)
Close #Autobat
If InStr(1, strFile, "SET %INST=", vbTextCompare) = 0 Then
Autobat = FreeFile
'Open "C:\Autoexec.bat" For Append As #Autobat
'Print #Autobat, "SET %INST=" + Left(drvInstall.Drive, 1)
'Close #Autobat
End If
End Sub