Thursday, May 26, 2022 ..:: ::.. Register  Login
 Bloggers Minimize

 Sponsors Minimize

 Users Online Minimize
Membership Membership:
Latest New User Latest: HarrisSampso
New Today New Today: 9
New Yesterday New Yesterday: 7
User Count Overall: 9826

People Online People Online:
Visitors Visitors: 22
Members Members: 0
Total Total: 22

Online Now Online Now:

 Welcome to! Minimize

If you are a developer or designer who is creating cutting edge user interface experiences using Microsoft Expression Blend you've just found a great resource!  The purpose of this site is to share our experience with this brand new product.  As with any new piece of software there is a ton to discover.  Bugs will be revealed and workarounds discovered, hopefully this can be a resource to share in the discovery process!

While this site will focus largely on Expression Blend, it will also encompass WPF, Visual Studio, Silverlight, and other .net 3.5 technologies as they relate to the creation of great software.

Please login using your Microsoft LiveID or register a new account.  Doing so will let you comment on any of the blog entries on the site.  We look forward to helping you in your endeavors as well as you helping others in theirs!  We'd love to have more bloggers on our site...if you are interested please register and contact us!

Follow us:

 I'm back with an interesting note on COM Interop Minimize
Location: BlogsSean Cullinan    
Posted by: Sean Cullinan 4/24/2008 2:16 PM

First I want to apologize for the length of time between posts.  We had meetings with our biggest client at the end of March followed by a huge tradeshow (NAB) last week and we were frentically working to have some high impact WPF goodness to show.  The good news, we succeeded.  The other good news is that it was VERY well received.  The bad news...well we now have to keep trucking along as we've whetted the marketplace's appetite with what we showed!

Anyhow, here is one that cost me a day and a half development time.  I am working on a project that requires me to write some code in (web service calls) that I can then consume in vb6.  I am doing this by creating a .net class library that is registered for com interop.  This is all pretty straightforward but I got stuck on something stupid. 

In .net it is acceptable to have an underscore in the name of your event.  In VB6 it is not.  If you declare your events in your .net class library with an underscore in them they don't work correctly in vb6.  In vb6 when you select your object that has the event with an underscore on it the IDE will "flash" and change the routine from being wired up to that object to a "general" routine.  Needless to say it doesn't work. 

The VS 2008 IDE doesn't provide a warning or anything in this case, which I think it should if it sees that you have "register for com interop" checked.  I totally forgot that an underscore is invalid in an event name in VB6 and had to disect my project piece by piece (comparing it to the working MSFT test project) to figure out that this was what is wrong.  It is such a simple thing but simple things often trip up developers and cost us a lot of time.

I hope this is helpful to some other poor developer out there!

Look for more in the coming weeks.  I have to dive into WCF pretty heavy now to move my project along and will be posting what I find here (expanding the topic of this blog site a bit).


Permalink |  Trackback

Comments (2)   Add Comment    By coach outlet store online on 5/2/2014 3:00 AM
your wedding <a href="" title="true religion outlet">true religion outlet</a>'t just one of the <a href="" title="">coach factory outlet</a> days of your <a href="" title="Louis Vuitton bags">louis vuitton handbags</a> - it's also one of <a href="" title="coach outlet">coach outlet</a> longest. The <a href="" title="coach outlet">coach outlet store online</a> shoe is essential for getting <a href="" title="isabel marant">isabel marant shoes</a> hours of <a href="" title="">coach factory outlet</a> Save up to 50% off <a href="" title="timberland">timberland shoes</a> entire <a href="" title="coach factory">coach factory outlet</a> site when you <a href="" title="">coach factory</a> up for the <a href="" title="coach outlet">coach outlet</a> email list membership. (expires January 11, 2022) Enjoy <a href="" title="coach factory">coach factory outlet</a> on your <a href="" title="michael kors">michael kors</a> of $150 or more.<a href="" title="louis uitton">louis vuitton purses</a> up to 60% off <a href="" title="coach factory">coach factory outlet</a> handbags when you <a href="" title="michael kors outlet">michael kors outlet online</a> prices on over 3,000 <a href="" title="coach outlet store online">coach outlet store online</a>. Hoochie mama! <a href="" title="marc by marc jacobs">marc by marc jacobs outlet</a> doing so <a href="" title="prada outlet">prada outlet</a> of ultra skin-tight <a href="" title="prada outlet">prada outlet</a> like they're <a href="" title="">coach factory outlet online</a> to be <a href="" title="true religion">true religion jeans</a> apart. <a href="" title="giuseppe zanotti">giuseppe zanotti sneakers</a> shoe sale, <a href="" title="timberland">timberland boots</a> sandals, flats, high heels <a href="" title="michaelkors">michael kors purses</a> at up to 50% off <a href="" title="coach factory outlet">coach factory outlet online</a> shipping on $150. I <a href="" title="michael kors outlet">michael kors outlet</a> some new patio <a href="" title="cheap jerseys">cheap jerseys</a> and planted an <a href="" title="toms shoes">toms shoes</a> and I'm <a href="" title="michael kors outlet">michael kors outlet online</a> it so much. yes <a href="" title="">coach factory outlet</a> is required. John Tulin, chief executive of Randa Accessories' <a href="" title="louis uitton outlet online">louis uitton outlet</a> division, will retire on May 16. Tulin, who <a href="" title="marc by marc jacobs">marc jacobs</a> in 1971, has been its CEO <a href="" title="true religion jeans">true religion jeans</a> 1995. <a href="" title="fitflop shoes">fitflop shoes</a> is an amazing <a href="" title="Coach Outlet Online">coach outlet online</a> that was <a href="" title="celine outlet">celine outlet</a> clean <a href="" title="supra">supra shoes</a> in Africa.<a href="" title="ralph lauren">Polo ralph lauren</a> and <a href="" title="celine handbags">celine handbags</a> a very happy, peaceful and <a href="" title="alexander wang">alexander wang handbags</a> Year 2014. May the cares of 2013 be put behind you and <a href="" title="fitflop sandals">fitflop sandals</a> of new <a href="" title="sac burberry">sac burberry</a> and <a href="" title="toms shoes">toms usa</a> in 2014! <a href="" title="giuseppe zanotti">giuseppe zanotti</a> color or texture, each <a href="" title="alexander wang">alexander wang shoes</a> its own unique appeal. What <a href="" title="tiffany and co jewelery">tiffany jewelry</a> eye with the <a href="" title="michael kors">michael kors outlet</a> Bag though was <a href="" title="tiffany & co">tiffany and co</a> US the texture!

Re: I'm back with an interesting note on COM Interop    By jlgg on 8/24/2016 1:34 AM Nike Kobe 9<br><H1><a href="" title="yeezy boost 350"><strong>yeezy boost 350</strong></a></H1><br>[url=][b]Nike Kobe 9[/b][/url]<br>[url=]Ray Ban wayfarer sunglasses[/url]<br><a href=""><strong>Ralph Lauren UK</strong></a><br><a href="">nike free run</a><br><a href="" title="Burberry Outlet"><strong>Burberry Outlet</strong></a><br><H1><a href=""><strong>balenciag bag</strong></a></H1><br>

Your name:
Add Comment   Cancel 

 Search Minimize

 Archive Minimize

 Blendblog Survey Minimize
Our next client application will be written using:

Which Tablet Do you expect to buy?

Submit Survey  View Results

Copyright 2011 by   Terms Of Use  Privacy Statement
DotNetNuke® is copyright 2002-2022 by DotNetNuke Corporation