How would make this tutorial code print points incorrect order
sonar87 - Nov 03 2018 07:42 PM
set property with HTML content as string in from include not possible
LDDbyD - Oct 01 2018 06:33 AM
C++ pointers, references and Dynamic Memory... oh my :(
Siten0308 - Jul 31 2018 02:08 PM
Recent Blog Entries
Recent Status Updates
- Managed C++
- Visual Basic 4 / 5 / 6
- linked list
- hello world
VB 6.0 :Creating a Media Player ,Video Player ...
Posted 03 May 2010 - 07:44 AM
Posted 09 June 2010 - 06:04 AM
Good tutorial dou!
Posted 18 August 2010 - 07:46 AM
Here is my code.
Public Class ProjectExisPlayer Private Sub ProjectExisPlayer_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load End Sub Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim sFile As String With AxCommonDialog1 .DialogTitle = "Open Media..." .CancelError = False .Filter = "All Suported Files" .ShowOpen() If Len(.FileName) = 0 Then Exit Sub End If sFile = .FileName With ListBox1 ListBox1.Items.Add(sFile) End With End With End Sub Private Sub ListBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ListBox1.SelectedIndexChanged AxWindowsMediaPlayer1.URL = ListBox1.Text End Sub End Class
a much easier way to play ONE file in Visual Basic 2008 is THIS.
1. Add a Windows Media Player (AxWindowsMediaPlayer1 is the name)
2. Create a command button. (Button1)
3. Create a OpenFile Dialog.
At the button code put this:
OpenFileDialog1.ShowDialog() AxWindowsMediaPlayer1.URL = OpenFileDialog1.FileName
Go back to design and open up the Properties of OpenFileDialog1.
Set Filter to:
Or whatever you want Filter to be, must be something.
Posted 09 September 2012 - 01:50 PM
Want to learn MOAR
Posted 07 November 2012 - 12:40 AM
if i want to be automatically play the next song!!!
what should i code?
cause in your program we need to click it to be play!
Posted 18 March 2013 - 06:47 AM
I like this tutorial, is there any way to make the program open files automatically? I mean like other media players can, open the file directly from explorer instead of having to add to the list in the tutorial every time. I have never done anything like this before, I have only programmed text based adventures before this.
Posted 18 March 2013 - 08:16 AM
I tried associating a format with the player I programmed based on this tutorial, it failed. It does open, but it doesn't do anything else.
Posted 25 April 2013 - 10:17 PM
I got it working, I just had to call a different function to get it to play the files directly from windows. I am now working on making this player closer to full functionality.