1 opcion:
Componente: WebBrowser1
Private Sub Form_Load()
'*
Dim htmlayuda As String
Dim Ruta As String
'*
On Error GoTo 1
'*
htmlayuda = "Ayuda.html"
'*
Ruta = App.Path & "\" & htmlayuda
'*
WebBrowser1.Navigate (Ruta)
'*
Exit Sub
1:
Call Error
End Sub
2 opcion:
Usar API shellexecute para abrir el archivo que se te de la gana.-
Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hWnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long
Private Sub Command1_Click()
'*
Dim Abrir As Long, Cadena As String
'*
On Error GoTo 1
'*
Cadena = App.Path + "\Informe.html"
'*
Abrir = ShellExecute(Me.hWnd, "Open", Cadena, "", "", 1)
'*
Exit Sub
1:
Call Error
End Sub
saludos julio