J
Jeffrey H Jacobs
Guest
Wrote a couple of VB.NET Forms applications using third party IOCOMP plotting library. When I install on company, Windows 10, laptops I get the exception, "Unable to get the window handle for the control. Windowless ActiveX components are not supported." The code installs and works correctly on a couple of company, Windows 10, workstations. I used the Click Once publisher for the application to avoid the need for Administrator access. From searching the internet I found that it may require turning off "Data Execution Prevention" for the application. This requires administrator privilege which I would like to avoid. I notice turning off "Data Execution Prevention" did not work for many with the same issue. I also ran the wmic command "wmic Get Data Execution Prevention Support Policy which shows Data Execution Prevention Support Policy 2. The same result occurs on the working Work Stations and non-working laptops. As a result, I don't believe turning off the Data Execution Prevention will help. Can you explain why the application runs on the Workstations, but not the laptops? Is there any way to allow the application to run on the laptops without Administrator privilege? Is there any way to get the application to run on the laptops?
In order to see the exception, I had to add a try catch block to code auto-generated by VB.NET. I would suggest that auto-generated code include proper error handling.
I will have DEP turned off by our IT department, but that will require time. If it works, I will repost.
The Windows 10 version is the same on the laptops and Workstations.
Edition: Windows 10 Pro
Version: 20H2
OS Build: 19042.508
Experience: Windows Feature Experience Pack 120.2212.31.0
Visual Studio Info:
Microsoft Visual Studio Professional 2019
Version 16.5.5
VisualStudio.16.Release/16.5.5+30104.148
Microsoft .NET Framework
Version 4.8.04084
Installed Version: Professional
Visual C++ 2019 00435-20052-27829-AA896
Microsoft Visual C++ 2019
ASP.NET and Web Tools 2019 16.5.236.49856
ASP.NET and Web Tools 2019
ASP.NET Web Frameworks and Tools 2019 16.5.236.49856
For additional information, visit ASP.NET | Open-source web framework for .NET
Azure App Service Tools v3.0.0 16.5.236.49856
Azure App Service Tools v3.0.0
Azure Functions and Web Jobs Tools 16.5.236.49856
Azure Functions and Web Jobs Tools
C# Tools 3.5.0-beta4-20153-05+20b9af913f1b8ce0a62f72bea9e75e4aa3cf6b0e
C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
Common Azure Tools 1.10
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.
Cookie cutter 16.5.20041.1
Provides tools for finding, instantiating and customizing templates in cookie cutter format.
Intelligent Code Extension 1.0
Intelligent Code Visual Studio Extension Detailed Info
Microsoft Azure Tools 2.9
Microsoft Azure Tools for Microsoft Visual Studio 2019 - v2.9.30207.1
Microsoft Continuous Delivery Tools for Visual Studio 0.4
Simplifying the configuration of Azure DevOps pipelines from within the Visual Studio IDE.
Microsoft JVM Debugger 1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines
Microsoft Library Manager 2.1.25+gdacdb9b7a1
Install client-side libraries easily to any web project
Microsoft MI-Based Debugger 1.0
Provides support for connecting Visual Studio to MI compatible debuggers
Microsoft Visual C++ Wizards 1.0
Microsoft Visual C++ Wizards
Microsoft Visual Studio Tools for Containers 1.1
Develop, run, validate your ASP.NET Core applications in the target environment. F5 your application directly into a container with debugging, or CTRL + F5 to edit & refresh your app without having to rebuild the container.
Microsoft Visual Studio VC Package 1.0
Microsoft Visual Studio VC Package
NuGet Package Manager 5.5.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit NuGet documentation
Project Services Package Extension 1.0
Project Services Package Visual Studio Extension Detailed Info
Python 16.5.20041.1
Provides IntelliSense, projects, templates, debugging, interactive windows, and other support for Python developers.
Python - support 16.5.20041.1
support for Python projects.
Python - Django support 16.5.20041.1
Provides templates and integration for the Django web framework.
Python - Iron Python support 16.5.20041.1
Provides templates and integration for Iron Python-based projects.
Python - Profiling support 16.5.20041.1
Profiling support for Python projects.
SQL Server Data Tools 16.0.62003.05170
Microsoft SQL Server Data Tools
Test Adapter for Boost Test 1.0
Enables Visual Studio's testing tools with unit tests written for Boost Test. The use terms and Third Party Notices are available in the extension installation directory.
Test Adapter for Google Test 1.0
Enables Visual Studio's testing tools with unit tests written for Google Test. The use terms and Third Party Notices are available in the extension installation directory.
TypeScript Tools 16.0.20225.2001
TypeScript Tools for Microsoft Visual Studio
Visual Basic Tools 3.5.0-beta4-20153-05+20b9af913f1b8ce0a62f72bea9e75e4aa3cf6b0e
Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
Visual C++ for Linux Development 1.0.9.29814
Visual C++ for Linux Development
Visual F# Tools 10.8.0.0 for F# 4.7 16.5.0-beta.20181.6+85af456066acd4e76d2bc7821b44a325e46f2fca
Microsoft Visual F# Tools 10.8.0.0 for F# 4.7
Visual Studio Code Debug Adapter Host Package 1.0
Interop layer for hosting Visual Studio Code debug adapters in Visual Studio
Visual Studio Container Tools Extensions (Preview) 1.0
View, manage, and diagnose containers within Visual Studio.
Visual Studio Tools for C Make 1.0
Visual Studio Tools for C Make
Visual Studio Tools for Containers 1.0
Visual Studio Tools for Containers
Continue reading...
In order to see the exception, I had to add a try catch block to code auto-generated by VB.NET. I would suggest that auto-generated code include proper error handling.
I will have DEP turned off by our IT department, but that will require time. If it works, I will repost.
The Windows 10 version is the same on the laptops and Workstations.
Edition: Windows 10 Pro
Version: 20H2
OS Build: 19042.508
Experience: Windows Feature Experience Pack 120.2212.31.0
Visual Studio Info:
Microsoft Visual Studio Professional 2019
Version 16.5.5
VisualStudio.16.Release/16.5.5+30104.148
Microsoft .NET Framework
Version 4.8.04084
Installed Version: Professional
Visual C++ 2019 00435-20052-27829-AA896
Microsoft Visual C++ 2019
ASP.NET and Web Tools 2019 16.5.236.49856
ASP.NET and Web Tools 2019
ASP.NET Web Frameworks and Tools 2019 16.5.236.49856
For additional information, visit ASP.NET | Open-source web framework for .NET
Azure App Service Tools v3.0.0 16.5.236.49856
Azure App Service Tools v3.0.0
Azure Functions and Web Jobs Tools 16.5.236.49856
Azure Functions and Web Jobs Tools
C# Tools 3.5.0-beta4-20153-05+20b9af913f1b8ce0a62f72bea9e75e4aa3cf6b0e
C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
Common Azure Tools 1.10
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.
Cookie cutter 16.5.20041.1
Provides tools for finding, instantiating and customizing templates in cookie cutter format.
Intelligent Code Extension 1.0
Intelligent Code Visual Studio Extension Detailed Info
Microsoft Azure Tools 2.9
Microsoft Azure Tools for Microsoft Visual Studio 2019 - v2.9.30207.1
Microsoft Continuous Delivery Tools for Visual Studio 0.4
Simplifying the configuration of Azure DevOps pipelines from within the Visual Studio IDE.
Microsoft JVM Debugger 1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines
Microsoft Library Manager 2.1.25+gdacdb9b7a1
Install client-side libraries easily to any web project
Microsoft MI-Based Debugger 1.0
Provides support for connecting Visual Studio to MI compatible debuggers
Microsoft Visual C++ Wizards 1.0
Microsoft Visual C++ Wizards
Microsoft Visual Studio Tools for Containers 1.1
Develop, run, validate your ASP.NET Core applications in the target environment. F5 your application directly into a container with debugging, or CTRL + F5 to edit & refresh your app without having to rebuild the container.
Microsoft Visual Studio VC Package 1.0
Microsoft Visual Studio VC Package
NuGet Package Manager 5.5.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit NuGet documentation
Project Services Package Extension 1.0
Project Services Package Visual Studio Extension Detailed Info
Python 16.5.20041.1
Provides IntelliSense, projects, templates, debugging, interactive windows, and other support for Python developers.
Python - support 16.5.20041.1
support for Python projects.
Python - Django support 16.5.20041.1
Provides templates and integration for the Django web framework.
Python - Iron Python support 16.5.20041.1
Provides templates and integration for Iron Python-based projects.
Python - Profiling support 16.5.20041.1
Profiling support for Python projects.
SQL Server Data Tools 16.0.62003.05170
Microsoft SQL Server Data Tools
Test Adapter for Boost Test 1.0
Enables Visual Studio's testing tools with unit tests written for Boost Test. The use terms and Third Party Notices are available in the extension installation directory.
Test Adapter for Google Test 1.0
Enables Visual Studio's testing tools with unit tests written for Google Test. The use terms and Third Party Notices are available in the extension installation directory.
TypeScript Tools 16.0.20225.2001
TypeScript Tools for Microsoft Visual Studio
Visual Basic Tools 3.5.0-beta4-20153-05+20b9af913f1b8ce0a62f72bea9e75e4aa3cf6b0e
Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
Visual C++ for Linux Development 1.0.9.29814
Visual C++ for Linux Development
Visual F# Tools 10.8.0.0 for F# 4.7 16.5.0-beta.20181.6+85af456066acd4e76d2bc7821b44a325e46f2fca
Microsoft Visual F# Tools 10.8.0.0 for F# 4.7
Visual Studio Code Debug Adapter Host Package 1.0
Interop layer for hosting Visual Studio Code debug adapters in Visual Studio
Visual Studio Container Tools Extensions (Preview) 1.0
View, manage, and diagnose containers within Visual Studio.
Visual Studio Tools for C Make 1.0
Visual Studio Tools for C Make
Visual Studio Tools for Containers 1.0
Visual Studio Tools for Containers
Continue reading...