Archive for April, 2007

Problem deploying Visual C++ application compiled under Visual Studio 2005

Target machine is a clean install, Windows XP Tablet PC edition, never had any development tools on it. After doing XCopy deploy of .exe and associated .dlls, trying to run the application gives error Message Box:
“The application failed to initialize properly (0xc0150002). Click on OK to terminate the application.”
From the Microsoft posting “How […]

Writing an Outlook Add-in with C# (Epilogue)

Outlook Add-in Deployment issues
So after you’ve built your new whiz-bang Outlook Add-in, you will want to deploy it to your user’s machines. It runs fine on your development machine, but when you copy it (or use the installer to install it) to another box, it doesn’t run so fine. Here are some deployment issues I […]

Writing an Outlook Add-in with C# (Part 4)

In the last 3 sessions, we have developed an Outlook Add-in that adds a tab to a Contact window when it is opened. We began to discuss some further issues with which we must grapple.
Problem #1. There is a Microsoft documented problem with Outlook hanging in memory after closing it even if an Outlook Add-in […]

Writing an Outlook Add-in with C# (Part 3)

To this point we have an Outlook Add-in shell written.  We have verified that Outlook sees it and that Outlook loads it when it starts up.  (See Part 1 and Part 2 if you missed them). Now we are going to make it do something interesting inside Outlook. 
To start with, let’s add a tab to the […]

Writing an Outlook Add-in with C# (Part 2)

So far we have created an Add-in for Outlook with the Visual Studio wizard.  If you missed that, you can go back to Part 1. 
Go ahead and build it and make sure there is no problem there.  If all is well, you should have a bin\Debug directory underneath your MyAddin directory and a MyAddin.dll in it.  […]

What is an Outlook Add-in?

An Outlook Add-in is a .dll that Outlook loads (typically when it starts up).  It can do almost anything you want it to do, including creating custom tabs that show up in places such as Contacts and e-mail message dialogs.  Nifty way to customize Outlook and make it look like your product integrates natively with […]

Writing an Outlook Add-in with C# (Part 1)

One of the more fun things to do as a developer is to interface with Microsoft Office.  That “fun” word is a little bit tongue-in-cheek, because sometimes it is anything but fun to write apps that talk to Office. 
I had a recent experience writing an Outlook add-in that hopefully will save you a lot of […]

Welcome

Welcome to Midniteblog.com.  Here you will find ideas and ruminations about life in general and more specific topics about computers and programming.  I love to write code and I do it both for a living and as a hobby (kinda nerdy, huh?). 
Hopefully something you find here will be of use and I also hope you […]