webdesignsz9772iox
New Member
Howdy all.<BR><BR>I've inerited a project which uses the vb6 Web Class Manager, one asp page and a dll that's more complicated than chinese maths!<BR><BR>I'm hoping there's some way to replicate the page function in .net so I can use the existing dll without having to re-write it. I read Scotts article at MSDN which all makes sense, I've used normal dlls in .net pages, but this web class thing has me thrown.<BR><BR>If anyone has any ideas, I be greatly obliged!<BR><BR>Attached, copy of the header section of the asp page: <BR><BR><%<BR>If (VarType(Application("~WC~WebClassManager")) = 0) Then<BR> Application.Lock<BR> If (VarType(Application("~WC~WebClassManager")) = 0) Then<BR> Set Application("~WC~WebClassManager") = Server.CreateObject("WebClassRuntime.WebClassManager")<BR> End If<BR> Application.UnLock<BR> End If<BR> <BR> Application("~WC~WebClassManager").ProcessRetainInstanceWebClass "Pages.StrataMx", _<BR> "~WC~Pages.StrataMx", _<BR> Server, _<BR> Application, _<BR> Session, _<BR> Request, _<BR> Response<BR>%><BR><BR>