Print Page | Close Window

webbrowser control newwindow

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Suite Pro
Forum Description: Topics Related to Codejock Suite Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=8822
Printed Date: 01 February 2025 at 2:50am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: webbrowser control newwindow
Posted By: gaudetm
Subject: webbrowser control newwindow
Date Posted: 18 November 2007 at 8:36am
Hi this code work fine with the microsoft webcontrol but the new page is not set to the page it should be with codejock webbrowser control
 
Private Sub WebBrowser1_NewWindow2(ppDisp As Object, Cancel As Boolean)
    Dim f As frmWeb
    Set f = New frmWeb
    Set ppDisp = f.WebBrowser1.Object
    f.Visible = True
End Sub
 
 



Replies:
Posted By: Oleg
Date Posted: 18 November 2007 at 12:38pm
Hi,
Instead WebBrowser1.Object try WebBrowser1.Application or WebBrowser1.Document.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: gaudetm
Date Posted: 18 November 2007 at 4:10pm
work with webrowser1.application
 
Thanks



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net