Posts Tagged ‘PIAs’
Andrei Smolin | August 13th, 2010
In one of my previous lives, I was a VBA and VB6 developer: ReDim, InStr, Msgbox, If Not Obj Is Nothing and other ugly things were part of that nice life. Now I live another life and have both VB.NET and C# experience gradually shifting to C#. If you are a late wayfarer on the […]...
Read the rest of this entry →
.NET, COM add-ins, Deployment, Office, PIAs, VB.NET, VBA |
1 Comment
Let’s take a break from the Northwind Traders application for a while and talk about a new feature available in .Net Framework 4 : NoPIA or Type Embedding. As you all know when we developed Office Add-ins or applications that integrated with the Office suite of products we have to include a reference to the Office PIAs or Primary Interop Assemblies
...
Read the rest of this entry →
.NET, C#, COM add-ins, Office, PIAs, VB.NET, Visual Studio, Word |
8 Comments
Andrei Smolin | May 6th, 2010
The Outlook object model doesn't allow showing the PrintPreview dialog. To show it in all Outlook versions, you need to call the Execute method of a corresponding command bar button. Also, in Outlook 2007 and 2010, you can invoke the corresponding Ribbon command using the ExecuteMso method of the Office.CommandBars class. Let's see how to do this...
Read the rest of this entry →
.NET, C#, COM add-ins, Object model, Office, Outlook, PIAs, Ribbon, Visual Studio |
2 Comments
Andrei Smolin | March 16th, 2010
When accessing a COM type library in .NET via early binding you need to use a corresponding interop. An interop for an Office application is a .NET assembly providing meta-information about objects, properties, methods, and parameters available in the type library (=object model) of the Office application. Microsoft provides interops for all Office applications starting from Office version 2002...
Read the rest of this entry →
.NET, COM add-ins, Office, Outlook, PIAs, Visual Studio |
No Comments