UGN Security Forums
My ProfileMember DirectoryLogin
Search our ForumsView our FAQView our Site Rules
View our CalendarView our Active TopicsGo to our Main Page

UGN Security Store

Network Sites UGN Security, The GoNix Initiative, Elite Web Gamers, Back of the Web, EveryDay Helper, VNC Web Design & Development
Sponsored Links
Latest Postings
by Gremelin
10/05/15 06:01 PM
Latest Reviews
Topic Options
Rate This Topic
#17710 - 09/27/03 06:57 PM Midi files!
n3o Offline
Junior Member

Registered: 09/15/03
Posts: 20
Loc: England

I was wondering if any body could help me in being able to integrate a midi file into an application.

I am currently using VB Pro 5.

Any help would be greatly appreciated!

Thanks for those who help ¦:¬)

Sponsored Links
#17711 - 10/03/03 02:43 AM Re: Midi files!
BackSlash Offline
UGN's Resident Homo

Registered: 03/16/02
Posts: 599
Loc: TN
you could bring in the windows media player control. it is msdxm.ocx on my computer. then just do that should work. also look into the PlaySound function in the API. it achieve the same effect.
"It's better to burn out, than to fade away."

#17712 - 10/04/03 07:42 PM Re: Midi files!
n3o Offline
Junior Member

Registered: 09/15/03
Posts: 20
Loc: England
The only problem with doing that, is it will not actually be intergrating the midi file its self.

Do you know anyway of actually putting the midi script for playing the notes into the appliction.


#17713 - 10/04/03 08:06 PM Re: Midi files!
SilentRage Offline
DollarDNS Owner

Registered: 03/04/02
Posts: 1273
Loc: OH, USA
add it as a resource file. When the program runs you can save the resource file to a temp directory as a temp file and play it.
Domain Registration, Hosting, Management

#17714 - 10/25/03 09:36 PM Re: Midi files!
Red Mage Offline

Registered: 10/24/03
Posts: 209
Loc: here.
If you know all of the notes, you can input it as:

PLAY "O4ABCDEFGO2ABC" (ABCDEFG being notes, O1-4 being octaves, and using + or - for sharp and flat)

Unfortunatly this only works if you know every note, and I'm not sure if it can do multiple notes at the same time (I use QBasic, so I don't know what the newer ones can do).
Those who say do not know.
Those who know do not say.


Featured Member
Registered: 03/02/02
Posts: 137
Forum Stats
2158 Members
46 Forums
41545 Topics
76720 Posts

Max Online: 1567 @ 04/25/10 02:20 AM
Top Posters
UGN Security 34707
Gremelin 7194
§intå× 3255
SilentRage 1273
Ice 1146
pergesu 1136
Infinite 1041
jonconley 955
Girlie 908
unreal 860
Newest Members
Jan Havelles, Herbert_Sherbert, codemauve, Lillysdragon1984, Brewwit
2158 Registered Users
Who's Online
0 registered (), 277 Guests and 424 Spiders online.
Key: Admin, Global Mod, Mod
Latest News

  Get Firefox!
Get FireFox!