Jump to content

VB 6.0 :Creating a Media Player ,Video Player ...

- - - - -

  • Please log in to reply
41 replies to this topic

#1
mendim.

mendim.

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 2,393 posts

Hello CodeCall

lol I decided to post a tutorial of How To Create A Music Player , Video Player , Photo Viewer , and all the Files that Windows Media Player Suports ..
Posted Image Posted Image

Open a Standard.exe
Go to COMPONENTS and ADD the Microsoft Common Dialog Control 6.0 and windows Media Player
Take the Windows Media Player and size it as you want
the Microsoft Common Dialog 6.0 just put somewhere .
After You'll need
- a command button
- a list Box

The List Box will be the place for Files that you will add ...
for the list box the code is
WindowsMediaPlayer1.URL = List1

The Command Button rename with " ADD File "
and the code for it
Dim sFile As String

 
With CommonDialog1
    .DialogTitle = "Open Media..."
    .CancelError = False
    .Filter = "All Suported Files"
    .ShowOpen
    If Len(.FileName) = 0 Then
        Exit Sub
    End If
    sFile = .FileName
    
With List1
      .AddItem sFile
End With
End With

and finaly TEST it ..

Best Wishes,
Mendim.
[ATTACH]1180[/ATTACH]

Attached Files


Edited by Jordan, 28 December 2008 - 09:17 AM.


#2
Guest_Jordan_*

Guest_Jordan_*
  • Guests
Excellent tutorial! +rep

#3
amrosama

amrosama

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 8,675 posts
good tutorial mendim +rep
do you have any idea how to get the current media playing at windows media player?
yo homie i heard you like one-line codes so i put a one line code that evals a decrypted one line code that prints "i love one line codes"
eval(base64_decode("cHJpbnQgJ2kgbG92ZSBvbmUtbGluZSBjb2Rlcyc7"));
www.amrosama.com | the unholy methods of javascript

#4
chili5

chili5

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 7,248 posts
  • Programming Language:Java, C#, PHP
  • Learning:C, C++, C#, PHP, Transact-SQL, Assembly, Scheme
Excellent tutorial! Amazing job. :)

#5
nicckk

nicckk

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 629 posts
Nice tutorial, good job mendim

#6
Egz0N

Egz0N

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 4,034 posts
nice tutorial mendim. +rep :)

#7
MathX

MathX

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 4,001 posts
+rep u bitch :P

Interested in participating in community events?
Want to harness your programming skill and turn it into absolute prowess?
Come join our programming events!


#8
whitey6993

whitey6993

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 437 posts
Good tutorial and an interesting topic. +rep

#9
mendim.

mendim.

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 2,393 posts
Thanks , Bros :)

#10
shoaibbi

shoaibbi

    Newbie

  • Members
  • PipPip
  • 15 posts
THATS gUD ONE MAN
VIvAcIoUs pAkIsTaNi

#11
nayrb00008

nayrb00008

    Newbie

  • Members
  • Pip
  • 1 posts
thx for the tuturialz

#12
mendim.

mendim.

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 2,393 posts
You are welcome bro.. :)




3 user(s) are reading this topic

0 members, 3 guests, 0 anonymous users