Visual Basic Performance Updates (SP1)

Recently, Visual Studio released SP1 for the various Visual Studio 2005 SKUs. You can download the express SKU here, or the other SKUs here. I highly recommend that you install the service pack if you are running into VB compiler performance issues with large projects. This service pack contains the fixes that was released as…

0

Friend Assemblies for Visual Basic Orcas

One of the features missing from Visual Basic 2005 was support for what is known as friend assemblies. We are currently working on enabling Friend Assemblies for the next version of Visual Basic (code named Orcas). I wanted to share with you some of the nice things about friend assemblies and some of the gotchas….

1

Bad COM practices: Returning an AddRef’d pointer

Recently I had to fix a memory leak in some COM code that was pretty poorly written. The problematic code looked something like this:  IMyInterface* GetInterface() { IMyInterface* pRef = NULL; pRef = ::CoCreateInstance(…); // At this point, pRet has a reference count of 1. return( pRef ); } void UseInterface() { CComPtr<IMyInterface> sp; sp…

2

Why customer service is the most important aspect of business

For those that know me personally, you’ll know that my brother loves motorcycles, and that recently we have purchased 3 motorcycles within the last 8 months. Our experience through this time has definitely confirmed to us why customer service and interaction is the most important aspect of business. When my brother first moved to Seattle…

1

Visual Studio 2005 IDE Enhancements

I just found out that we released the Visual Studio 2005 IDE Enhancements – there are quite a few useful tools in this pack, I highly recommend that you check it out! One of the tools in this package is the “Source Code Outliner”, which was a nice surprise for me. This project started as a…

0

John is coming to Microsoft!

I heard from John a month or two ago that he would be coming to Microsoft, and it looks like he’s broken the news (and Soma too!). The RubyCLR bridge that he created is totally awesome, so I hope someone hears his requests and picks up and project and continues the great work he’s done…

0

RubyCLR and Visual Basic – part 2 (delicious project)

Last time, I showed how to connect a Ruby class to a VB class using RubyCLR bi-directionally. This time, we use Ruby to connect to a VB form and display data in .NET. We’ll also write our event handlers in Ruby, just for kicks. I’ve attached a zip file that contains the Ruby scripts and…

0

My trip to Dayton, Ohio

Some thoughts after spending a week in Dayton/Cincinnati. I will most likely be back to visit Joyce again, so thanks to rodtrent and ajoyk for some comments! It definitely wasn’t as bad as when I first got here and was shocked 🙂 In fact, it was actually quite relaxing and enjoyable. The good: People are extremely friendly….

2

COM, Re-entrancy, and Message Pumping

Disclaimer: I hesitated posting this because this is a topic that is extremely complicated and deep, and like I point out in the article, lots of smart people have talked about some aspect of this problem, but I thought that I would share our specific problem and what some of the results are if you…

6

In Dayton, Ohio

I’m visiting my girlfriend for a week in Dayton, Ohio. She’s doing an internship here for a few months, and it’s been definitely quite strange. We’re both from Toronto, Ontario, and we both went to school at the University of Waterloo (she’s in Optometry, I studied Computer Science), and being in Dayton is definitely quite…

6