甘肃省新闻出版广电局无线传输中心张掖、敦煌、827台监控 .doc
《甘肃省新闻出版广电局无线传输中心张掖、敦煌、827台监控 .doc》由会员分享,可在线阅读,更多相关《甘肃省新闻出版广电局无线传输中心张掖、敦煌、827台监控 .doc(69页珍藏版)》请在文库网上搜索。
1、tlcontrols.previous; settings wmp.settings /settings.volume:integer; 0-100settings.autoStart:Boolean; settings.mute:Boolean; settings.playCount:integer; /wmp.settings.setMode(shuffle, False)/wmp.settings.setMode(shuffle, True)/wmp.settings.setMode(loop, True)currentMedia wmp.currentMedia /currentMed
2、ia.duration:double; currentMedia.durationString:string; 硰03:24currentMedia.getItemInfo(const string); Title=Author=Copyright=Description= Duration=FileSize=FileType=sourceURL=currentMedia.setItemInfo(const string); currentMedia.name:string; currentMedia.getItemInfo(Title)currentPlaylist wmp.currentP
3、laylist /currentPlaylist.count:integer; currentPlaylist.Iteminteger; wmp.currentMediaaxWindowsMediaPlayer1.currentMedia.sourceURL; /axWindowsMediaPlayer1.currentMedia.name; /axWindowsMediaPlayer1.Ctlcontrols.Play axWindowsMediaPlayer1.Ctlcontrols.Stop axWindowsMediaPlayer1.Ctlcontrols.Pause axWindow
4、sMediaPlayer1.Ctlcontrols.PlayCount axWindowsMediaPlayer1.Ctlcontrols.AutoRewind ()axWindowsMediaPlayer1.Ctlcontrols.Balance axWindowsMediaPlayer1.Ctlcontrols.Volume axWindowsMediaPlayer1.Ctlcontrols.Mute axWindowsMediaPlayer1.EnableContextMenu axWindowsMediaPlayer1.Ctlcontrols.AnimationAtStart ()ax
5、WindowsMediaPlayer1.Ctlcontrols.ShowControls ()axWindowsMediaPlayer1.Ctlcontrols.ShowAudioControls () axWindowsMediaPlayer1.Ctlcontrols.ShowDisplay () axWindowsMediaPlayer1.Ctlcontrols.ShowGotoBar Goto()axWindowsMediaPlayer1.Ctlcontrols.ShowPositionControls ()axWindowsMediaPlayer1.Ctlcontrols.ShowSt
6、atusBar()axWindowsMediaPlayer1.Ctlcontrols.ShowTracker()axWindowsMediaPlayer1.Ctlcontrols.FastForward axWindowsMediaPlayer1.Ctlcontrols.FastReverse axWindowsMediaPlayer1.Ctlcontrols.Rate axWindowsMediaPlayer1.AllowChangeDisplaySize ()axWindowsMediaPlayer1.DisplaySize()1-MpDefaultSize 2-MpHalfSize 3-
7、MpDoubleSize 4-MpFullScreen 5-MpOneSixteenthScreen 1/16 6-MpOneFourthScreen 1/4 7-MpOneHalfScreen 1/2 axWindowsMediaPlayer1.ClickToPlayMedia Player ,仹. private void ResizeOriginal() int intWidth = axWindowsMediaPlayer1.currentMedia.imageSourceWidth; int intHeight = axWindowsMediaPlayer1.currentMedia
8、.imageSourceHeight; axWindowsMediaPlayer1.Width = intWidth + 2; axWindowsMediaPlayer1.Height = intHeight + 2; : Dim filePath As String With Me.OpenFileDialog1 .Title = .CheckPathExists = True .CheckFileExists = True .Multiselect = False .Filter = mp3(*.mp3)|*.mp3|(*.*)|*.* If .ShowDialog = DialogRes
9、ult.Cancel Then Exit Sub End If filePath = .FileName End With Me.Text = PC- & filePath AxWindowsMediaPlayer1.URL = filePath Try Me.AxWindowsMediaPlayer1.Ctlcontrols.play() Catch ex As Exception MsgBox(, MsgBoxStyle.OKOnly, PC) Exit Sub End Try:AxWindowsMediaPlayer1.URL URL,Name.AxWindowsMediaPlayer1
10、.Ctlcontrols.play(),Pause,Stop.AxWindowsMediaPlayer1.settings.balance岥,0,-11.AxWindowsMediaPlayer1.currentMedia.duration .AxWindowsMediaPlayer1.Ctlcontrols.currentPosition,.AxWindowsMediaPlayer1.Ctlcontrols.currentPosition+1 1.AxWindowsMediaPlayer1.settings.rate,16kbps.:,msgbox(AxWindowsMediaPlayer1
11、.currentMedia.duration.ToString )0timerPrivate Sub Timer1_Tick(ByVal sender As Object, ByVal e As System.EventArgs) Handles Timer1.Tick EndPoint = AxWindowsMediaPlayer1.currentMedia.duration If EndPoint = 0 Then Exit Sub msgbox(AxWindowsMediaPlayer1.currentMedia.duration.ToString )End Submsgbox2. Ct
12、lcontrolsCtlcontrolsAxWindowsMediaPlayer (1) play.Ctlcontrols.play()磺 AxWindowsMediaPlayer1.Ctlcontrols.play() Me(2) pause.Ctlcontrols.pause()磺 AxWindowsMediaPlayer1.Ctlcontrols.pause()(3) stop.Ctlcontrols.stop()磺 AxWindowsMediaPlayer1.Ctlcontrols.stop()(4) fastforward.Ctlcontrols.fastforward()磺 AxW
13、indowsMediaPlayer1.Ctlcontrols.forward()(5) fastreverse.Ctlcontrols.fastreverse()磺 AxWindowsMediaPlayer1.Ctlcontrols.fastreverse()6. CurrentPosition.Ctlcontrols.currentPositiond1 =AxWindowsMediaPlayer1.Ctlcontrols.currentPositiond1 7. Duration.currentMedia.duration磺d2 =AxWindowsMediaPlayer1.currentM
14、edia.durationd2WMPWMP鵽MSDNAPIMSDNWMP11MSDNwin32COM-Griphics And MultiMedia-Audio And Vedio-Windows Media Player 11 SDKMSDNMSDNWMP SDK档wplwmpmsdnsdk 沥IWMPPlayList newPlayList(name,path)StreamWrite/StreamRead İwplwplxmlSystem.XmlAPIsdk WMP8mms/rtspwmp.URL=mms:/xxxx;飬mmswmpWMPwmpwindows media player()r
15、mvb/rmWindows Media PlayerWebWeb wmp塣wmp wmpwmp 塣wmp.settings.enableErrorDialogs = false;falseprivate void wmp_PlayStateChange(object sender, AxWMPLib._WMPOCXEvents_PlayStateChangeEvent e) / if (WMPLib.WMPPlayState)e.newState = WMPLib.WMPPlayState.wmppsReady) wmp.Ctlcontrols.play();AxWindowsMediaPla
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
0人已下载
免费下载 | 加入VIP,免费下载 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 甘肃省新闻出版广电局无线传输中心张掖、敦煌、827台监控 甘肃省 新闻出版 广电 无线 传输 中心 张掖 敦煌 827 监控