+ Reply to Thread
Results 1 to 7 of 7

Thread: Widows Media Player

  1. #1
    D.S.Rama Rao
    Guest

    Widows Media Player

    I Have Embedded Windows Media Player In An EXcel Sheet Through Developer,Insert,Active Controls Tabs

    However I am not able to activate the same.

    Can any body help

    Regards

    D S Rama Rao

  2. #2
    Forum Guru, retired Admin royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    25,637

    Re: Widows Media Player

    You need to use VBA
    Hope that helps.

    RoyUK
    --------
    If you are pleased with a member's answer then use the Star icon to rate it, if you are pleased enough to part with cash consider a donation to Children in Need

    For Excel Tips & Solutions, free examples and tutorials why not check out my downloads

    New members please read & follow the Forum Rules

    Remember to mark your questions Solved and rate the answer(s)

  3. #3
    D.S.Rama Rao
    Guest

    Re: Widows Media Player

    Dear Sir,

    CAn you help me in developing VB Code

    Regards

    D S Rama Rao

  4. #4
    Valued Forum Contributor
    Join Date
    07-21-2008
    Location
    London, UK
    Posts
    326

    Re: Widows Media Player

    try this..
    Option Explicit
    
    Public Sub Assign_WMP()
       
        Sheet1.WindowsMediaPlayer1.URL = “C: myFile.wma”
    
        Do While Sheet1.WindowsMediaPlayer1.openState <> 13
           DoEvents
        Loop
    
        Sheet1.WindowsMediaPlayer1.Controls.Play
    
    End Sub
     
    Public Sub Play()
        Sheet1.WindowsMediaPlayer1.Controls.Play
    End Sub

  5. #5
    D.S.Rama Rao
    Guest

    Re: Widows Media Player

    Thanks for the help.However with the code furnished by you Windows media Player is activated.Now help me in making it play the song i want.

    Regards

    D S Rama Rao

  6. #6
    D.S.Rama Rao
    Guest

    Re: Widows Media Player

    I have solved the problem my self

    thanks

    D s Rama Rao

  7. #7
    Forum Guru, retired Admin royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    25,637

    Re: Widows Media Player

    Your post does not comply with Rule 9 of our Forum RULES. If you solve a problem yourself before anyone else has responded, please take a moment to describe your solution, chances are some other member will benefit. And please never edit a thread in which someone else has responded.


    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save
    Hope that helps.

    RoyUK
    --------
    If you are pleased with a member's answer then use the Star icon to rate it, if you are pleased enough to part with cash consider a donation to Children in Need

    For Excel Tips & Solutions, free examples and tutorials why not check out my downloads

    New members please read & follow the Forum Rules

    Remember to mark your questions Solved and rate the answer(s)

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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.2.0