locked
vb.net Webview{1} form now showing RRS feed

  • Question

  • Can anyone think of a reason why a Form with webview{1} would not load on a different PC (Deployment) but will work on the original developer machine. The Dll is packaged there is no exception being thrown. The form just will not load. 

    The ONLY source on form1 is 

        Settings.show()

    {Which shows the settings form}

    The rest of the source is run from Form2 but nothing is triggered on Form_Load so its happening sometime after the button click_event and has to do with the WebView (I believe) as that is really the only other component there outside of labels , buttons, a timer {not enabled} and a textbox. 

    If anyone has experienced this or knows why, Please let me know. This has been tested on 3 more machines and the form just won't show. 

    I've added WebView to different forms on new projects. Same results. It will work on my machine but not on any test machine. 

    The output in all cases on all forms show 

    2 Threads Exiting with Code 0 (no exceptions are being thrown) 

    This is true in all applications outside of my Developer machine that has a WebView control 
    Thursday, September 3, 2020 1:26 AM

All replies

  • The issue was WebView1 (Edge) is not compatible when being run as admin. Seeing as I was working on my Azure Virtual Machine the application and Visual Studio (So even debugging) was being run as Admin. It cause the thread to close and the form would not load. 

    If anyone ever has this issue. Make sure you are not running as admin or if you are on a Virtual Desktop as the admin. Create a "user" with lower levels. That worked for me. 
    Friday, September 4, 2020 1:00 AM
  • Hi Innovators World Wide,

    Thank you for posting here.

    According to your problem, I have some questions to confirm with you.

    Is only WebView control not displayed on other computers?

    Coud you provide some related code about your 'WebView' control?

    We are waiting for your update.

    Best Regards,

    Xingyu Zhao


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Friday, September 4, 2020 7:25 AM
  • I ended up discovering the issue. 

    if you display a form with Webview as an admin it just won't load at all. You have to run it at a user level. I have since switched to Webview2 which has it's own issues. 
    Sunday, September 13, 2020 1:50 PM