Hey there,
I was using below in an event to launch an URL in a report window
inet iinet_base
GetContextService("Internet", iinet_base)
iinet_base.HyperlinkToURL()
but, as INET is an obsolete our client doesn't want this to continue and therefore we are looking for the replacement. we are using PB 2022 build 1878 and came to know that HTTPClinet will be the replacement although there is no replacement for HyperLinkToURL() as of now. We tried with GetURL,PostURL and couple of other things like ShellExecute etc but,none of things working.
Can anyone help me with the sample code , if possible ?
I dont want anything related with default browser etc. as what we want is to open a link in any browser alternatively, we are okay to put a pdf and a link to that report.
I also tried couple of solution given by appeon folks and unfortunately, no luck :(
Thanks
Today I have created a function similar you attached in my previous question f_getdefaultwebbrowser() and updated my event with Run function. Our URL is opening as expected now and its working. We are waiting for the final confirmation from our client. Lets see if we can go with this and can wait for the replacment of hyperlinktourl() in R2 next year :)
Thanks for all the support , Thank you Chris, Armeen,Roland.
I have one concern with your solution, like you used ieframe.dll for IE Browser and now we are making changes for MSEDGE. When I am making changes for MSEDGE it is working all good even with ieframe.dll. I tried connecting with MS for the corresponding DLL for MSEDGE but, could not get the same.
Do you have any suggestion on the same ?
Currently I am creating function taking MSEDGE.EXE into consideration and using the same IEFRAME.DLL and it is working :)
Thanks.