I create in VB6SP5 a DLL containing 1 Module (Mod1), 2 Class modules (Cmessage and ParseNonHTMLMsg, and I add a Standard EXE project to the DLL Project for testing.
The Standard EXE executes just like i want it to:
(cls ParseNonHTMLMsg is a Public Function returns as String)
VB Code:
dim x as New NonHTMLEmailPrsr.ParseNonHTMLMsg dim s as string s = x.ParseEmailMsg("filepath") msgbox s
however, i create the dll, register on the webserver and execute it from an ASP page:
VB Code:
DIM x dim str set x = Server.CreateObject("NonHTMLEmailPrsr.ParseNonHTMLMsg") str = x.ParseEmailMsg("filepath")
it returns an error:
Technical Information (for support personnel)
Error Type:
Microsoft VBScript runtime (0x800A01B6)
Object doesn't support this property or method: 'ParseEmailMsg'
/test_readmail.asp, line 8
Line 8:str = x.ParseEmailMsg("filepath")
can anyone provide some input for me??
Thank you.




Reply With Quote