MichaelDev
Wednesday, October 27, 2004
  COM Interop in .Net
I had to make COM Interop with .Net and VB6 work a few months back. Since I'll probably have to do that again soon, I figured a post on this was timely.

Getting everything to work correctly wasn't as easy as advertised. True, I did some Google searches for useful information. I did get the whole thing to work, complete with IntelliSense working from VB6. It was great.

A couple of months after that, I stumbled across this article that talks about all the stuff they don't tell you (that I had to figure out). I took a quick read of it and I think it covered all the stuff I had to figure out. I was going to write down the real steps, but why bother, I think they're all here!

Besides that article, there are a couple of other related articles I ran into that were useful. I might as well list those, too:


9/8/2005:
I stumbled across another useful attribute today: ComClassAttribute. The main article referenced above doesn't reference this attribute. It's in the Microsoft.VisualBasic namespace (why not just put it with everything else)?

 
Tuesday, October 12, 2004
  Missing friend keyword in C#
While I like C#, there are some things missing when I compare it with the C++ world. Today's missing feature is the friend keyword. It would elegantly solve my current problem. Without it, I'm going to end up with a public contsructor for something that really shouldn't have it. internal won't work because this class needs to be in a separate assembly.

I add that to some other things I wish I really had in C#
 
Various notes on software development. Currently using C# and .Net. May also include comments on the overall software development process, etc.

Name:
Location: Orange County, California, United States
ARCHIVES
June 2004 / July 2004 / August 2004 / September 2004 / October 2004 / November 2004 / December 2004 / January 2005 / February 2005 / March 2005 / April 2005 / May 2005 / September 2005 / October 2005 / November 2005 / January 2006 / February 2006 / April 2006 / May 2006 / June 2006 / March 2007 /


Powered by Blogger