Hi all,
I would like to launch a web browser from a form and open a page with the specified URL.
Instead of displaying the web page on the form, I would like to start a browser and display a web page.
Does anyone know this method?
Thank you.
Best regards,
Rieko Saitoh
LANSA japan
Form V14SP2 : How to launch a browser from a form
-
Rieko Saitoh
- Posts: 58
- Joined: Sat Apr 30, 2016 11:46 am
- Fabrice.geay
- Posts: 21
- Joined: Tue Dec 12, 2017 2:06 am
- Location: FRANCE
- Contact:
Re: Form V14SP2 : How to launch a browser from a form
Hi Reiko,
if i have understand what you want to do try this code:
#STD_TEXT := "chrome.exe"
Use Builtin(SYSTEM_COMMAND) With_Args('H' #STD_TEXT 'www.LANSA.COM') To_Get(#STD_NUM)
if i have understand what you want to do try this code:
#STD_TEXT := "chrome.exe"
Use Builtin(SYSTEM_COMMAND) With_Args('H' #STD_TEXT 'www.LANSA.COM') To_Get(#STD_NUM)
Best regard
Fabrice GEAY
Fabrice GEAY
Re: Form V14SP2 : How to launch a browser from a form
Agree, just a quick suggestion to that, to open the page in the current default browser instead of just chrome
Code: Select all
* rundll32 url.dll,FileProtocolHandler https://www.lansa.com
Use Builtin(SYSTEM_COMMAND) With_Args('H' 'rundll32' 'url.dll,FileProtocolHandler' 'www.LANSA.COM') To_Get(#STD_NUM)-
Rieko Saitoh
- Posts: 58
- Joined: Sat Apr 30, 2016 11:46 am
Re: Form V14SP2 : How to launch a browser from a form
Hi Fabrice and Dino,
Thanks for your good advice, I am able to implement it.
Thank you for your support!!!
Best regards,
Rieko Saitoh
LANSA japan
Thanks for your good advice, I am able to implement it.
Thank you for your support!!!
Best regards,
Rieko Saitoh
LANSA japan