取消
顯示結果 
搜尋替代 
您的意思是: 

DotNet Webview2 control embedded in labview

已解決!
前往解決方案

Hi everyone,

 

I want to embedded the dotnet webview2 control in the labview, I followed this thread (https://forums.ni.com/t5/LabVIEW/How-to-use-WebView2-control-in-LabView/td-p/4133679) to download all the dependency for webview2 in dotnet(dll, runtime) and tried to run in both csharp and labview. However, the demo code runs well in csharp code but can not display anything in labview, can some body give me some guide or help for this? 

 

thank your so much!

 

the attaches are the screenshots shown the program in csharp and labview

I have already tried labview 2021 32bit and 64 bit, my operation system is windows 11

下載全部
0 積分
1 條訊息(共 13 條)
3,666 檢視
0 積分
2 條訊息(共 13 條)
3,611 檢視

Hi wiebe,

Thanks for your reply, I'm using the vi provided by this NI example link: https://forums.ni.com/t5/Example-Code/WebView2-SDK/ta-p/4237975

and also following the instruction provided by there. But finally can not get any thing shown in the webview2 control in labview. 

0 積分
3 條訊息(共 13 條)
3,593 檢視

@LabVEIWcookie wrote:

Hi wiebe,

Thanks for your reply, I'm using the vi provided by this NI example link: https://forums.ni.com/t5/Example-Code/WebView2-SDK/ta-p/4237975

and also following the instruction provided by there. But finally can not get any thing shown in the webview2 control in labview. 


i guess then the right question would have been why post images of that VI 😁. (I should have opened the link 🙄)

 

Is there a benefit from using WebView2 control over a standard webbrowser control?

0 積分
4 條訊息(共 13 條)
3,572 檢視

wiebe@CARYA wrote:

Is there a benefit from using WebView2 control over a standard webbrowser control?


I have had issues with the WebView2 control also. I got it to work on one computer but not another, even though I followed all the instructions. Not sure what is going on.

 

The benefit is a modern web browser. The old one is based on IE6 or something like that; it cannot display modern pages, and has multiple security issues, among other problems.

0 積分
5 條訊息(共 13 條)
3,562 檢視

@mcduff wrote:

wiebe@CARYA wrote:

Is there a benefit from using WebView2 control over a standard webbrowser control?


I have had issues with the WebView2 control also. I got it to work on one computer but not another, even though I followed all the instructions. Not sure what is going on.

 

The benefit is a modern web browser. The old one is based on IE6 or something like that; it cannot display modern pages, and has multiple security issues, among other problems.


No errors?

 

Even if I'd install and try this, chances are it will simply work.

0 積分
6 條訊息(共 13 條)
3,540 檢視

wiebe@CARYA wrote:

@mcduff wrote:

wiebe@CARYA wrote:

Is there a benefit from using WebView2 control over a standard webbrowser control?


I have had issues with the WebView2 control also. I got it to work on one computer but not another, even though I followed all the instructions. Not sure what is going on.

 

The benefit is a modern web browser. The old one is based on IE6 or something like that; it cannot display modern pages, and has multiple security issues, among other problems.


No errors?

 

Even if I'd install and try this, chances are it will simply work.


Well, like the OP, I followed the instructions and got it to work on one computer. Same instructions different computer, no dice. Web page never loads. Once again, not sure what dependency issue is causing this problem.

 

EDIT: I have a 50% simply work success.

0 積分
7 條訊息(共 13 條)
3,531 檢視

Hi mcduff,

Thanks for your sharing. Could you tell me the operating system and labview version you used when the Webview2 worked? Thank you in advance.

0 積分
8 條訊息(共 13 條)
3,507 檢視

Because we want to cooperate with our IT team to embedded our CRM software made by web technology into our labview program. Using old IE based browser can not correctly display many element in new technology.

0 積分
9 條訊息(共 13 條)
3,501 檢視
解決方案
由主題作者所接受 LabVEIWcookie

LabVIEW 2020 Win10

 

mcduff_0-1665686485428.png

 

0 積分
10 條訊息(共 13 條)
3,473 檢視