importing a COM dll

[b][red]This message was edited by donkyho at 2003-6-19 11:8:0[/red][/b][hr]
I can't for the life of me, create a simple object from my COM dll. I'm writing my page in C#, here's the line I'm using.

[code]
DbBus.IDbController db = (DbBus.IDbController)Server.CreateObject("DbBus.DbController");
[/code]

DbBus is the .dll name, IDbController is the interface and CDbController is the implementation class. PLEASE!!! SOMEONE GIVE ME THAT DAMN LINE OF CODE! :)

I know I know, it's sooo easy, but for some reason I can't figure it out. And yes, I referenced it

Thanks in advance


Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories