Mozilla Control Fehler

  • VB.NET

Es gibt 1 Antwort in diesem Thema. Der letzte Beitrag () ist von magerquark.

    Mozilla Control Fehler

    Hallo zusammen,


    Ich würde gerne das Mozilla Control verwenden. Problem dabei ist nur das ich leider nach dem Donwload und der Instalation eine Fehlermeldung erhalte.

    Folgende schritte haben zu dem Fehler geführt:

    1. Download der datei (iol.ie/~locka/mozilla/MozillaControl1712.exe)
    2. Instalation der Datei im in den Standartordner (C:\Program Files\Mozilla ActiveX Control v1.7.12)
    3. Einbinden in VB Studio ( Extras -> toolbox elemente auswählen-> Com Steuerelemente -> MozillaBrowser Class aktiviert )

    Testten des Controls:

    Neues Projekt
    Control eingefügt ( kann ich allerdings nicht verschieben wird auch nicht sochtbar in dem Form dagestellt eigenschaften kann ich jedoch ändern )
    Starten der Anwendung folgede Fehlermeldung:

    Quellcode

    1. System.InvalidOperationException wurde nicht behandelt.
    2. Message="Fehler beim Erstellen des Formulars. Weitere Informationen finden Sie in Exception.InnerException. Fehler: Der Fensterhandle für das Steuerelement AxMozillaBrowser konnte nicht abgerufen werden. Fensterlose ActiveX-Steuerelemente werden nicht unterstützt.."
    3. Source="WindowsApplication1"
    4. StackTrace:
    5. bei WindowsApplication1.My.MyProject.MyForms.Create__Instance__[T](T Instance) in 17d14f5c-a337-4978-8281-53493378c1071.vb:Zeile 190.
    6. bei WindowsApplication1.My.MyProject.MyForms.get_Form1()
    7. bei WindowsApplication1.My.MyApplication.OnCreateMainForm() in C:\Users\Stefan\AppData\Local\Temporary Projects\WindowsApplication1\My Project\Application.Designer.vb:Zeile 35.
    8. bei Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
    9. bei Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
    10. bei Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)
    11. bei WindowsApplication1.My.MyApplication.Main(String[] Args) in 17d14f5c-a337-4978-8281-53493378c1071.vb:Zeile 81.
    12. bei System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
    13. bei System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
    14. bei Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
    15. bei System.Threading.ThreadHelper.ThreadStart_Context(Object state)
    16. bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
    17. bei System.Threading.ThreadHelper.ThreadStart()
    18. InnerException: System.Reflection.TargetInvocationException
    19. Message="Der Fensterhandle für das Steuerelement AxMozillaBrowser konnte nicht abgerufen werden. Fensterlose ActiveX-Steuerelemente werden nicht unterstützt."
    20. Source="System.Windows.Forms"
    21. StackTrace:
    22. bei System.Windows.Forms.AxHost.InPlaceActivate()
    23. bei System.Windows.Forms.AxHost.TransitionUpTo(Int32 state)
    24. bei System.Windows.Forms.AxHost.CreateHandle()
    25. bei System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
    26. bei System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
    27. bei System.Windows.Forms.AxHost.EndInit()
    28. bei WindowsApplication1.Form1.InitializeComponent() in C:\Users\Stefan\AppData\Local\Temporary Projects\WindowsApplication1\Form1.Designer.vb:Zeile 46.
    29. bei WindowsApplication1.Form1..ctor()
    30. InnerException: System.AccessViolationException
    31. Message="Es wurde versucht, im geschützten Speicher zu lesen oder zu schreiben. Dies ist häufig ein Hinweis darauf, dass anderer Speicher beschädigt ist."
    32. Source="System.Windows.Forms"
    33. StackTrace:
    34. bei System.Windows.Forms.UnsafeNativeMethods.IOleObject.DoVerb(Int32 iVerb, IntPtr lpmsg, IOleClientSite pActiveSite, Int32 lindex, IntPtr hwndParent, COMRECT lprcPosRect)
    35. bei System.Windows.Forms.AxHost.DoVerb(Int32 verb)
    36. bei System.Windows.Forms.AxHost.InPlaceActivate()
    37. InnerException:


    kann mir jemand sagen was ich falsch gemacht habe ?