System.TypeInitializationException was unhandled
  Message="The type initializer for 'asmrft.m1Public' threw an exception."
  Source="asmrft"
  TypeName="asmrft.m1Public"
  StackTrace:
       at asmrft.m1Public.main()
       at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
       at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()
  InnerException: System.Reflection.TargetInvocationException
       Message="Unable to get the window handle for the 'AxDynamicTwain' control. Windowless ActiveX controls are not supported."
       Source="System.Windows.Forms"
       StackTrace:
            at System.Windows.Forms.AxHost.InPlaceActivate()
            at System.Windows.Forms.AxHost.TransitionUpTo(Int32 state)
            at System.Windows.Forms.AxHost.CreateHandle()
            at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
            at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
            at System.Windows.Forms.AxHost.EndInit()
            at asmrft.Form1.InitializeComponent() in C:\Users\computer department\Desktop\vb\sakik.net\asmrft\Form1.vb:line 670
            at asmrft.Form1..ctor() in C:\Users\computer department\Desktop\vb\sakik.net\asmrft\Form1.vb:line 11
            at asmrft.m1Public..cctor() in C:\Users\computer department\Desktop\vb\sakik.net\asmrft\Module1.vb:line 9
       InnerException: System.AccessViolationException
            Message="Attempted to read or write protected memory. This is often an indication that other memory is corrupt."
            Source="System.Windows.Forms"
            StackTrace:
                 at System.Windows.Forms.UnsafeNativeMethods.IOleObject.DoVerb(Int32 iVerb, IntPtr lpmsg, IOleClientSite pActiveSite, Int32 lindex, IntPtr hwndParent, COMRECT lprcPosRect)
                 at System.Windows.Forms.AxHost.DoVerb(Int32 verb)
                 at System.Windows.Forms.AxHost.InPlaceActivate()
            InnerException: 
