Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Play a stream via windows media player com object

Play a stream via windows media player com object

Scheduled Pinned Locked Moved C#
helpcomquestion
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Areff
    wrote on last edited by
    #1

    Hi evrybody, I want to create a program to play a sound or video stream by windows media player com object (= wmp) . I have a wmp in my windows form. I have a stream from that file(sound or video) not a path(file address on HD) . I wery tried to find out some thing about this problem in internet. ---------------------------- hope to your help. ?

    --------------------- Areff Bahrami(KAVEH) Areff.HB@Gmail.com ---------------------

    C 1 Reply Last reply
    0
    • A Areff

      Hi evrybody, I want to create a program to play a sound or video stream by windows media player com object (= wmp) . I have a wmp in my windows form. I have a stream from that file(sound or video) not a path(file address on HD) . I wery tried to find out some thing about this problem in internet. ---------------------------- hope to your help. ?

      --------------------- Areff Bahrami(KAVEH) Areff.HB@Gmail.com ---------------------

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      I read it 5 times and I still don't understand what your problem is, or how you think we have enough information to try and help you. What have you done ? What is the code ? What is the error message ? Wat goes wrong ?

      Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

      A 1 Reply Last reply
      0
      • C Christian Graus

        I read it 5 times and I still don't understand what your problem is, or how you think we have enough information to try and help you. What have you done ? What is the code ? What is the error message ? Wat goes wrong ?

        Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

        A Offline
        A Offline
        Areff
        wrote on last edited by
        #3

        tanx Christian Graus, my problem in my programm is that i have a stream containig video or sound and i want to play it in my windows app via windows media player control . this code can tell windows media player (=wmp) to play a file in internet AxWindowsMediaPlayer1.Url = "some address"; this code meaning that wmp can play a video or sound streamly . and my question is how can i play my stream when it is in memory ? i find something about creating protocols to do something like the url passing to wmp hope to your help.

        --------------------- Areff Bahrami(KAVEH) Areff.HB@Gmail.com ---------------------

        E 1 Reply Last reply
        0
        • A Areff

          tanx Christian Graus, my problem in my programm is that i have a stream containig video or sound and i want to play it in my windows app via windows media player control . this code can tell windows media player (=wmp) to play a file in internet AxWindowsMediaPlayer1.Url = "some address"; this code meaning that wmp can play a video or sound streamly . and my question is how can i play my stream when it is in memory ? i find something about creating protocols to do something like the url passing to wmp hope to your help.

          --------------------- Areff Bahrami(KAVEH) Areff.HB@Gmail.com ---------------------

          E Offline
          E Offline
          electriac
          wrote on last edited by
          #4

          You find numerous examples here: http://electriac.googlepages.com/home[^]

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups