FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Autorewind or defined loops using "WMPlayer.OCX" ?
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Autorewind or defined loops using "WMPlayer.OCX" ?
Posted: 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.
Posts: 375
Joined: Tue Feb 10, 2015 09:48 AM
Re: Autorewind or defined loops using &quot;WMPlayer.OCX&quot; ?
Posted: Fri Sep 13, 2019 01:02 PM
Hello,
looks like the correct way is:

Code (fw): Select all Collapse
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.
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: Autorewind or defined loops using &quot;WMPlayer.OCX&quot; ?
Posted: Fri Sep 13, 2019 01:16 PM
Antonino,

thank You that works

oActiveX:Settings:SetMode("loop",.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.
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM
Re: Autorewind or defined loops using &quot;WMPlayer.OCX&quot; ?
Posted: Fri Sep 13, 2019 03: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 (fw): Select all Collapse
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 2304 / 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)
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM
Re: Autorewind or defined loops using &quot;WMPlayer.OCX&quot; ?
Posted: Sat Sep 14, 2019 03: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 (fw): Select all Collapse
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 2304 / 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)

Continue the discussion