I have a COM Object that I was talking to with no problem in ASP. Here is the old code.

Set idnObj = Server.CreateObject("XCodeCOM.XCode.1")

I am not in the process of converting to .NET and I cannot seem to call it at all... Here is what I am trying.

<%@ Import Namespace="XCODECOMLib" %>

Dim idnObj As XCODECOMLib.XCode
idnObj = new XCODECOMLib.XCode

With this, I always get the same errors within the debug:

error BC30466: Namespace or type 'XCODECOMLib' for the Imports 'XCODECOMLib' cannot be found

and

error BC30002: Type 'XCODECOMLib.XCode' is not defined.

But the lib is there so it must be a syntax thing.

Any help is apprecaited.