Web Page Link

Discussion about recent product features & solutions!
9 posts • Page 1 of 1
hakan
Posts:28
Joined: Wed Nov 24, 2010 9:38 am

Web Page Link

Post by hakan »

Hi,

How can I create a link for the web page. For instance, I want to open web page(www.etm.at) when pressed the buttton.which function can be called in button click event.?

Thank you

vogler
Posts:122
Joined: Thu Oct 28, 2010 8:32 am

Re: Web Page Link

Post by vogler »

Hi,
you can do it with a system command:
system("\\"C:\\Programme\\Internet Explorer\\iexplore.exe\\" \\"www.etm.at\\"");
or you can also integrate a browser in your application (evo or active-x).
brgds.
Andy

hakan
Posts:28
Joined: Wed Nov 24, 2010 9:38 am

Re: Web Page Link

Post by hakan »

Hi,

It is working on local system. But It is not working on web client(on applet). When I try the on web client appear message on log viewer. Message is below
"system, "C:\\Program Files\\Internet Explorer\\iexplore.exe" www.etm.at not in whitelist, ignored"

Best Regards,
hakan

Gertjan van Schijndel
Posts:634
Joined: Mon Aug 02, 2010 10:37 am

Re: Web Page Link

Post by Gertjan van Schijndel »

You could use the default webbrowser with the command:

Code: Select all

system("start http://www.etm.at");
You should also be able to use the command:

Code: Select all

std_help("http://www.etm.at");

hakan
Posts:28
Joined: Wed Nov 24, 2010 9:38 am

Re: Web Page Link

Post by hakan »

std_help("http://www.etm.at") function is not working

system("start http://www.etm.at"); function is working on local system. But It is not on webclient. Web Client message is below
"system, start http://www.etm.at not in whitelist, ignored"

I need to work on web client

bstrg
Hakana

Gertjan van Schijndel
Posts:634
Joined: Mon Aug 02, 2010 10:37 am

Re: Web Page Link

Post by Gertjan van Schijndel »

You will need to include the

Code: Select all

http://
part, otherwise the std_help function will not work.

Gertjan van Schijndel
Posts:634
Joined: Mon Aug 02, 2010 10:37 am

Re: Web Page Link

Post by Gertjan van Schijndel »

Perhaps the older version of 'std_help' also checks if the url ends with '.htm' or '.html'.
In that case this should work:

Code: Select all

std_help("http://www.etm.at/index.htm");
You could also look in the 'std_help' function to see why it does not work.

frankySie
Posts:30
Joined: Mon Oct 15, 2012 12:01 pm

Re: Web Page Link

Post by frankySie »

here's a solution which I use. But it is unknow if this will work for web client:

a panel was defined with an activeX control , type microsoft-web-browser.

a initialize method was implemented for the activeX control:

main()
{
this.Navigate("http://that-is-the-link");
}

Gertjan van Schijndel
Posts:634
Joined: Mon Aug 02, 2010 10:37 am

Re: Web Page Link

Post by Gertjan van Schijndel »

I think theTS is using the javaUI, because he talks about a (java) applet. So he cannot use an activex or ewo.
But since he did not provide much information regarding his configuration, we cannot be sure. Although the error message comes mostlikely from a system-call thru the xmlrpc interface.

9 posts • Page 1 of 1