简体   繁体   中英

Ole object - opening a Web page in PowerBuilder

I open the URL in this way:

ole_1.Object.navigate (ls_url)

Unfortunately not work for me navigate the mouse on the drop-down lists. How do I fix this?


I started example webbrowser8 from a web page http://www.topwizprogramming.com/freecode_webbrowser.html

The effect is different than expected. In the example I run a website https://www.persofoto.com/upload/index.php?mask=us . Use the mouse to drop-down list can not select the image size.

Do this before open window:

string ls_app
ls_app="Your application.exe"
// at design time ls_app="pb90.exe"

RegistrySet("HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Internet Explorer\MAIN\FeatureControl\FEATURE_USE_WINDOWEDSELECTCONTROL",  ls_app, RegULong!, 1)
RegistrySet("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\MAIN\FeatureControl\FEATURE_USE_WINDOWEDSELECTCONTROL",  ls_app, RegULong!, 1)
RegistrySet("HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Internet Explorer\MAIN\FeatureControl\FEATURE_TABBED_BROWSING",  ls_app, RegULong!, 1)
RegistrySet("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\MAIN\FeatureControl\FEATURE_TABBED_BROWSING",  ls_app, RegULong!, 1)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM