we are using f-in-box (v 3.2.1.0) and f-in-box library (v 3.1.1.0) control to play video in our desktop application developed in Visual Basic.net 2.0 2005.
f-in-box control is used in C# 2.0 control and that C# control is used in Visual Basic.net 2.0 desktop application. we are getting following error that is handled in application's unhandled exception and after that application is crashing.
Error Details are as under:
Source Main:System.Windows.Forms
Message:Cannot access a disposed object.
Object name: 'f_in_box__control'.
Stack Trac at System.Windows.Forms.Control.CreateHandle()
at System.Windows.Forms.Control.get_Handle()
at f_in_box__lib.f_in_box__control.PreFilterMessage(Message& msg)
at System.Windows.Forms.Application.ThreadContext.ProcessFilters(MSG& msg, Boolean& modified)
at System.Windows.Forms.Application.ThreadContext.PreTranslateMessage(MSG& msg)
at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FPreTranslateMessage(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(ApplicationContext context)
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
This error is not logged in form where this control is referenced but its logged from applicationevents.vb "UnhandledException" method.
Any Help!