Mit VB-Form HTML seite öffnen

Hallo

Ich möchte mit einem cmd button von einer VB-Form, eine html seite öffnen. Nach dem aufrufen einer HTML seite, soll sich das formular ganz schliessen.

Wie kann ich das am besten Realisieren.

Danke

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 Declare Function GetDesktopWindow Lib „user32“ () As Long

Private Function StartDoc(ByVal FileName As String, Optional CommandLine As String = „“) As Long
Dim Scr_hDC As Long
Scr_hDC = GetDesktopWindow()
'change „Open“ to „Explore“ to bring up file explorer
StartDoc = ShellExecute(Scr_hDC, „Open“, FileName, CommandLine, vbNullString, 1)
Call Unload(Me)
End Function

Private Sub Command1_Click()
Call StartDoc(„D:\default.htm“)
End Sub