|Stuart, below I have tried to condense an illustrative sample of my problem. If this is insufficient, let me know how I can forward you a copy of the entire coding on the activeX usercontrol form.|
Private Sub IE_NewWindow2(ppDisp As Object, Cancel As Boolean)
'In this section, I would like to:
' -Capture the url link that was clicked on
' -Load the link into a new window payne (overlaying the existing payne),
' just as IE normally does, that I can manipulate with a custom
' toolbar button
'* IWebb is property name of usercontrol
'** Usercontrol compiled name is InstantIE
Dim IWebb() As InstantIE
ppDisp = IWebb(1).IE.navigate2("http://www.sears.com")
Depending on what I change behind ".IE." I get range of varying errors. For example: 1.) If I leave of the url the error message reads [Argument not optional]; 2.) if I add the url the error message reads [Expected function or Variable]; 3.) If I change .navigate2 to some other selectable options, the error message reads [Wrong number of arguments or invalid property assignment].
I hope this more clearly present a picture of my problem.