Daniel y Antonio muchas gracias pela atencion, mas mesmo neste su codigo ainda persiste el error. La Tactivex que estoy utilizando es five 9.03 , acredito que no funciona mesmo ... ![]()
gracias
William
Daniel y Antonio muchas gracias pela atencion, mas mesmo neste su codigo ainda persiste el error. La Tactivex que estoy utilizando es five 9.03 , acredito que no funciona mesmo ... ![]()
gracias
William
#include "FiveWin.ch"
function Main()
聽 聽local oWnd, oAxis
聽 聽DEFINE window oWnd 聽FROM 0,0 TO 35,85
聽 聽@ 1, 1 ACTIVEX oAxis PROGID "AxisMediaControl.AxisMediaControl.1" OF oWnd SIZE 640,480
聽 聽WITH OBJECT oAxis 聽 聽
聽 聽 聽 :SetProp("MediaUrl","http://192.168.101.10/axis-cgi/mjpg/video.cgi") //Cambiar por direcci贸n IP
聽 聽 聽 :SetProp("MediaType", "mjpeg-unicast")
聽 聽 聽 :SetProp("MediaUserName","usuario") //si se usa proteccion por contrase帽a
聽 聽 聽 :SetProp("MediaPassWord","contrase帽a")
聽 聽 聽 :DO("PLAY")
聽 聽END
聽 聽oWnd:oClient:=oAxis
聽 聽ACTIVATE WINDOW oWnd
return nilBiel,
gracias! ![]()
Biel , agora funciona Ok , gracias por tu explicacion y ajuda. Ja estavas desanimado , mas agora va bien !! ![]()
Antonio muchas Gracias
William
Hello Biel
I try your samples , but dosn't work .
I use Fw 9.04 .
I have the AxisMediaControl.dll or I need an ocx controll ?
Regards MAurizio
Maurizio,
> I have the AxisMediaControl.dll or I need an ocx controll ?
The AxisMediaControl.dll implements the OCX control ![]()
Have you registered it ?
Try with regsvr32.exe AxisMediaControl.dll as administrator
Thank Antonio
it works
Now I try to save the image with
oAxis:DO("SAVEIMAGE" , "c:\myImage.jpg")
but doesn't works .
Antonio o Biel , do you have any tip ?
Regards MAurizio
nFormat:=0 //0->jpg, 1->BMP
cFile:='c:image.jpg'
oAxis:Do("SaveCurrentImage",nFormat,cFile)Thank Biel
works very well
Maurizio