open webside with ilogic without open new fan is the webbromze.

open webside with ilogic without open new fan is the webbromze.

Darkforce_the_ilogic_guy
Advisor Advisor
347 Views
1 Reply
Message 1 of 2

open webside with ilogic without open new fan is the webbromze.

Darkforce_the_ilogic_guy
Advisor
Advisor

open webside with ilogic without open new fan is the webbromze

is it possible to do this ?

0 Likes
348 Views
1 Reply
Reply (1)
Message 2 of 2

WCrihfield
Mentor
Mentor

I think some of your words didn't translate right.

Did you mean to ask How to "open a website with iLogic without opening a new tab in the web browser"?

I'm not sure if this is what you wanted, but the following iLogic code creates a new WebBrowserDialog object (if one isn't already found), then navigates to a website address.

The WebBrowserDialog object is then given a Title, set as Visible, and its WindowState (Maximize, Minimize, or Normal) is set.

 

Dim oWBD As WebBrowserDialog
If ThisApplication.WebBrowserDialogs.Count > 0 Then
'	MsgBox("There are " & ThisApplication.WebBrowserDialogs.Count & " WebBrowserDialogs right now.",vbOKOnly," ")
	oWBD = ThisApplication.WebBrowserDialogs.Item(1)
Else
	oWBD = ThisApplication.WebBrowserDialogs.Add("WebBrowserDialog1", False)
End If

oWBD.Navigate("https://www.duckduckgo.com/")
oWBD.Title = "DuckDuckGo Search"
oWBD.Visible = True
oWBD.WindowState = WindowsSizeEnum.kNormalWindow

 Does this code help at all?

PS. The new WebBrowserDialog, seems to be recognized as Chrome on my machine, even though I don't use the Chrome browser.  And it seems to close itself automatically (unpredictably) for some reason, when your not using it, without any interaction.  Odd behavior.

Wesley Crihfield

EESignature

(Not an Autodesk Employee)

0 Likes