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.
Public Sub OpenDocument(strDocPath As String)
Dim G As Long
G = Shell("RUNDLL32.EXE URL.DLL,FileProtocolHandler " & strDocPath, vbNormalFocus)
End Sub
Option Explicit
Private Sub cmdhelp_Click()
Call OpenDocument(App.Path & [red]"\HHAhelp.html"[/red])
End Sub
Public Sub OpenDocument(strDocPath As String)
Dim G As Long
G = Shell("RUNDLL32.EXE URL.DLL,FileProtocolHandler " & strDocPath, vbNormalFocus)
End Sub
Option Explicit
Private Sub Command1_Click()
RichTextBox1.LoadFile "C:\Andy\MyFILE.rtf"
End Sub