error OLE
Publicado por Dario (321 intervenciones) el 25/05/2009 15:32:51
Uso este codigo para ejecutar y controlar una aplicacion externa a la mia...
Lparameter sProg
LOCAL oShell, nRet, nShow
nShow=1
nShow = IIF(EMPTY(nShow), 0, nShow)
oShell = CREATEOBJECT("WScript.Shell")
nRet = oShell.Run (sProg, nShow, .T.)
RETURN nRet
en mi pc funciona ok con mi xp, en la pc del cliente me sale el error
Codigo error OLE 0x80070002 codigo de estado Com desconocido
me pueden orientar???
Gracias
Lparameter sProg
LOCAL oShell, nRet, nShow
nShow=1
nShow = IIF(EMPTY(nShow), 0, nShow)
oShell = CREATEOBJECT("WScript.Shell")
nRet = oShell.Run (sProg, nShow, .T.)
RETURN nRet
en mi pc funciona ok con mi xp, en la pc del cliente me sale el error
Codigo error OLE 0x80070002 codigo de estado Com desconocido
me pueden orientar???
Gracias
Valora esta pregunta


0