Link to home
Start Free TrialLog in
Avatar of AnotherTiger
AnotherTiger

asked on

Playing sounds and movies in VB6

Sorry about this, I m quite new to VB6 but not to programming (I used to program in QBasic, and I started around 1 year ago).

Im working on a game and Im trying to get sounds to play but with on success, can anyone help me?
Avatar of AnotherTiger
AnotherTiger

ASKER

sorry, they are .wav and I'd also like to know how to play .midi's and .wma
you can use the mmcontrol(microsoft multimedia control 6.0) to play mids and avi files.
ASKER CERTIFIED SOLUTION
Avatar of rocutus
rocutus

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
BTw: this example uses the DirectX 5 tpe library. e If you cant find a compatible type lib lemme know and I will email it to you.
Thanx, both your codes helped a lot, thanx again
Avatar of DanRollins
Hi AnotherTiger,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:

    Split points between: rocutus and mccainz2

AnotherTiger, if you think your question was not answered at all or if you need help, just post a new comment here; Community Support will help you.  DO NOT accept THIS comment as an answer.

EXPERTS: If you disagree with that recommendation, please post an explanatory comment.
==========
DanRollins -- EE database cleanup volunteer
Per recommendation.

YensidMod
EE Moderator