Powerbuilder Ole Control Microsoft Web Browser
Posted : admin On 13.10.2019Greetings, I have developed an application using the Microsoft Web Browser Control in PowerBuilder 6.5. I followed the example from Sybase Technotes at I am using the ole1.object.Navigate( url ) method to get to the desired site, but the site is loaded, I want to get elements off the resulting window or to just get the source of the web page. I can parse out the results I am looking for.
I have reviewed the Microsoft Web Browser Control documentation at but have been unable to find the appropriate command. Thanks for any help you can give, Carman. I am working on something similar. If you are trying to get the html, then use the gethtlm command. Generally this will return all of the html for the specified url. However, sometimes the entire html file does not get returned.
This may be a bug and I am looking into the problem and will be happy to follow up when I know more. Basically, the application uses the MS browser to display the page but behind the scenes, I am parsing the html file to extract specific information. Hope this helps.Walter 'Carman Houston' wrote in message news:7Dytk4elAHA.90@forums.sybase.com. GreetingsI have developed an application using the Microsoft Web Browser Control in PowerBuilder 6.5. I followed the example from Sybase Technotes at I am using the ole1.object.Navigate( url ) method to get to the desired site, but the site is loaded, I want to get elements off the resulting window or to just get the source of the web page. I can parse out the results I am looking for.
I have reviewed the Microsoft Web Browser Control documentation at but have been unable to find the appropriate command. Thanks for any help you can giveCarman.
Writing Your Own Web Browser. Control to build your own Web browser application in PowerBuilder. OLE control and select the Microsoft WebBrowser.
I am using PB 6.5. No such command as GetHTML. Thanks anyway, Carman 'Walter Ellis' wrote in message news:LaMv6qflAHA.198@forums.sybase.com. I am working on something similar.
If you are trying to get the html, then use the gethtlm command. Generally this will return all of the html for the specified url. However, sometimes the entire html file does not get returned. This may be a bug and I am looking into the problem and will be happy to follow up when I know more. Basically, the application uses the MS browser to display the page but behind the scenes, I am parsing the html file to extract specific information.
Hope this helps. -Walter 'Carman Houston' wrote in message news:7Dytk4elAHA.90@forums.sybase.com. GreetingsI have developed an application using the Microsoft Web Browser Control in PowerBuilder 6.5. I followed the example from Sybase Technotes at I am using the ole1.object.Navigate( url ) method to get to the desired site, but the site is loaded, I want to get elements off the resulting window or to just get the source of the web page. I can parse out the results I am looking for. I have reviewed the Microsoft Web Browser Control documentation at but have been unable to find the appropriate command.
Thanks for any help you can giveCarman. Sorry, the command is GetURL. See if that helps.
It works along with the inet object.Walter 'Carman Houston' wrote in message news:sQS87wflAHA.253@forums.sybase.com. I am using PB 6.5. No such command as GetHTML. Thanks anywayCarman 'Walter Ellis' wrote in message news:LaMv6qflAHA.198@forums.sybase.com. I am working on something similar. If you are trying to get the htmlthen use the gethtlm command. Generally this will return all of the html for the specified url.
However, sometimes the entire html file does not get returned. This may be a bug and I am looking into the problem and will be happy to follow up when I know more. Basically, the application uses the MS browser to display the page but behind the scenes, I am parsing the html file to extract specific information. Hope this helps. -Walter 'Carman Houston' wrote in message news:7Dytk4elAHA.90@forums.sybase.com. GreetingsI have developed an application using the Microsoft Web Browser Control in PowerBuilder 6.5.
I followed the example from Sybase Technotes at I am using the ole1.object.Navigate( url ) method to get to the desired site, but the site is loaded, I want to get elements off the resulting window or to just get the source of the web page. I can parse out the results I am looking for. I have reviewed the Microsoft Web Browser Control documentation at but have been unable to find the appropriate command. Thanks for any help you can giveCarman.
Hi, i would like open a html page in my DW. No problem with OLE.object.navigate(URL) but my HTML is returned in STRING (Webservice). On 19 avr, 15:05, JarJar wrote: Hii would like open a html page in my DW. No problem with OLE.object.navigate(URL) but my HTML is returned in STRING (Webservice). My HTML is received in STRING Try getting the document object, then writing the HTML. LoleDocument = OLE.object.Document// HTML/DHTML DOM loleDocument.write(lsMyHtml) might have to navigate to.
I found the subject tech note on Sybase site. It refers to a sample application BROWSE70.PBL but does not indicate where it can be found. John Girt John Girt & Associates (425)562-4205 (206)399-4977 John@Girt.NET Try this link. 'John Girt' wrote in message news:waz#MAJwBHA.309@forums.sybase.com. I found the subject tech note on Sybase site.
It refers to a sample application BROWSE70.PBL but does not indicate where it can be found. Any ideas? I can not find the Microsoft Web Browser Control in PowerBuilder panel! The Microsoft web browser is actually an OLE control. On your window, click OLE control.
Select Microsoft Web Browser from the Insert Control Tab. Joe Slawsky (NOSPAMFORMEjslawsky@planetdx.com) www.planetdx.com But I can not find the MS WebBrowser control in ole dialog. I use pb 7.0.3 build10135,in win2000/IE6. And when I clicked the tab 'insert control', pb crashed because of 'out of memory', it says insufficient memory to continue. The Insert Control is the place to fin. Technical Doc #47945 refers to a sample application in the Powerbuilder Samples Download Library that covers this topic. This attachment does not exist and the Sybase web master says its not his problem.
Does anyone have this attachment, which they said was called browse70.pbl, or another example. Thanks You should forward the webmaster's comments to Sybase; this is yet another indication of their customer support problems. 'Russ Fleming' wrote in message news:yB.
I have a pb window with a microsoft web browser ole object on it but when i do a.navigate to get a local file to load the web browser always initializes with a disabled grey'ed out veritical scrollbar. Is there any way to turn this scrollbar off by default even if there is more page data? In my case i know that the displayed page is all displayed and the greyed out bar is unnecessary and eats valuable screen space any help is appreciated. 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 lobbrowser boolean lbcancel = True ole1.Event newwindow2(lobbrowser, lbcancel ) 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.
Im using the MS Web Browser Ole Control in PB 7.02 and wrote a web browser for our users. We restrict what websites a user can go to by having it connected to a DB. In the DB is a list of sites they can go to. I was able to get all this working but my problem is that the user can just hit CONTROL+N and this will open up the normal IE program in a new window. Then the user can just go wherever they want to. I need a way to prevent CONTROL+N from opening IE.
I have tried using pbmsyskeydown but it never gets called. You need to be able to respond to IE. I'm going to write some VB ActiveX control (using Microsoft VB6.0 SP3) to be used in PowerBuiler 6.5, but I found that it's very easy to crash in PowerBuilder, Here is the test case: 1) Create a very simple VB ActiveX control (only one button without any script) in Visual Basic 2) Create a PB project to open a Main Window (w1) with an ole object of VB ActiveX control 3) Open another Window (w2) with an ole object of VB ActiveX control (can be same as previous or other control) 4) Click the OLE object in w2 to make it get focus 5) Close w2 - it will crashed If. I am trying to integrate a web browser in a mouse-less application, using IE 4, service pack 2, and PB 503.
We use function keys instead of the mouse clicks. I want to be able to capture the escape key if the focus is accidentally placed inside the browser ole object. I have been able to map the function keys to an invisible menu as shortcut keys, but there is no shortcut key for 'escape'. It is pretty important to us to be able to capture the escape key, as it is the consistent close-window key throughout the application.
Also, I have found that before focus is lost. Everyone, Not getting argument values in the BeforeNavigate2 or NavigateComplete2 events when the ole control is embedded on a window during runtime executable. Get the arguments running within development, but not at runtime. Using PB 7.03 build 10312. Noticed after some research, this is an on-again/off-again things with certain builds.
Willing to migrate to any version of PB that this is working. Please let me know, ASAP. Email jsmitchell@kforce.com and or respond to the group.
Thanks, Scott 'some dude' when opening a pdf file inside a web browser control, how do i sense the page is done downloading the document? The documentcomplete event is firing even before the pdf is done downloading. I need to print the generated pdf and for that how do i go.
Ok I put one of these microsoft we browser controls on a window how do I use it? Is there anywhere where I can read up on this? Warren Take a look at Note: the demo app is PFC-based, so you'll need to add the PFC PBLs to the library list before you can run it. That said, the demo can be ported to native PB very easilly. Roy Kiesler TeamSybase SDN CodeXchange - 'Warren Harris' wrote in message news.
Microsoft Edge
Symptom When using the Microsoft Web Browser OLE control in a PowerBuilder application some webpages show javascript errors, is there a way to eliminate these? Environment. PowerBuilder.
Microsoft Web Browser Download
PowerBuilder application with a Microsoft Web Browser OLE control Cause The Microsoft Web Browser OLE control is a third party control and the errors can be replicated with other tools. Please refer to the Microsoft site for further information on this control.
Microsoft Edge Download
Resolution To suppress the javascript errors in your PowerBuilder application, use ole1.object.silent=1 before navigate. Code snippet below: ole1.object.silent=1 ole1.object.navigate('www.appeon.com') This will not eliminate the root cause of the javascript errors, the additional line of code just suppresses the errors.