Jump to content




Recent Status Updates

  • Photo
      30 Sep
    rhossis

    laptop hard disk seated beneath motherboard but with no access panel. 7 hours to replace :(

    Show comments (3)
  • Photo
      19 Sep
    Chall

    I love it when you go to write a help thread, then while writing, you reach an enlightenment, and figure it out yourself.

    Show comments (3)
View All Updates

Developed by TechBiz Xccelerator
Photo
- - - - -

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


  • Please log in to reply
46 replies to this topic

#1 mendim.

mendim.

    CC Devotee

  • Just Joined
  • PipPipPipPipPipPip
  • 741 posts

Posted 26 December 2008 - 01:46 PM


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.

  • 4

#2 Guest_Jordan_*

Guest_Jordan_*
  • Guest

Posted 28 December 2008 - 08:46 AM

Excellent tutorial! +rep
  • 0

#3 amrosama

amrosama

    CC Mentor

  • VIP Member
  • PipPipPipPipPipPipPipPip
  • 2,764 posts

Posted 28 December 2008 - 01:50 PM

good tutorial mendim +rep
do you have any idea how to get the current media playing at windows media player?
  • 0
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

    CC Mentor

  • Expert Member
  • PipPipPipPipPipPipPipPip
  • 3,033 posts
  • Programming Language:Java, C#, PHP, JavaScript, Ruby, Transact-SQL
  • Learning:C, Java, C++, C#, PHP, JavaScript, Ruby, Transact-SQL, Assembly, Scheme, Haskell, Others

Posted 28 December 2008 - 03:01 PM

Excellent tutorial! Amazing job. :)
  • 0

#5 nicckk

nicckk

    CC Addict

  • Senior Member
  • PipPipPipPipPip
  • 342 posts

Posted 28 December 2008 - 04:42 PM

Nice tutorial, good job mendim
  • 0

#6 Egz0N

Egz0N

    CC Leader

  • Expert Member
  • PipPipPipPipPipPipPip
  • 1,155 posts

Posted 29 December 2008 - 08:37 AM

nice tutorial mendim. +rep :)
  • 0

#7 MathX

MathX

    CC Leader

  • Expert Member
  • PipPipPipPipPipPipPip
  • 1,034 posts
  • Programming Language:Java
  • Learning:C, Java, C++, PHP, JavaScript, PL/SQL

Posted 02 January 2009 - 01:45 AM

+rep u ** :P
  • 0

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

    CC Addict

  • Just Joined
  • PipPipPipPipPip
  • 156 posts

Posted 02 January 2009 - 05:26 AM

Good tutorial and an interesting topic. +rep
  • 0

#9 mendim.

mendim.

    CC Devotee

  • Just Joined
  • PipPipPipPipPipPip
  • 741 posts

Posted 02 January 2009 - 06:56 AM

Thanks , Bros :)
  • 0

#10 shoaibbi

shoaibbi

    CC Lurker

  • Just Joined
  • Pip
  • 9 posts

Posted 15 January 2009 - 06:24 AM

THATS gUD ONE MAN
  • 0

#11 nayrb00008

nayrb00008

    CC Lurker

  • Just Joined
  • Pip
  • 1 posts

Posted 15 January 2009 - 08:45 AM

thx for the tuturialz
  • 0

#12 mendim.

mendim.

    CC Devotee

  • Just Joined
  • PipPipPipPipPipPip
  • 741 posts

Posted 15 January 2009 - 08:55 AM

You are welcome bro.. :)
  • 0




Powered by binpress