How to open new browser window for ole web browser control?

I insert a web browser control in my PB window, and I place a command 
button named "New Browser" in order to open a new browser window, I set the 
code for clicked event of the command button as follows:

oleobject lob_browser
boolean lb_cancel = True
ole_1.Event newwindow2(lob_browser, lb_cancel )

the result is NO any window was opened.

What is the problem?

In addition, How can I obtain the current URL when the browser is 
navigating?

Thanks a lot.
0
Qian
8/19/2002 10:15:55 AM
sybase.powerbuilder.datawindow 28057 articles. 5 followers. Follow

0 Replies
1236 Views

Similar Articles

[PageSpeed] 4

Reply:

Similar Artilces:

superreview requested: [Bug 355352] [Cocoa] while the app is running, if no browser windows are open, clicking on the app in the dock doesn't open a browser window : [Attachment 248569] New and improv
Josh Aas <joshmoz@gmail.com> has asked Benjamin Smedberg [:bs] (bsmedberg@) <benjamin@smedbergs.us> for superreview: Bug 355352: [Cocoa] while the app is running, if no browser windows are open, clicking on the app in the dock doesn't open a browser window https://bugzilla.mozilla.org/show_bug.cgi?id=355352 Attachment 248569: New and improved patch https://bugzilla.mozilla.org/attachment.cgi?id=248569&action=edit ------- Additional Comments from Josh Aas <joshmoz@gmail.com> The minor changes remaining (comments mostly) can be made on checkin. ...

superreview granted: [Bug 355352] [Cocoa] while the app is running, if no browser windows are open, clicking on the app in the dock doesn't open a browser window : [Attachment 248569] New and improved
Benjamin Smedberg [:bs] (bsmedberg@) <benjamin@smedbergs.us> has granted Josh Aas <joshmoz@gmail.com>'s request for superreview: Bug 355352: [Cocoa] while the app is running, if no browser windows are open, clicking on the app in the dock doesn't open a browser window https://bugzilla.mozilla.org/show_bug.cgi?id=355352 Attachment 248569: New and improved patch https://bugzilla.mozilla.org/attachment.cgi?id=248569&action=edit ------- Additional Comments from Benjamin Smedberg [:bs] (bsmedberg@) <benjamin@smedbergs.us> moa=bsmedberg (I didn't revi...

superreview granted: [Bug 429926] Make Cmd+T open a new window when no browser windows are open : [Attachment 316692] BrowserOpenTab() even when no windows are open
neil@parkwaycc.co.uk <neil@httl.net> has granted Stefan <stefanh@inbox.com>'s request for superreview: Bug 429926: Make Cmd+T open a new window when no browser windows are open https://bugzilla.mozilla.org/show_bug.cgi?id=429926 Attachment 316692: BrowserOpenTab() even when no windows are open https://bugzilla.mozilla.org/attachment.cgi?id=316692&action=edit ...

superreview requested: [Bug 429926] Make Cmd+T open a new window when no browser windows are open : [Attachment 316692] BrowserOpenTab() even when no windows are open
Stefan <stefanh@bluebottle.com> has asked neil@parkwaycc.co.uk <neil@httl.net> for superreview: Bug 429926: Make Cmd+T open a new window when no browser windows are open https://bugzilla.mozilla.org/show_bug.cgi?id=429926 Attachment 316692: BrowserOpenTab() even when no windows are open https://bugzilla.mozilla.org/attachment.cgi?id=316692&action=edit ...

superreview granted: [Bug 429926] Make Cmd+T open a new window when no browser windows are open : [Attachment 317598] New version
neil@parkwaycc.co.uk <neil@httl.net> has granted jag (Peter Annema) <jag@tty.nl>'s request for superreview: Bug 429926: Make Cmd+T open a new window when no browser windows are open https://bugzilla.mozilla.org/show_bug.cgi?id=429926 Attachment 317598: New version https://bugzilla.mozilla.org/attachment.cgi?id=317598&action=edit ...

superreview requested: [Bug 429926] Make Cmd+T open a new window when no browser windows are open : [Attachment 317598] New version
jag (Peter Annema) <jag@tty.nl> has asked neil@parkwaycc.co.uk <neil@httl.n= et> for superreview: Bug 429926: Make Cmd+T open a new window when no browser windows are open https://bugzilla.mozilla.org/show_bug.cgi?id=3D429926 Attachment 317598: New version https://bugzilla.mozilla.org/attachment.cgi?id=3D317598&action=3Dedit ------- Additional Comments from jag (Peter Annema) <jag@tty.nl> I was thinking we could just check gBrowser at the beginning of this functi= on and call OpenBrowserWindow(), but that would use the "new window" pref sett= ing ...

