Jump to content
Tuts 4 You

How to play .xm/.wav/.mp3 files in keygen from VB express edition 2005


The SoX

Recommended Posts

Posted

Hi to all

my question is mentioned in the subject.

besides this is there any way to play .gif in the VB 2005

Posted

Include any sound .xm,.wav or .mp3 in your resource and read it at runtime into memory to play it.

By including System.Runtime.InteropServices into ur project you can play as foll .

1)XM files - use ufmod.dll or bassmod.dll

2).wav - its very easy. use the inbuilt winmm.dll into ur project.

3).mp3 - well i wonder why would u want to use mp3 in keygen? but, i find this method easy, include the windows media player as object into your form.check out its class to knw the function to play,stop music

4).Excuse me? play .gif, i assume you want to display an animated gif? You can use the PictureBox to display the image.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...