Hi All,
Is it possible to open a website from regular PowerBuilder Classic application? I experimented using the
OpenUrl( "https://appeon.com" ) by creating a menu tap and using the the example I stated earlier and it did not. I even get an "unknown function name: openurl " error.
If it possible how do you go about it? Is there example that I could look at? I am using PB 2019 R3 Build 2779.
Thanks,
Kwadwo Boahene
You cannot open an App within your PB App BUT .. you can make it look like both Apps EXE's are integrated.
I have done this before by doing a RUN() command on the 2nd PB App's EXE and then using the FindWindow() SDK call to locate the 2nd App's working Window handle. Once i had ithe 2nd App Window's handle, I could then move it to somewhere with the 1st PB App's location. This made it look like the Apps were one.
To close the 2nd PB App when the 1st one closes (since you now have it's Window handle, you can then use the SEND() command to send the 2nd App a request to close. Food for thought.
Regards .. Chris