🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Put WMP on Pause using a command-button

#223
From: Heiko
Date: Sun, 06 Jul 2003 13:22
31 lines
1952 bytes
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: <3f082227.515748@news.btx.dtag.de>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!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>

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 06:25:12 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!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 13:22:23 GMT
Organization: Privat
Lines: 32
Message-ID: <3f082227.515748@news.btx.dtag.de>
References: <be948l$e9t$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 1057497744 05 13293 EetlVtlbSkaEOe 030706 13:22:24
X-Complaints-To: usenet-abuse@t-online.de
X-ID: bQIQc-Za8e61LsI08asox4DrbNAb+EZ8dvc06XD1YyCCq9-b9QkBoc
X-Newsreader: Forte Free Agent 1.11/32.235