No need to inspect the registry. Use ShellExecute to open the URL with the default browser.[tt]
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
Const SW_SHOWNORMAL = 1
Private Sub Form_Load()
ShellExecute Me.hwnd, vbNullString, _
"
vbNullString, _
"C:\", SW_SHOWNORMAL
End Sub
[/tt]
Alt255@Vorpalcom.Intranets.com