+ Reply to Thread
Results 1 to 2 of 2

Media Player versus Windows Media Player

  1. #1
    teepee
    Guest

    Media Player versus Windows Media Player

    May I beg for advice from the collective wisdom?

    Any advice gratefully received.

    I was using media player (v6.4) as an object in a userform and I tried to
    use the more advanced version of media player (WindowsMediaPlayer1) that
    comes from the additional controls toolbox.

    I dutifully replaced all theoccurences of MP with WindowsMediaPlayer1 in
    the code, but the command "WindowsMediaPlayer1.Open (Mfile)" generates an
    error whereas the command "MP.Open (Mfile)" didn't. Anyone know why?

    Old code reads

    Private Sub CommandButton1_Click()
    Dim Mfile As String
    Mfile = "c:\test.mpg"
    MP.Open (Mfile)
    End Sub

    New code reads

    Private Sub CommandButton1_Click()
    Dim Mfile As String
    Mfile = "c:\test.mpg"
    WindowsMediaPlayer1.Open (Mfile)
    End Sub



  2. #2
    damorrison
    Guest

    Re: Media Player versus Windows Media Player

    I don't know, but we are now on windows media player 10


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1