Use VSASSERT to help debug

Here is a second tip for debugging that requires a slight .h file change. If you have the VSIP SDK installed  and you need advanced assert help, use VSASSERT. VSASSERT is a nifty utility that is installed with the VSIP SDK that will put up an assert message. The advantage of this assert technology over…

1

Fix debugging QIs in ATL code

I have been doing a lot of VSIP package writing lately. While I was writing a project for VS I wanted to find out which interfaces VS is looking for on my package so I could implement those interfaces. I decided to turn on ATL’s QI tracking feature to make tracking down these interfaces easier. You can…

5

Custom command bitmaps 101

This is the tutorial I promised on how to create buttons with custom UI in the VS object model.   A common question that I get is how can you add a custom bitmap to a command placed on a tool bar and have that bitmap support transparency. Getting this to work is not very…

8

Commands and UI

(Copied from weblogs.asp.net/craigskibo) Today was a big source code check-in day. I sent well over 50 files to be checked into our source code control system, and I will be here late sending off a lot more. What kind of things did I change? Well, one of the most asked for features is the ability…

2

Commands and UI

Today was a big source code check-in day. I sent well over 50 files to be checked into our source code control system, and I will be here late sending off a lot more. What kind of things did I change? Well, one of the most asked for features is the ability to add different…

5

Crossing the VSIP Bridge – Part 2(a)

Sorry this took so long to get out, but I have had some connectivity issues lately and could not post to this blog.   It seems that my code to Crossing the VSIP Bridge – Part 2 has a bug in it that Oleg has kindly pointed out. Here is the problem:   sp.QueryService(guid1, guid2, ip);  …

0

Crossing the VSIP Bridge – Part 2

I have been putting together a presentation on how to use VSIP from automation (and vice-versa), and one bit of code that I have is how to call a VSIP interface from a macro. To make the VSIP calls, you need to first install the VSIP Extras SDK available from the vsipdev.com web site. Next,…

0

Automation samples update

Just seconds after making that last post, I received a message saying that the new set of automation samples are in the process of being propagated to the MSDN servers. We started working on these a while ago, and it took a while to get them out, but they have been upgraded for VS 2003…

0

Hello again

Hi everybody. No, I have not forgotten about you. When I got back from LA I had a lot more work piled up than I planned on, then I took a few days off to work on a few things around the house, and then the last week I have been fighting off a cold….

0

Crossing the VSIP bridge

I had another person tell me today that they decided to scrap the Add-in code they wrote and start writing VSIP packages. My response to them is always “Why?” Not too many people know that you can go from the automation object model into VSIP, and from VSIP to the automation object model, with just…

1