LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Internet Explorer in CVI

Hi,

we want to impletent a Internet-page with Internet Explorer in our CVI software.

 

With the following code it is possible to do this:

 

    //
    sprintf(WebAdress, "http://%s", IP);

    // Get Object Handle from ActiveX control and load initial page
    GetObjHandleFromActiveXCtrl(opHandle, OPPANEL_WEBBROWSER, &webHandle);

    // Navigate to the ni.com first
    INET_IWebBrowser2Navigate(webHandle, NULL, WebAdress,
                                CA_DEFAULT_VAL, CA_DEFAULT_VAL,
                                CA_DEFAULT_VAL, CA_DEFAULT_VAL);

 

But it is not possible to change the size of the Internet-page to a smaller frame. That means, we want a window inside our software which shows an internet page and because the window in our software is smaller that the original internet page we want to resize it. Does anyone know, if this is possible? And how?

 

Thanks

 

greetings

Oliver

0 Kudos
Message 1 of 3
(3,102 Views)

by the way, we use CVI 2010

0 Kudos
Message 2 of 3
(3,101 Views)

Hi OZI,

 

You should take a look at samples\userint\activex\webbrowser.cws, for an example of using the IE control as an ActiveX control in a CVI panel.

 

Luis

0 Kudos
Message 3 of 3
(3,088 Views)