🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.basic.visual
Article #226

Re: Put WMP on Pause using a command-button

#226
From: Heiko
Date: Sun, 06 Jul 2003 20:10
57 lines
2626 bytes
Hello Sjoerd

The Control to use is msdxm.ocx

Windows Media Player 2 ActiveX Control
Version 6.4.07.1119

dated about 1999, which shipped with Visual Interdev.
This has nothing to do with the GUI of your WMP, i use Version 8
parallel. There are several Versions of this Control. Try to download
another.
Heiko
:-)
"sjoerd" <iwi@iwi.myweb.nl> wrote:

>Just forgot. Perhaps other (newer) version of WMP. I use version
>9.00.00.3008.
>
>sjoerd
>"Heiko" <hg0180@aol.com> wrote in message
>news:3f082227.515748@news.btx.dtag.de...
>> Dear Sjoerd.
>> asking myself if you aren't able or willing ?
>> (to see the objectmodel of the WMP)
>>
>> Private Sub Command1_Click()
>>     WindowsMediaPlayer.Pause
>> End Sub
>>
>> :-)
>> "sjoerd" <iwi@iwi.myweb.nl> wrote:
>>
>> >Hi,
>> >
>> >I want to use a command-button to PAUSE the WindowsMediaPlayer. From the
>> >WindowsMediaPlayer1.PlayState I know that pushing the Play/Pause-button
>on
>> >the WindowsMediaPlayer changes the status from  (= Play) into 2 (=
>Pause).
>> >
>> >So I thought code below should work to put the player on Pause. But it
>> >doesn't.
>> >
>> >Private Sub Command4_Click()
>> >WindowsMediaPlayer.PlayState = 2
>> >End Sub
>> >
>> >Anyone any idea?
>> >
>> >Thanks,
>> >
>> >Sjoerd
>> >
>> >
>>
>
>
Technical Details
Message-ID: <3f0880f5.17377923@news.btx.dtag.de>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!syros.belnet.be!news.belnet.be!feed.news.nacamar.de!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail
References: <be948l$e9t$1@news2.tilbu1.nb.home.nl> <3f082227.515748@news.btx.dtag.de> <be9ojv$rti$1@news2.tilbu1.nb.home.nl>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 110e3b,ebf17a129e600d3c
X-Google-Attributes: gid110e3b,public
X-Google-Thread: f51ba,ebf17a129e600d3c
X-Google-Attributes: gidf51ba,public
X-Google-Thread: f645d,ebf17a129e600d3c
X-Google-Attributes: gidf645d,public
X-Google-ArrivalTime: 2003-07-06 13:13:13 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!syros.belnet.be!news.belnet.be!feed.news.nacamar.de!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail
From: hg0180@aol.com (Heiko)
Newsgroups: comp.lang.basic.visual,comp.lang.basic.visual.misc,dk.edb.programmering.basic.visual-basic
Subject: Re: Put WMP on Pause using a command-button
Date: Sun, 06 Jul 2003 20:10:58 GMT
Organization: Privat
Lines: 58
Message-ID: <3f0880f5.17377923@news.btx.dtag.de>
References: <be948l$e9t$1@news2.tilbu1.nb.home.nl> <3f082227.515748@news.btx.dtag.de> <be9ojv$rti$1@news2.tilbu1.nb.home.nl>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: news.t-online.com 1057522258 06 22682 GdzlVaiVSyab6M 030706 20:10:58
X-Complaints-To: usenet-abuse@t-online.de
X-ID: Ty3MXQZ-ZeFARwyEarMD4UXyw4wkt0wZ8IYcInFBL3aF+szJq7gUUb
X-Newsreader: Forte Free Agent 1.11/32.235