I developed an application in VB (and also another version in C#) but this application is not running in a Win7 SP1 OS, once I double click to run the application nothing happens, checking the task manager I can see the process but after a few seconds it disappears. I checked in the event viewer and it is thrown two errors events:
Application: WLAN Verify Auto.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Runtime.InteropServices.COMException
at System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance(System.Guid ByRef, System.Object, Int32, System.Guid ByRef)
at System.Windows.Forms.AxHost.CreateWithLicense(System.String, System.Guid)
at System.Windows.Forms.AxHost.CreateInstanceCore(System.Guid)
at System.Windows.Forms.AxHost.CreateInstance()
at System.Windows.Forms.AxHost.GetOcxCreate()
at System.Windows.Forms.AxHost.TransitionUpTo(Int32)
at System.Windows.Forms.AxHost.CreateHandle()
at System.Windows.Forms.Control.CreateControl(Boolean)
at System.Windows.Forms.Control.CreateControl(Boolean)
at System.Windows.Forms.AxHost.EndInit()
at WLAN_Verify_Auto.Form1.InitializeComponent()
at WLAN_Verify_Auto.Form1..ctor()
Exception Info: System.InvalidOperationException
at WLAN_Verify_Auto.My.MyProject+MyForms.Create__Instance__[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.__Canon)
at WLAN_Verify_Auto.My.MyProject+MyForms.get_Form1()
at WLAN_Verify_Auto.My.MyApplication.OnCreateMainForm()
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(System.String[])
at WLAN_Verify_Auto.My.MyApplication.Main(System.String[])
Nome do aplicativo com falha: WLAN Verify Auto.exe, versão: 1.0.0.0, carimbo de data/hora: 0xd82d16ad
Nome do módulo com falha: KERNELBASE.dll, versão: 6.1.7601.24354, carimbo de data/hora: 0x5c356365
Código de exceção: 0xe0434352
Deslocamento da falha: 0x0000c5af
ID do processo com falha: 0x333c
Hora de início do aplicativo com falha: 0x01d5db6273f14e47
Caminho do aplicativo com falha: C:\NPC_PROGRAM\WLAN Verify Auto.exe
Caminho do módulo com falha: C:\Windows\syswow64\KERNELBASE.dll
ID do Relatório: b2fbc370-4755-11ea-b7de-e8039a40e06d
Nome completo do pacote com falha: %14
ID do aplicativo relativo ao pacote com falha: %15
Falha no bucket , tipo 0
Nome do Evento: CLR20r3
Resposta: Não disponível
ID do CAB: 0
Assinatura do problema:
P1: WLAN Verify Auto.exe
P2: 1.0.0.0
P3: d82d16ad
P4: System.Windows.Forms
P5: 4.7.3324.0
P6: 5c09ba04
P7: 66e
P8: 36
P9: System.InvalidOperationException
P10:
I already tried to build the application with different frameworks, but the error persists. Maybe it's a DLL missing...
Does anyone know how to fix this kind of issue?
Thank you!
User contributions licensed under CC BY-SA 3.0