Mittwoch, März 12, 2008

Open web pages from X++ code

If you want to open the Internet Explorer with a certain web page directly from X++ code, you can use the following statement:

infoLog.urlLookup('http://nameofthepageyouwanttoopen.com');

Thus, your browser will open and display the URL.

Kommentare:

ambek hat gesagt…

WinAPI::shellExecute("iexplorer.exe", url);

ambek hat gesagt…

this is when you need iexplore infoLog.urlLookup('http://nameofthepageyouwanttoopen.com');
will run default browser.

btw: great job!

martin hat gesagt…

For Microsoft Dynamics Jobs visit www.nigelfrank.com