yes m using solidworks provided template and m using solidworks
interops.
error is present in both debug/release mode and comes on multiple
computers only when i run through Visual Studio.
If I deploy it on other machine where there is no visual studio
installed...addin works fine with solidworks. i don't get any error.
any help regarding this would be highly appreciated.
Thanks,
Sameer
On Sep 26, 1:45 am, Corey Scheich <
cdsmor...@hotmail.com> wrote:
> Are you using the SolidWorks provided template?Are you referencing the SolidWorks provided interops or did you create new ones by directly referencing the COM Dll.Is the error present during debug, non-debug or both?One computer or multiple?
>
>
>
> > Date: Fri, 25 Sep 2009 10:09:38 -0700
> > Subject: Re: DisconnectedContext Detected Error
> > From:
ebri...@althima.com
> > To:
solidwo...@googlegroups.com
>
> > Does that happen when you unload the add-in inside SolidWorks?
>
> > On 21 Set, 10:04, Sameer Panse <
sameerpa...@gmail.com> wrote:
> > > Hi,
>
> > > In my solidowrks addin i am getting "Disconnected Context Detected"
> > > error at first line of following function -
>
> > > Overrides Function DetachEventHandlers() As Boolean
> > > RemoveHandler iPart.DestroyNotify, AddressOf
> > > Me.PartDoc_DestroyNotify
> > > RemoveHandler iPart.NewSelectionNotify, AddressOf
> > > Me.PartDoc_NewSelectionNotify
>
> > > DisconnectModelViews()
>
> > > userAddin.DetachModelEventHandler(iDocument)
> > > End Function
>
> > > I have tried no of solutions. But its not working...anyone has faced
> > > this problem?
> > > Any idea how this can be resolved?
>
> > > Regards,
> > > Sameer
>
> _________________________________________________________________
> Microsoft brings you a new way to search the web. Try Bing™ nowhttp://
www.bing.com?form=MFEHPG&publ=WLHMTAG&crea=TEXT_MFEHPG_Core_ta...bing_1x1