All Tags » VSTA (RSS)

Browse Blog Posts by Tags

Showing related tags and posts for the Blogs application. See all tags in the site
  • Add-in Management Options

    There are many different ways to manage add-ins. Below are some common add-in management styles which can be used alone, combined, or used side by side. 1) Basic: all interactions between the host and add-ins are executed in the Startup and Shutdown methods of the add-in. This is demonstrated in the...
    Posted to Melody's VSTA Blog by Melody on 08-24-2010
    Filed under: Filed under: , , ,
  • Binding Redirects

    As mentioned in Gary's blog Dependent Assembly Binding Redirect (by version) , it is possible to use a configuration file to change which version of an assembly to use. This can be very helpful in "tight versioning" scenarios (see blog Proxy Versioning Options for Project Templates ) where...
    Posted to Melody's VSTA Blog by Melody on 07-27-2010
    Filed under: Filed under: , ,
  • How to Determine if a Project isDirty

    As previously noted the isDirty property of a project is for “Microsoft Internal Use Only” and does not actually return valid information. Instead you can determine this by querying for unsaved ProjectItems. The property MacroProjectSaved below demonstrates how to do this. Additional code...
    Posted to Melody's VSTA Blog by Melody on 03-19-2010
    Filed under: Filed under: , ,
  • 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....
    Posted to VSTA Integration Newbie by BillL on 08-13-2009
    Filed under: Filed under: , ,
  • 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...
    Posted to VSTA Integration Newbie by BillL on 08-10-2009
    Filed under: Filed under: , , ,
  • 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...
    Posted to VSTA Q & A Blog by BillL on 07-31-2009
    Filed under: Filed under: , , ,
  • 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...
    Posted to VSTA Integration Newbie by BillL on 07-28-2009
    Filed under: Filed under: , ,
  • 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...
    Posted to VSTA Q & A Blog by BillL on 07-08-2009
    Filed under: Filed under: , , ,
  • 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...
    Posted to VSTA Q & A Blog by BillL on 07-06-2009
    Filed under: Filed under: , , ,
  • 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...
    Posted to VSTA Integration Newbie by BillL on 06-29-2009
    Filed under: Filed under: , ,
  • 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...
    Posted to VSTA Q & A Blog by BillL on 06-22-2009
    Filed under: Filed under: , ,
  • ProxyGen has an inheritance issue with COM hosts.

    Q : When working with a COM host, such as the ShapeAppMFC sample included in the SDK, ProxyGen creates descriptor and proxy files which do not expose events due to the inheritance structure. Three types are generated for a class: the classType, IClassType, and _IClassTypeEvents. The classType implements...
    Posted to VSTA Q & A Blog by BillL on 06-22-2009
    Filed under: Filed under: , , , ,
  • Custom Editors in VSTA

    Q : Would it be possible for me to create a Custom Editor using VSPackage and then use it with VSTA? A : >> Would it be possible for me to create a Custom Editor using VSPackage Yes. >>and then use it with VSTA? No. However, you should be able to create ToolWindows in VSTA using an In-Process...
    Posted to VSTA Q & A Blog by BillL on 06-19-2009
    Filed under: Filed under: , ,
  • Language changes are not applied to the first run of VSTA

    Q : After I installed VSTA and some language packs I changed the language by modifying “HKEY_CURRENT_USER\SOFTWARE\Microsoft\VSTAHost\<hostid>\8.0\General\UILanguage.” However, when I ran VSTA and it configured the environment for first time use, the language changed back to English...
    Posted to VSTA Q & A Blog by BillL on 06-19-2009
    Filed under: Filed under: ,
  • Read-Only IDE Window

    Q : Is it possible to show users a VSTA IDE window but prevent them from editing the code? A : It may be possible to do this by calling IVsTextBuffer.SetStateFlags() with BUFFERSTATEFLAGS.BSF_USER_READONLY. If that doesn’t work, you could try creating a readonly line marker that encompasses the...
    Posted to VSTA Q & A Blog by BillL on 06-19-2009
    Filed under: Filed under: , ,
Page 1 of 8 (110 items) 1 2 3 4 5 Next > ... Last »
Copyright Summit Software Company, 2008. All rights reserved.