‘Add-in Express for Office and .net’ category archive
Andrei Smolin | June 17th, 2021
Today, I’m following Microsoft recommendations and using code fragments they provide to investigate the behavior of a System.Windows.Forms.Form (simply a form)...
Read the rest of this entry →
.NET, C#, COM add-ins, Excel, Office, Office 2019, Office 365, Outlook, PowerPoint, task panes, VB.NET, Word |
3 Comments
Andrei Smolin | June 10th, 2021
In the first blog of this series, I showed issues related to using several monitors with different DPIs. To get an explanation of those pretty confusing results, let’s check resources available on the web....
Read the rest of this entry →
.NET, C#, COM add-ins, Excel, Office, Office 365, Outlook, Outlook regions, PowerPoint, task panes, VB.NET, Word |
No Comments
Andrei Smolin | July 20th, 2020
Just recently we've got a comment declaring one of our blogs on releasing COM objects "wrong and misleading": the author says Marshal.ReleasingComObject() and related things made him spend "lots of time on writing code that is totally unnecessary" and provides many links supporting the idea that you can use GC.Collect() to get rid of non-released COM objects....
Read the rest of this entry →
.NET, COM add-ins, Excel, Object model, Outlook, Word |
2 Comments
Andrei Smolin | July 1st, 2020
Quick news: we've developed a new version of sample COM add-in projects that we provide in the downloadable archive on the Add-in Express .NET Downloads page...
Read the rest of this entry →
C#, COM add-ins, Excel, Object model, Office, Outlook, Outlook regions, PowerPoint, Project, Ribbon, task panes, VB.NET, Word |
5 Comments
Andrei Smolin | February 27th, 2019
The number of users having the Office version installed from Microsoft Store increases every day as computer vendors install it by default; see e.g. this support article from Dell. Per-user add-ins and some per-machine add-ins may run into a severe issue with that Office version. The issue is: the add-in uses old versions...
Read the rest of this entry →
.NET, COM add-ins, Deployment, Office 365 |
10 Comments
Andrei Smolin | September 24th, 2018
Recently, our mail boxes became overwhelmed with a flow of reports describing how Add-in Express panes appear outside the host application's window. This is a manifestation of how the code calling the SetParent Windows API function can be incompatible with the recent Windows API change supported by Office 2016: Microsoft introduced DPI contexts and related API functions to let you get/set the current context...
Read the rest of this entry →
|
13 Comments
Andrei Smolin | May 8th, 2018
This story started with Windows 10 Fall Creators Update that allowed using different DPIs on different monitors. How does it affect Office extensions? DPI unaware panes/forms are bitmap-stretched by Windows when DPI changes. To avoid this, you need to get notified about the DPI change and resize the form/pane and controls on it, use a different font size, different images (optional) and the form icon...
Read the rest of this entry →
|
17 Comments
Dmitry Kostochko | May 7th, 2018
Long-term customers of Add-in Express know that we usually sim-ship new releases with new versions of Microsoft Office. This time is different. While Microsoft guys are probably still working on the new features of Office 2019, the new major version of Add-in Express for Office and .net is live already...
Read the rest of this entry →
.NET |
2 Comments