Results 1 to 5 of 5

Thread: Media Player error!

  1. #1
    MurphmanL
    Guest

    Media Player error!

    Ive made a little dialog box in VB to start off with, all I want is for the player to be able to play an mp3 file located in the file box. The mp3 is displayed in the file box, and i have coded the button play with the following code:
    If frmPlayer.MediaPlayer1.FileName <> "" Then frmPlayer.MediaPlayer1.Play

    with MediaPlayer1 being a WMP insert (cutting corners )

    Anyways it doesnt work, i just get an error about Object defined 824 or something i cant quite remember... what am i missing here ppl? If its any help the file box is named File1 and the media player above.
    The button im trying to make is basically the equivalent of open, except its function is to take the file listed in the box and load it into the wmp insert, and the wmp insert will then play it.
    Once ive finally overcome this obstacle i might make my own buttons lol
    Last edited by MurphmanL; 27-05-2004 at 07:28 PM.

  2. #2
    MurphmanL
    Guest
    Ok im practiaclly sorted now (thanks for all your replys )
    One thing remains, i just need the player to play the file! The file appears and then i need a button to port the file from the Filelistbox into the mediaplayer1... anyone got any idea of a quick code?

  3. #3
    Comfortably Numb directhex's Avatar
    Join Date
    Jul 2003
    Location
    /dev/urandom
    Posts
    17,074
    Thanks
    228
    Thanked
    1,026 times in 677 posts
    • directhex's system
      • Motherboard:
      • Asus ROG Strix B550-I Gaming
      • CPU:
      • Ryzen 5900x
      • Memory:
      • 64GB G.Skill Trident Z RGB
      • Storage:
      • 2TB Seagate Firecuda 520
      • Graphics card(s):
      • EVGA GeForce RTX 3080 XC3 Ultra
      • PSU:
      • EVGA SuperNOVA 850W G3
      • Case:
      • NZXT H210i
      • Operating System:
      • Ubuntu 20.04, Windows 10
      • Monitor(s):
      • LG 34GN850
      • Internet:
      • FIOS
    Quote Originally Posted by MurphmanL
    (thanks for all your replys )
    everyone here avoide VB like the plague

  4. #4
    Comfortably Numb directhex's Avatar
    Join Date
    Jul 2003
    Location
    /dev/urandom
    Posts
    17,074
    Thanks
    228
    Thanked
    1,026 times in 677 posts
    • directhex's system
      • Motherboard:
      • Asus ROG Strix B550-I Gaming
      • CPU:
      • Ryzen 5900x
      • Memory:
      • 64GB G.Skill Trident Z RGB
      • Storage:
      • 2TB Seagate Firecuda 520
      • Graphics card(s):
      • EVGA GeForce RTX 3080 XC3 Ultra
      • PSU:
      • EVGA SuperNOVA 850W G3
      • Case:
      • NZXT H210i
      • Operating System:
      • Ubuntu 20.04, Windows 10
      • Monitor(s):
      • LG 34GN850
      • Internet:
      • FIOS
    i've not used vb, but surely you can simply say something like backdoorexploitfactory.play(bigtextbox.text);
    or similar?

  5. #5
    MurphmanL
    Guest
    Not a clue, but the idea is I ask U guys the questions, and U answer, not U ask me the questions

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Samsung YP-E32/64 .mp3 player
    By blockers in forum PC Hardware and Components
    Replies: 0
    Last Post: 13-04-2004, 02:45 PM
  2. Windows Media Player problems
    By Skii in forum Software
    Replies: 1
    Last Post: 05-04-2004, 02:16 PM
  3. Windows Media Player 9
    By blockers in forum Software
    Replies: 9
    Last Post: 12-03-2004, 08:36 PM
  4. Media Player Codecs
    By Zak33 in forum Software
    Replies: 9
    Last Post: 17-01-2004, 11:15 AM
  5. Media Player vs processor
    By dansiviter in forum Software
    Replies: 3
    Last Post: 27-09-2003, 02:19 AM

Posting Permissions

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