Ocx con ASP
Publicado por Victort (14 intervenciones) el 30/05/2002 15:27:54
Hola amigos: Quisiera realizar una consulta ref. a como usar un OCX con ASP. Tengo un OCX hecho en VB y funciona bien pero al tratar de usarlo en ASP me genera un error. Esta disponible en el servidor y registrado con el regsvr32. El codigo es la sigte:
Dim MyOCx
SET MyOCx = SERVER.CreateObject("IVRUMCC1.ocx")
MyOCx .Iniciar
MyOCx .Login
if MyOCx. LoginOK then
Response.Write "Se conecto correctamente"
else
Response.Write "No se conecto "
end if
Server object error 'ASP 0177 : 800401f3'
Server.CreateObject Failed
/Conexion.asp, line 48
Invalid class string
Mucha gracias
Dim MyOCx
SET MyOCx = SERVER.CreateObject("IVRUMCC1.ocx")
MyOCx .Iniciar
MyOCx .Login
if MyOCx. LoginOK then
Response.Write "Se conecto correctamente"
else
Response.Write "No se conecto "
end if
Server object error 'ASP 0177 : 800401f3'
Server.CreateObject Failed
/Conexion.asp, line 48
Invalid class string
Mucha gracias
Valora esta pregunta


0