From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
One easy solution for you is to look into the <CVI samples>\userint\activex\WebBrowser.prj application source code. You could build your application on top of this sample.
Also, if you open the source code for the inet.fp instrument, which implements the Web Browser API used in this sample (<CVI samples>\userint\activex\inet.c) you'll notice that function INET_NewWebBrowserIWebBrowser2 should perform the exact task you need. It passes a Microsoft Internet Explorer Web Browser GUID to NewActiveXCtrl function:
I had read the samples before but I didn't come to the idea to have a direct look into the inet.c. There I could get the information, thanks a lot for this.
My applikation is running now, but when I call a website with a script running I get an error message like attached. On website without scripts it is running without problems.