Results 1 to 4 of 4

Thread: I Have difficulty sound playing window media player in vb2005

  1. #1

    Thread Starter
    New Member
    Join Date
    Dec 2006
    Posts
    2

    Red face I Have difficulty sound playing window media player in vb2005

    Hi all,

    I have difficullty playing my window media player in the vb2005
    application .


    Please kindly help me if anyone know the how it work.


    Thank You.

  2. #2
    Frenzied Member
    Join Date
    Oct 2005
    Posts
    1,286

    Re: I Have difficulty sound playing window media player in vb2005

    Hi,
    are you just trying to play a sound file in VB?

    Pete

  3. #3

    Thread Starter
    New Member
    Join Date
    Dec 2006
    Posts
    2

    Re: I Have difficulty sound playing window media player in vb2005

    To : Petevick

    Yes i am trying to play a sound file out from vb2005 using mobile5 Pocket PC.Below is the code which i encounter problem.Which i unable to solve due to very new on vb2005.Beginner level
    --------------------------------------------------------------------------------
    Public Class Form1

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

    PlayBackgroundSoundFile()
    My.Computer.Audio.Play("C:\Waterfall.wav", _
    AudioPlayMode.Background)

    End Sub
    End Class

  4. #4
    Frenzied Member
    Join Date
    Oct 2005
    Posts
    1,286

    Re: I Have difficulty sound playing window media player in vb2005

    Hi,
    you can use the opennetcf (www.opennetcf.org), or p/invoke playsound as described here

    Pete

Posting Permissions

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



Click Here to Expand Forum to Full Width