🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: WindowsMediaPlayer

#240
From: FoSweb
Date: Wed, 18 Jun 2003 11:11
26 lines
1873 bytes
You are using the newer WMP control...

Simply use the player.URL = Filename to set the file you want to play.
Also, this doesnt go where you have 'WHAT CODE HERE
But in the place where you load your file...

Check out
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwmt/html/
vb_player_article.asp

Michael.


> double-clicking the play-button gave me the following:
>
>
>
> Private Sub WindowsMediaPlayer1_OpenStateChange(ByVal NewState As Long)
>
> ' WHAT CODE HERE?

Dont put the code for loading files here. Put code for what happens when the
user presses one of the WMP control buttons here.

>
> End Sub
Technical Details
Message-ID: <3ef048cc$0$30820$afc38c87@news.optusnet.com.au>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!news.maxwell.syr.edu!out.nntp.be!propagator2-sterling!In.nntp.be!newsfeed.zip.com.au!spool01.syd.optusnet.com.au!spool.optusnet.com.au!not-for-mail
References: <bcnaq9$52q$1@news2.tilbu1.nb.home.nl> <3eef5503.5091644@news-vip.optusnet.com.au> <bcp6d1$2sq$1@news3.tilbu1.nb.home.nl>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 110e3b,c319209086d6e623
X-Google-Attributes: gid110e3b,public
X-Google-Thread: f51ba,c319209086d6e623
X-Google-Attributes: gidf51ba,public
X-Google-Thread: f645d,c319209086d6e623
X-Google-Attributes: gidf645d,public
X-Google-ArrivalTime: 2003-06-18 04:15:09 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!news.maxwell.syr.edu!out.nntp.be!propagator2-sterling!In.nntp.be!newsfeed.zip.com.au!spool01.syd.optusnet.com.au!spool.optusnet.com.au!not-for-mail
From: "FoSweb" <fosweb@optusnet.com.au>
Newsgroups: comp.lang.basic.visual,comp.lang.basic.visual.misc,dk.edb.programmering.basic.visual-basic
References: <bcnaq9$52q$1@news2.tilbu1.nb.home.nl> <3eef5503.5091644@news-vip.optusnet.com.au> <bcp6d1$2sq$1@news3.tilbu1.nb.home.nl>
Subject: Re: WindowsMediaPlayer
Date: Wed, 18 Jun 2003 21:11:07 +1000
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Lines: 30
Message-ID: <3ef048cc$0$30820$afc38c87@news.optusnet.com.au>
NNTP-Posting-Host: 203.164.17.154
X-Trace: 1055934669  30820 203.164.17.154