Search

  • Chapter Six: Loading VSTA Addins with MEF

    My integration journey has come to an end. For my last post, I am going to write about a new way of loading VSTA AddIns: MEF. I have talked about MEF some in my previous posts , and have successfully used both VSTA and MEF together before. This time, I have successfully used MEF to load VSTA AddIns. To do this, I had to edit part of the MEF library
    Posted to VSTA Integration Newbie (Weblog) by BillL on 08-13-2009
  • Chapter Five: Integrating MEF into a VSTA Add-In

    This is one of my last posts in this series. If you have not yet read my previous posts, here are the links to them: Chapter One , Chapter Two , Chapter Three , Chapter Four . (I would especially read Chapter Three, as that is where I introduce MEF, and I would also read the MEF Overview and the Programming Guide, which are linked to in Chapter Three
    Posted to VSTA Integration Newbie (Weblog) by BillL on 08-10-2009
  • VSTA IDE Hangs Up when Stepping Into Code

    Q : The VSTA IDE keeps hanging up while debugging when I try to step into code. Why is it doing this? A : The IDE may be hanging because you have left PDB files in your application directory. Even if you are running the Release version, make sure that you have no PDB files in the same directory as your application.
    Posted to VSTA Q & A Blog (Weblog) by BillL on 07-31-2009
  • Chapter Four: Integrating the VSTA IDE

    My integration journey is taking some exciting turns. As always, I would encourage you to read the first three posts in this series ( Chapter One , Chapter Two , and Chapter Three ) before reading this one. I have finally integrated the VSTA IDE into my Contact Manager program. I am going to go through how I did this, show some code, and talk about
    Posted to VSTA Integration Newbie (Weblog) by BillL on 07-28-2009
  • Error loading VB add-ins - token count 0

    Q : I have a problem with loading VB add-ins. The method call: ObjectModel::Collection<AddInToken^>^ addInToken = AddInStore::FindAddIn(IEntryPoint::typeid, AddInStoreExtensions::DefaultPipelinePath, FilePath, TypeName); returns an empty collection when called on a dll created using VB. The FilePath parameter points to a dll, the TypeName is an
    Posted to VSTA Q & A Blog (Weblog) by BillL on 07-08-2009
  • ShapeAppBasicMFC with Document Entry Point

    In this sample, Melody modified the proxy to include an entry point for the CDocDrawing class (the CDocDrawing class was also modified to include events which become disassociated with ProxyGen- see this blog for related info on this bug ) and the HostItemProvider to expose the CDocDrawing type. Melody also created a template for document level add
    Posted to VSTA Samples (MediaGallery) by BillL on 07-06-2009
  • ShapeAppBasicMFC with Document Entry Point

    In this sample, Melody modified the proxy to include an entry point for the CDocDrawing class (the CDocDrawing class was also modified to include events which become disassociated with ProxyGen- see this blog for related info on this bug ) and the HostItemProvider to expose the CDocDrawing type. Melody also created a template for document level add
    Posted to VSTA Q & A Blog (Weblog) by BillL on 07-06-2009
  • Chapter Three: MEF

    For chapter three, I will be introducing a framework from Microsoft called the Managed Extensibility Framework, or MEF ( MEF on CodePlex , MEF on MSDN ). If you are not familiar with MEF, you will certainly get more out of this post if you read the MEF overview and programming guide ( MEF Overview , MEF Guide ). Now I will give a synopsis of what has
    Posted to VSTA Integration Newbie (Weblog) by BillL on 07-02-2009
  • Chapter Two: Loading Add-ins

    Here is the second chapter in my integration journey. If you have not looked at the first blog post , it would be a good idea to look there first, because that post will explain the application I am working with and my idea behind it. First, let’s look at a few things that have changed since my first app. If you open the attached .zip file , you
    Posted to VSTA Integration Newbie (Weblog) by BillL on 06-29-2009
  • Hang-ups during in-process debugging.

    Here is Microsoft’s workaround for the problem hang-ups during in-process debugging: “The idea is that we want to wait for the type –registering threads to finish before we call addin.FinishInitialization. What I did is to record the number of threads in the process before we activate add-in. After addin.Initialize (when the type-registering
    Posted to VSTA Q & A Blog (Weblog) by BillL on 06-22-2009
Page 1 of 9 (85 items) 1 2 3 4 5 Next > ... Last ยป | More Search Options
Copyright Summit Software Company, 2008. All rights reserved.