Hi,
I'm just about finished making my browser but i need to find a way so that i can make it the default internet browser, when it loads, it sets itself as the default program for internet browsing but so far all iv managed is setting it as a program for a default file, but when i try to open the file, it opens my program with it but then my program doesn't open the file it was supposed to, can anybody help me with this please, i don't have much code because i don't know where to start. Thanks.
Private Sub frmMain_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Try
My.Computer.Registry.ClassesRoot.CreateSubKey(".html").SetValue("", "PROGRAM HTML file", Microsoft.Win32.RegistryValueKind.String)
My.Computer.Registry.ClassesRoot.CreateSubKey("html\shell\open\command").SetValue("", "C:\PROGRAM resources\ADF2.PNG" & _
" ""%1"" ", Microsoft.Win32.RegistryValueKind.String)
Catch ex As Exception
End Try
End Sub