gayu
02-23-2006, 01:44 PM
Hi,
Can anyone pleeeeeeease help me? and urgently?
i developed a COM component ( a dll ) and i wanted to invoke it in my web page - asp.
my code was:
<%
dim obj,temp,try
set try=CreateObject("NEW")
obj=try.CReply
temp=obj.Reply(login,reply)
Response.Redirect("Login.asp?reply="&reply)
%>
this gave me the error:
Microsoft VBScript runtime (0x800A01AD)
ActiveX component can't create object: 'NEW'
if i typed CreateObject("NEW.CReply")
the error changed to:
Microsoft VBScript runtime (0x800A01AD)
ActiveX component can't create object: 'NEW.CReply'
Server.CreateObject said 'Invalid ProgId' :((
i also tried <OBJECT> tag, which didn't give error, but i wasn't able to reference the object ( if it was created at all)
plz. note : MY OBJECT IS REGISTERED. i found it in the registry.
i checked scrrun.dll it is well loaded
please help me
Can anyone pleeeeeeease help me? and urgently?
i developed a COM component ( a dll ) and i wanted to invoke it in my web page - asp.
my code was:
<%
dim obj,temp,try
set try=CreateObject("NEW")
obj=try.CReply
temp=obj.Reply(login,reply)
Response.Redirect("Login.asp?reply="&reply)
%>
this gave me the error:
Microsoft VBScript runtime (0x800A01AD)
ActiveX component can't create object: 'NEW'
if i typed CreateObject("NEW.CReply")
the error changed to:
Microsoft VBScript runtime (0x800A01AD)
ActiveX component can't create object: 'NEW.CReply'
Server.CreateObject said 'Invalid ProgId' :((
i also tried <OBJECT> tag, which didn't give error, but i wasn't able to reference the object ( if it was created at all)
plz. note : MY OBJECT IS REGISTERED. i found it in the registry.
i checked scrrun.dll it is well loaded
please help me