.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Post New Web Links

Managed Addin Framework UI Issues

Posted By:      Posted Date: October 22, 2010    Points: 0   Category :WPF

Problem #1: An add-in UI cannot be rotated, scaled, skewed because of which the UI from addin is not getting contained in the container because of which it is blocking the controls.

Problem #2: When focus shifts between controls in an add-in UI, the GotFocus and LostFocus events are neither received nor raised by the host application because of which addin UI sometimes seen on top of other CONTROLS and get refreshed on Mousemove.

View Complete Post

More Related Resource Links

Managed Addin Framework , VISUAL STUDIO 2010 breaks


When i am trying to add 3 visual wpf addin using for loop in .net 4.0 framework most of the times all 3 dont turned up some times 2 turned p nd sometime one but same code in f/w 3.5 sp1 works fine ?

In eventvwr i can see the log I can see the message as could not find the remote server . Please help me out from this unusual behaviour of addin .net f/w 4.0. I have istalled the patch as given by previous discussion http://social.msdn.microsoft.com/forums/en-US/wpf/thread/3c8592f2-14a6-418b-ab11-6d18096aaa0c


Crash report is as follows Version=1 EventType=APPCRASH EventTime=129461254346265559 ReportType=2 Consent=1 UploadTime=129461254349927434 ReportIdentifier=6ad7aae3-5c46-11e0-b807-0016e693a899 IntegratorReportIdentifier=6ad7aae2-5c46-11e0-b807-0016e693a899 Response.BucketId=2353269499 Response.BucketTable=1 Response.type=4 Sig[0].Name=Application Name Sig[0].Value=AddInProcess32.exe Sig[1].Name=Application Version Sig[1].Value=4.0.30319.1 Sig[2].Name=Application Timestamp Sig[2].Value=4ba1dfd6 Sig[3].Name=Fault Module Name Sig[3].Value=clr.dll Sig[4].Name=Fault Module Version Sig[4].Value=4.0.30319.315 Sig[5].Name=Fault Module Timestamp Sig[5].Value=4c05f789 Sig[6].Name=Exception Code Sig[6].Value=c0000005 Sig[7].Name=Exception Offset S

Managed AddIn FrameWork Folder Removal



 I have a below scenario...

                   My application will create an AddIntoken and will host the addin in seperate process.My code looks like...

MyHostView businessProcess = aiToken.Activate<MyHostView>(aiProcess, AddInSecurityLevel.Host);

The application will keep the above hostview object returned in aninternal dictionary for calling addin methods later...

Issue : After AddInProcess shutdown, I am not able to delete the addin folder completely...I can see that there will be 2 dlls left( HostSideAdapters.dll and contracts.dll ), and both are locked by my application. 


Can anybody tell me why my application still holds lock on the above dlls even after I shutdown my addin and killed addinprocess?




Managed Extensibility Framework: Building Composable Apps in .NET 4 with the Managed Extensibility F


Glenn Block explains how the Managed Extensibility Framework, a new library coming in .NET Framework 4.0, tackles the longstanding issue of building applications and components that can be reused and extended by others. Learn how to build apps that can use new functionality introduced by developers, framework authors and third-party extenders.

Glenn Block

MSDN Magazine February 2010

Vista and Office: View Data Your Way With Our Managed Preview Handler Framework


Stephen Toub shows you how to write your own Preview handlers for Windows Vista and Outlook 2007.

Stephen Toub

MSDN Magazine January 2007

DirectX 9.0: Introducing the New Managed Direct3D Graphics API in the .NET Framework


DirectX 9.0 is the latest evolution of the Microsoft 3D graphics technology for Windows. Direct3D, a major component of the DirectX Graphics subsystem, has evolved so rapidly in the last few years that the underlying programming paradigm has changed quite a bit from its origin. This article introduces the fundamental concepts of the unmanaged Direct3D architecture and illustrates how the managed Direct3D layer abstracts the unmanaged layer. Also, the author describes the Geometry, Texture, Device, and other classes and uses code from the Samples SDK.

Yahya H. Mirza and Henry da Costa

MSDN Magazine July 2003

C# and the Web: Writing a Web Client Application with Managed Code in the Microsoft .NET Framework


When the author wanted to build a middleware Web client to connect to other applications over the Internet, he realized that the XMLHttpRequest COM object was not sufficient for his purposes. In order to build a Web client using managed code, the author had to use the HTTPWebRequest and HTTPWebResponse classes provided by the Microsoft .NET framework. These classes are used in the sample project as a substitute for the less powerful XMLHttpRequest COM object, allowing the author to build a full-featured Web client. They also take advantage of all the benefits that the CLR and managed code have to offer.

Avi Ben-Menahem

MSDN Magazine September 2001

Framework.net 3.5 and connected issues

Hello, I was toying around with some private servers, and then removed them and some software. After that, framework.net 3.5 was messed up. I uninstalled it, and then tried to reinstall it. It said I can't reinstall it without turning some things off in windows features. When I try to, it says its unable to turn them off. Dell datasafe is also having problems since then. Have done a system restore, and it won't fix it. Please, any help would be greatly appreciated!

Framework.net 3.5 and connected issues

Hello, I was toying around with some private servers, and then removed them and some software. After that, framework.net 3.5 was messed up. I uninstalled it, and then tried to reinstall it. It said I can't reinstall it without turning some things off in windows features. When I try to, it says its unable to turn them off. Dell datasafe is also having problems since then. Have done a system restore, and it won't fix it. Please, any help would be greatly appreciated!

Can not print. All of the sudden Print spooler service not running. and .Net Framework issues


