I'm hoping you've resolved this issue already, otherwise you've not been able to do much I suspect. I'm still using 9.3.1, but I'm converting our production code from VB6 to VB.NET and I've run into this error quite often. Most of the time it has meant that one of my dependency dll's is not registered properly. I recompile the dependency code, then my current code and run the application, that usually irons out the problem. I've notice at times I can get that error if I have ArcMap running in a separate debugger. If possible, it might be something a restart of your development computer can solve easily.