come si vedono i pacchetti che ho? :look: :inchino:
axinterop.swiscreader dovrebbe essere la dll fornita dalla casa madre del dispositivo che stiamo usando..
io sono proprio all'abc di visual basic.. quindi non tralasciare qualsiasi possibilita'.. mi sembra che nelle referenze ci sia la dll caricata..
ad ogni modo a te la visione:
Eccezione first-chance di tipo 'System.Windows.Forms.AxHost.InvalidActiveXStateException' in AxInterop.swISCReader.dll
System.Transactions Critical: 0 : <TraceRecord xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord" Severity="Critical"><TraceIdentifier>http://msdn.microsoft.com/TraceCodes/System/ActivityTracing/2004/07/Reliability/Exception/Unhandled</TraceIdentifier><Description>Eccezione non gestita</Description><AppDomain>mio.vshost.exe</AppDomain><Exception><ExceptionType>System.Windows.Forms.AxHost+InvalidActiveXStateException, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType><Message>Generata eccezione di tipo 'System.Windows.Forms.AxHost+InvalidActiveXStateException'.</Message><StackTrace> in AxswISCReader.AxISCReader.NewComReader(Byte&amp; nComPort, String&amp; cFrame, String&amp; cBaudRate, Int16&amp; nTimeOut)
in mio.Form1.Button1_Click(Object sender, EventArgs e) in C:\Documents and Settings\notekup\Desktop\mio\mio\Form1.vb:riga 58
in System.Windows.Forms.Control.OnClick(EventArgs e)
in System.Windows.Forms.Button.OnClick(EventArgs e)
in System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
in System.Windows.Forms.Control.WmMouseUp(Message&amp; m, MouseButtons button, Int32 clicks)
in System.Windows.Forms.Control.WndProc(Message&amp; m)
in System.Windows.Forms.ButtonBase.WndProc(Message&amp; m)
in System.Windows.Forms.Button.WndProc(Message&amp; m)
in System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message&amp; m)
in System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message&amp; m)
in System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
in System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG&amp; msg)
in System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
in System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
in System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
in System.Windows.Forms.Application.Run(ApplicationContext context)
in Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
in Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
in Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)
in mio.My.MyApplication.Main(String[] Args) in 17d14f5c-a337-4978-8281-53493378c1071.vb:riga 81
in System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)
in System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
in Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
in System.Threading.ThreadHelper.ThreadStart_Context(Object state)
in System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
in System.Threading.ThreadHelper.ThreadStart()</StackTrace><ExceptionString>Impossibile richiamare il metodo 'NewComReader' in questo momento.</ExceptionString></Exception></TraceRecord>
grazie