Open new webform in new window and on top of the all opend browser window
Hi,As a requirement, I need to open new browser winodw with specified webform. It must be open and shown on top of the all opened browser window. I used below mentioned code line to make it work. 1.Response.Write("<script>window.open('NewWebForm.aspx','_blank','menubar=yes,toolbar=yes');window.focus();</script>")2.Response.Write("<script>window.open('NewWebForm.aspx','_blank','menubar=yes,toolbar=yes');window.focus();window.activate();</script>")3.Response.Write("<script>window.open('NewWebForm.aspx', '_blank', 'menubar=yes,toolba...

Browser window bug- new browser window problem
Name: T Product: Firefox Summary: Browser window bug- new browser window problem Comments: I use Firefox on Mac OS 10.4. It appears impossible to open a new browser window using the drop down menu when I have minimized all browser windows to the dock. This is quite a bother. Browser Details: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1 ...

Open a new browser window ONLY when browser is closed using "x"
Setup: I have a web application that needs to verify data before saving it to a database. Per the client's request, I need to be able to ask for a verification of the data (in a nwe browser window) and save it even if the browser is closed using the "X" button (top right corner of IE). Problem: I know about he javascript onUnload function, but that fires any time a page is unloaded (including back button presses, refresh, and a new url is typed in). I need to be able to make sure that the unload event was caused by the "x" button being pressed. Question: Any...

Force a new browser window to be opened from a web form ?
Does anyone know how to force a new browser window to be opened from a web form following Response.BinaryWrite or Response.Write if the data to be displayed is html? Html data is diplayed in the current browser but for non html data the appropriate application is opened e.g. ms-word, excel etc. Effectively, I want html to be treated just like the other mime types.ThanksMajella Majella,Since at the server-end you are going to set the contentType and start streaming the content, you can set a window open to an ASPX Page and in that page (or the same page with a different QueryString Pa...

Problem with datawindow and Web Browser OLE custom control
Hi, PowerBuilder6.5 (Build #444) Oracle 8.0.5 Windows2000 I am attempting to display a web page on a datawindow (processing type = Tabular). I have inserted a Web Browser OLE custom control onto the data window and made the column storing the url the Target data column (all the options on the Options tab have the default values). When I retrieve, all data is retrieved, but the web page does not display (I even placed the 'raw' column on the datawindow to make sure that I was retrieving it correctly). When I do the same on a window object, it works like a charm. Does...

how to open a new browser window when clicked on a button control
Dear ASP.NET Programmers, Following is the code block I'm using to redirect to a new page when the user clicks on the btnInvoice button. I want to open a new browser window to display the new page. What javascript code should I use instead of Response.Redirect() function? Thanks in advance, Burak Private Sub btnInvoice_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnInvoice.Click If txtIRD.Text <> "" And txtInvoiceDate.Text <> "" Then Response.Redirect("newinvoice_hospital.aspx?mfuid=" + Req...

Open a TAB window not a NEW Browser Opening
X-No-Archive: Yes Hiya When I click on a Web link say in Thunderbird It opens a new browser window within firefox web browser Is there any way for it to open just a TAB from within the browser that's is already open and not to open a new browser window Regards-- Please remove SPAM when replying via e-mail X-No-Archive: Yes X-Ray-Wa said the following on 20/09/2004 7:23 PM: > X-No-Archive: Yes > > > > Hiya > > When I click on a Web link say in Thunderbird > It opens a new browser window within firefox web browser >...

V 3.6 Open New browser window; and window loads behind main window
Name: R Novak Product: Firefox Summary: V 3.6 Open New browser window; and window loads behind main window Comments: I have tested this on Mac: Firefox 3.5.7, Safari, and PC Explorer & Firefox, and this does not happen on any of these other browsers. On a site with a javascript new window (open on mousedown) the new window appears very quickly .2 secs, then s hidden behind parent (main or previous) window. Please fix! Browser Details: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_2; en-us) AppleWebKit/531.21.8 (KHTML, like Gecko) Version/4.0.4 Safari/531.21.10 From...

Web resources about - How to open new browser window for ole web browser control? - sybase.powerbuilder.datawindow

Control - Wikipedia, the free encyclopedia
Text is available under the Creative Commons Attribution-ShareAlike License ;additional terms may apply. By using this site, you agree to the ...

Firefighters battle out of control bushfire in Bullsbrook
Around 70 firefighters are battling an out of control bush-fire in Bullsbrook.

Firefighters battle out of control bushfire in Bullsbrook
Around 70 firefighters are battling an out of control bush-fire in Bullsbrook.

Atlassian battles Slack for control of the modern workplace
Atlassian went public only a week ago, and already a new front has opened up in its battle with a key competitor.

Firefighters battle out of control bushfire in Bullsbrook
Around 70 firefighters are battling an out of control bush-fire in Bullsbrook.

Victoria bushfires: Out-of-control blazes in Victoria as heatwave continues across southern Australia ...
Victoria's Country Fire Authority says houses are likely to be impacted by a 3,000-hectare bushfire west of Melbourne.

Stringify your life by taking control and automating tasks
... Adobe Post or If you can think it, you can create it in Scribblenauts Unlimited . Stringify IF by IFTTT Stringify your life by taking control ...

How to engage Tesla's Launch Control mode
Filed under: Green , Videos , Tesla , Electric Short video shows Model S keeping it straight on a rain-slicked road.

Tencent Holdings Takes Full Control of 'League of Legends' Developer Riot Games
Breitbart News Tencent Holdings Takes Full Control of 'League of Legends' Developer Riot Games Breitbart News Riot Games, the creators of ...

China's Xi on cyberspace control
Chinese President Xi Jinping defended his country's right to censor Internet content, signaling confidence in the strategy.

Resources last updated: 12/20/2015 12:52:54 AM