I am running Windows XP home SP3.  About 7 months ago I connected an HP printer to my computer along with a pdf print program.  Everything was fine until about 2 months ago. One day I tried to print and I received an error stating that Operation could not be completed.  The print spooler service is not running.  I cannot redownload my printer and all properties in the printer box in control panel is empty.  I have run the Microsoft fix it scan and others, etc.  They say it starts the spooler but it does not.  I still cannot add a printer nor print.  My printer recognizes my computer but not the other way around.  One scan said:  Printer:  Troubleshoot problems preventing from completing; Package Version: 2.0 Microsoft.  I have tried to repair .NET Framework 2.0 SP2 and it says cannot find netfx20a_x86.msi and then earlier tried to repair .NET Framework 3.5 but problem there as well.  I am not 100% computer savy but have been to always handle my own.  Would like uninstall all .NET Framework but am extremely afraid of what would happen.  PLEASE SOMEONE HELP ME.  I have been having problems for several months.  Also, I cannot defrag my drive to not enough space, yet I really do not have much on my hard drive so do not know what to do there either.  PLEASE HELP ME QUICKLY- BEFORE I LOO

Blocking Issues Win 7 64 bit Framework 4


I had this problem with my existing Windows 7 64 bit install, so I wiped everything and did a fresh install.  Before installing ANYthing else, I tried to install Framework 4 using this file: en_.net_framework_4_full_x86_x64_508940.

I still get the same blocking message which looks like this:

Blocking Issues:

The setup cannot run in compatibility mode. For more information, see the <A HREF="http://go.microsoft.com/fwlink/?LinkId=164156">Readme file</A>.

The .NET Framework 4 is not supported on this operating system. For more information, see the <A HREF="http://go.microsoft.com/fwlink/?LinkId=164156">Readme file</A>.

I really need this resolved.  Can anybody help?


Install issues with WebStudio- .NET framework 4.0.3 not installed

I downloaded a trial version of WebExpression and it won't install XSetup.exe - NET Framword Initializaiton Error. To run this application you first must install one of the following versions of the .NET framework: v 4.0.30319.  I have .NET  Framework 4 Extended installed.  What more do I need to do?  Can anyone help?  I am running on  Vista Home Premium 2007 - Service Pace 1

Datetime issues in Entity Framework in subqueries


I'm bonking my head against the wall trying to resolve this.

I've got three tables - Widgets, Users, and Subscriptions. I have a one-to-many reference set up between Users and Subscriptions since users can have multiple subscription, and a many-to-one between Widgets and Users.

What I'm trying to do is populate a gridview of widgets. Widgets have (only) one user, and those users may or may not have a subscription that's in the same category as that widget. So I've got

Widgets has a category_ID and user_ID (the owner)

Users have a user_ID and a name

Subscriptions have an expiration date, category_ID, and user_ID

Now before in LINQ to SQL I was doing something like

from c in dataContext.Widgets
let sub_days_left = (from d in dataContext.subscriptions
  where d.category == c.category
  && d.user_table.user_ID == c.user_table.user_ID
  select d.expiration_date).Single()
select new
  days_left = sub_days_left == null ? 0.0 : (sub_days_left - DateTime.Now).TotalDays

So I'm converting this all to Entity Framework and obviously TotalDays can't be used. So I'm trying to figure out how to accomplish this. I don't want to do an .AsEnumberable or .ToList() so that I can use Linq

Trying to use use Managed Extensibility Framework to inject dispatcher into ViewModel



I found this: http://stackoverflow.com/questions/2354438/mvvm-best-practice-to-pass-dispatcher-to-the-viewmodel

And wanted to try, not surprisingly I did not get it to work.

Here is my code:


 public partial class MainWindow : Window, IContext
 public MainWindow()
 #region IContext Members
 bool IContext.CheckAccess()
  return this.Dispatcher.CheckAccess();
 public bool IsSynchronized
  get { return this.IsSynchronized; }
 public void Invoke(Action action)

Visio Addin - issues with install and looking for additional information


Hi Folks

I tried to install the Visio Data mining addin to view DM models.  However,  I can't find it in menus or list of addin and I am struggling to find any information on the addin in general (beyond the basic install information).  It doesn't appear that the addin has been disabled (see screenshot ), but then again I can't actually see the add in the list of addins). I am assuming, if active, it would appear in the excel ribbon like the "Datamining" or "Analyze" menus items. Any suggestions on what may have gone wrong or  links to articles would be appreciated.



Multiple database support with Entity Framework

One of the features introduced in Entity Framework is being database independent. Which mean each database provider can support Entity Framework by implementing its provider.

This feature allows you build applications independent from the underplaying database provider. In this post I'm going to show how to build an application that support multiple databases using same conceptual model made by Entity Framework.

Creating a Generic Entity Framework 4.0 Repository

With .NET 4.0 right around the corner, I thought it would be cool to download Visual Studio 2010 beta 2 and start playing around with the next release of Entity Framework.

The initial release of Entity Framework came with a great deal of criticism. To make matters worse, there was a large uproar when it was rumored that Microsoft would be abandoning LINQ to SQL, in favor of Entity Framework. This was because, at the time, many developers felt Entity Framework was an inferior technology to LINQ to SQL. To set things right, Microsoft proactively moved forward with improving Entity Framework, in time for the 4.0 release of the .NET Framework. This is good news because my initial impressions, so far, have been nothing but positive.

ASP.NET 4.0 Dynamic Data and Many to Many Entity Framework Entities

I did not play much with Dynamic Data controls in VS2008 and just made a cool discovery in VS2010 Beta 2. This may not even be new, but as I'm sitting 30,000+ feet over the Atlantic ocean, I don't have access to VS2008 at the moment to check.
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend