Im having this problem, im trying to make a custom IE webbrowser and i have ran into a problem, i cant right-click and select 'open link in new window', it opens a new window using:
Private Sub wb_NewWindow2(ppDisp As Object, Cancel As Boolean)
On Error Resume Next
Dim winn As Subbb
Set winn = New Subbb
winn.Visible = True
Cancel = True
but i cant figure out how to make the new window go to the selected link.
also, when the webpage automaticly wants to open a new window (by following a link that opens a new window) it opens iexplore, and i dont want that.
I have tryed to overwrite iexplore.exe with my own exe file, and then uses the command$ to go to the website, however, all i get from the command$ is a "-Embedded", so it seems as that wont work.
How can i open a link in a new window and how can i follow a link that opens a new window?
Any help about this would be grately appreciate!