| | |
media player in vb6
Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
![]() |
this a simple way to play some media files, but maybe cannot play mp3.file
you can use mmControl 6.0 on component :
Private Sub Form_Load()
'to play .avi file
' to play .wav file
' to play .mpg file
end sub
'MMControl1.hwdDisplay = Picture1.hWnd 'designate the Picturebox to display the video file
if the files can be played or the file that it want to play exist the some button of mmcontrol will active..
sory if this cant helpful...
you can use mmControl 6.0 on component :
Private Sub Form_Load()
Visual Basic 4 / 5 / 6 Syntax (Toggle Plain Text)
MMControl1.Notify = False MMControl1.Wait = True MMControl1.Shareable = False
'to play .avi file
Visual Basic 4 / 5 / 6 Syntax (Toggle Plain Text)
MMControl1.FileName = "c:\test.avi" MMControl1.Command = "Open"
Visual Basic 4 / 5 / 6 Syntax (Toggle Plain Text)
MMControl1.FileName = "C:\Documents and Settings\Jerry\My Documents\LOVE.wav" MMControl1.Command = "Open"
Visual Basic 4 / 5 / 6 Syntax (Toggle Plain Text)
MMControl1.FileName = "c:\Documents and Settings\Jerry\My Documents\traian.mpg" MMControl1.Command = "Open"
'MMControl1.hwdDisplay = Picture1.hWnd 'designate the Picturebox to display the video file
if the files can be played or the file that it want to play exist the some button of mmcontrol will active..
sory if this cant helpful...
Last edited by Jx_Man; Jan 10th, 2008 at 4:44 am.
Never tried = Never Know
So, Please do something before post your thread.
* PM Asking will be ignored *
So, Please do something before post your thread.
* PM Asking will be ignored *
if you want to download somthing then better to sue browser control.
IF still want to use mediaplayer use this
but that will still lunch the browser.
IF still want to use mediaplayer use this
vb Syntax (Toggle Plain Text)
WMP.launchURL ("http://www.yahoo.com")
Share your Knowledge.
![]() |
Similar Threads
- media player object (Visual Basic 4 / 5 / 6)
- mediaplayer crash in Windows 2000 (VB.NET)
- Windows Media Player (Visual Basic 4 / 5 / 6)
- Vista Final has officially hit. which version are you getting? (Windows Vista and Windows 7)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: Pls Help in VB6 FronEnd and DAO BackEnd
- Next Thread: Translation of code using Visual Basic 6
Views: 5244 | Replies: 3
| Thread Tools | Search this Thread |
Tag cloud for Visual Basic 4 / 5 / 6
* 6 429 2007 access activex add age append application basic beginner birth bmp c++ calculator cd cells.find click client code college column component connection connectionproblemusingvb6usingoledb copy creat ctrl+f data database datareport date delete dissertations dissertationthesis dissertationtopic edit error excel excelmacro file filename form hardware header iamthwee image inboxinvb internetfiledownload keypress label listbox listview liveperson login looping machine microsoft movingranges objectinsert open oracle password prime program prompt range-objects readfile reading record refresh remotesqlserverdatabase report retrieve save search sendbyte sites sort sql sql2008 sqlserver struct subroutine table tags textbox timer urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window windows






