Autorewind or defined loops using "WMPlayer.OCX" ?

Autorewind or defined loops using "WMPlayer.OCX" ?

Postby ukoenig » Fri Sep 13, 2019 12:11 pm

I'm using

oActiveX = TActiveX():New( oDlg, "WMPlayer.OCX" )

is it possible to define < autorewind > or a loop-value

oActiveX:Settings:Volume = 7 // works

oActiveX:AutoRewind = .T. // :(

regards
Uwe :?:
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: Autorewind or defined loops using "WMPlayer.OCX" ?

Postby AntoninoP » Fri Sep 13, 2019 1:02 pm

AntoninoP
 
Posts: 375
Joined: Tue Feb 10, 2015 9:48 am
Location: Albenga, Italy

Re: Autorewind or defined loops using "WMPlayer.OCX" ?

Postby ukoenig » Fri Sep 13, 2019 1:16 pm

Antonino,

thank You that works

oActiveX:Settings:SetMode("loop",.T.)


regards
Uwe :D
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: Autorewind or defined loops using "WMPlayer.OCX" ?

Postby dutch » Fri Sep 13, 2019 3:13 pm

Dear Antonino,

oActiveX:Settigs:setMode('loop',.T.) is working.

I cannot find the property of nTop, nLeft, nHeight, nWidth. How can I setting the position.

Thanks in advance,
Dutch
AntoninoP wrote:Hello,
looks like the correct way is:

Code: Select all  Expand view

oActiveX : Settings:setMode("loop",.T.)
 

look:
https://stackoverflow.com/questions/36524002/how-do-i-play-music-on-loop-in-batch
https://docs.microsoft.com/en-us/windows/win32/wmp/settings-setmode

but I don't try it.
Regards,
Dutch

FWH 19.01 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio
FWPPC 10.02 / Harbour for PPC (FTDN)
ADS V.9 / MySql / MariaDB
R&R 12 Infinity / Crystal Report XI R2
(Thailand)
User avatar
dutch
 
Posts: 1535
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Re: Autorewind or defined loops using "WMPlayer.OCX" ?

Postby dutch » Sat Sep 14, 2019 3:33 am

Dear All,

Please ignore my question, I got it now.

dutch wrote:Dear Antonino,

oActiveX:Settigs:setMode('loop',.T.) is working.

I cannot find the property of nTop, nLeft, nHeight, nWidth. How can I setting the position.

Thanks in advance,
Dutch
AntoninoP wrote:Hello,
looks like the correct way is:

Code: Select all  Expand view

oActiveX : Settings:setMode("loop",.T.)
 

look:
https://stackoverflow.com/questions/36524002/how-do-i-play-music-on-loop-in-batch
https://docs.microsoft.com/en-us/windows/win32/wmp/settings-setmode

but I don't try it.
Regards,
Dutch

FWH 19.01 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio
FWPPC 10.02 / Harbour for PPC (FTDN)
ADS V.9 / MySql / MariaDB
R&R 12 Infinity / Crystal Report XI R2
(Thailand)
User avatar
dutch
 
Posts: 1535
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 97 guests