BackGround Music!!!

How to play background music using VB.NET? I mean play backround music with out any dll files needed to my application to be running!(cause i tried once, and it works but it creates 3 dll files with it, and my app wasnt working with out those files) Also how can I build in music file in my application?

Comments

  • : How to play background music using VB.NET? I mean play backround music with out any dll files needed to my application to be running!(cause i tried once, and it works but it creates 3 dll files with it, and my app wasnt working with out those files) Also how can I build in music file in my application?
    :

    You'll probably get this question answered in the visual basic messageboard. I know in vb6 you use this though:

    ' put this in a module
    Public Declare Function sndPlaySound Lib "winmm.dll" Alias _
    "sndPlaySoundA" (ByVal lpszSoundName As String, ByVal uFlags As _ Long) As Long

    'here you go ...
    a= sndPlaysound ("c:windowsmediading.wav",0)' flag=1 in background?

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion