Article View: comp.lang.basic.visual
Article #224Re: Put WMP on Pause using a command-button
From: sjoerd
Date: Sun, 06 Jul 2003 18:05
Date: Sun, 06 Jul 2003 18:05
47 lines
2451 bytes
2451 bytes
Hi Heiko, Sorry to disappoint you... Your solution doesn't work "(Object doesn't support the property or method"). I tried your solution and many others already before I posted my question, so I did try ;-) and i admit I ain't able ;-( yet '-) "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:
<be9oe3$pu1$1@news2.tilbu1.nb.home.nl>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!newsfeed.media.kyoto-u.ac.jp!newsfeed.icl.net!newsfeed.fjserv.net!news-FFM2.ecrc.net!skynet.be!skynet.be!213.51.129.3.MISMATCH!newshub1.home.nl!home.nl!not-for-mailReferences:
<be948l$e9t$1@news2.tilbu1.nb.home.nl> <3f082227.515748@news.btx.dtag.de>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 11:05:56 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!newsfeed.media.kyoto-u.ac.jp!newsfeed.icl.net!newsfeed.fjserv.net!news-FFM2.ecrc.net!skynet.be!skynet.be!213.51.129.3.MISMATCH!newshub1.home.nl!home.nl!not-for-mail From: "sjoerd" <iwi@iwi.myweb.nl> 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, 6 Jul 2003 20:05:52 +0200 Organization: @Home Benelux Lines: 49 Message-ID: <be9oe3$pu1$1@news2.tilbu1.nb.home.nl> References: <be948l$e9t$1@news2.tilbu1.nb.home.nl> <3f082227.515748@news.btx.dtag.de> NNTP-Posting-Host: cc91542-a.hnglo1.ov.home.nl X-Trace: news2.tilbu1.nb.home.nl 1057514755 26561 212.120.101.44 (6 Jul 2003 18:05:55 GMT) X-Complaints-To: abuse@home.nl NNTP-Posting-Date: Sun, 6 Jul 2003 18:05:55 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165