Question : ASP.NET and Server.CreateObject

I understand that Server.CreateObject has been replaced in ASP.NET. My problem is that I run a login/user management system with a third party object called ASPCrypt like this:
Set Cryptor = Server.CreateObject ("AspCrypt.Crypt")

In .NET, I have tried:
<%@ Import Namespace="AspCrypt" %>

but I keep getting errors like:
BC30466: Namespace or type 'AspCrypt' for the Imports 'AspCrypt' cannot be found.

The Server.CreateObject method works perfectly on the same machine using classic ASP. What do I have to do to get the AspCrypt object to work/import with .NET?

-Whatsit2002

Answer : ASP.NET and Server.CreateObject

You will have to use tlbimp on that COM object. And simplest way to do is from IDE, add refrence to that DLL.
Random Solutions  
 
programming4us programming4us