[VB.NET] Probleme avec les AxListBox

nakata77 Messages postés 32 Date d'inscription samedi 22 octobre 2005 Statut Membre Dernière intervention 27 juillet 2007 - 19 sept. 2006 à 11:46
nakata77 Messages postés 32 Date d'inscription samedi 22 octobre 2005 Statut Membre Dernière intervention 27 juillet 2007 - 19 sept. 2006 à 15:47
Bonjour,

j'ai déployer mon projet, je l'install, l'exécute tout marche bien, le seul probleme que je rencontre c'est quand j'essaie d'ouvrir des fenêtres qui possèdent des AxListBox j'ai des problemes
Voila ce que j'obtiens :

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.InvalidOperationException: An error occurred creating the form. See Exception.InnerException for details. The error is: Unable to get the window handle for the 'AxListBox' control. Windowless ActiveX controls are not supported. ---> System.Reflection.TargetInvocationException: Unable to get the window handle for the 'AxListBox' control. Windowless ActiveX controls are not supported. ---> System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
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()
--- End of inner exception stack trace ---
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 iCalipso.frmMetal.InitializeComponent()
at iCalipso.frmMetal..ctor()
--- End of inner exception stack trace ---
at iCalipso.My.MyProject.MyForms.Create__Instance__[T](T Instance)
at iCalipso.frmChoisirCatalogue.Ouvrir_Click(Object eventSender, EventArgs eventArgs)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
iCalipso
Assembly Version: 1.0.2449.17913
Win32 Version: 1.0.2449.17913
CodeBase: file:///D:/sengmanivanh/Program%20files/Icalipso/iCalipso.exe
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
Microsoft.VisualBasic.Compatibility
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.42
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic.Compatibility/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.Compatibility.dll
----------------------------------------
Interop.Scripting
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///D:/sengmanivanh/Program%20files/Icalipso/Interop.Scripting.DLL
----------------------------------------
AxInterop.MSForms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.0.0
CodeBase: file:///D:/sengmanivanh/Program%20files/Icalipso/AxInterop.MSForms.DLL
----------------------------------------
Interop.MSForms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.0.0
CodeBase: file:///D:/sengmanivanh/Program%20files/Icalipso/Interop.MSForms.DLL
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

Je n'arrive pas a résoudre cette erreur
Quelqu'un a une idée ?

Merci

<!-- / message -->

1 réponse

nakata77 Messages postés 32 Date d'inscription samedi 22 octobre 2005 Statut Membre Dernière intervention 27 juillet 2007
19 sept. 2006 à 15:47
Toujours le même logiciel et le même probleme, sur visual studio 2005 j'ai cette erreur
en warning :
Unable to get the window handle for the 'AxListBox' control. Windowless ActiveX controls are not supported.

si quelqu'un a deja eu ce prob

aidez moiiiiiii svppppp

http://www.vbfrance.com/infomsg_VB-NET-PROBLEME-AVEC-AXLISTBOX_815049.aspx
0
Rejoignez-nous