LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Launching URL in Internet Explorer from LabVIEW

I wish to run Internet Explorer LabVIEW.
Not just executing the program, but opening a specific URL based on certain variables.

e.g. if the variable = 71 then run http://mysite.com/page71.php

How would i be able to do this??

I also want the page to run minimised.
0 Kudos
Message 1 of 4
(2,932 Views)
Hi,

This always works for me:

Call System Exec.vi, with:

rundll32.exe url.dll,FileProtocolHandler http:\\www.air.nl

wired to "command line"

Regards,

Wiebe.

"Sweenster" wrote in message
news:5065000000080000004B3D0000-1012609683000@exchange.ni.com...
> I wish to run Internet Explorer LabVIEW.
> Not just executing the program, but opening a specific URL based on
> certain variables.
>
> e.g. if the variable = 71 then run http://mysite.com/page71.php
>
> How would i be able to do this??
>
> I also want the page to run minimised.
0 Kudos
Message 2 of 4
(2,932 Views)
Here's an example using ActiveX:
http://zone.ni.com/devzone/explprog.nsf/6c163603265406328625682a006ed37d/7abb4f20038085d286256a50004fc096?OpenDocument

This will of course not work on a non-windows OS.
Regards,
Kamran
An
0 Kudos
Message 3 of 4
(2,932 Views)
Sweenster wrote:
>
> I wish to run Internet Explorer LabVIEW.
> Not just executing the program, but opening a specific URL based on
> certain variables.
>
> e.g. if the variable = 71 then run http://mysite.com/page71.php
>
> How would i be able to do this??
>
> I also want the page to run minimised.

Look at Open URL in Browser.vi under /LabVIEW/help/_browser.llb This
will open the url in whatever the system default browser is (not
necessarily IE).
To run the browser minimized, you can use the Windows Utilities that a
third party posted some time ago.

Regards,
Dave Thomson

-------------------------------------------------------------
David Thomson 303-499-1973 (voice and fax)
Original Code Consulting dthomson@original
code.com
www.originalcode.com
National Instruments Alliance Program Member
-------------------------------------------------------------
Research Scientist 303-497-3470 (voice)
NOAA Aeronomy Laboratory 303-497-5373 (fax)
Boulder, Colorado dthomson@al.noaa.gov
-------------------------------------------------------------
0 Kudos
Message 4 of 4
(2,932 Views)