5
Answers

Please explain Global.asax file

Vipul Kelkar

Vipul Kelkar

14y
3.7k
1

Hi guys.
I have an idea about what a global.asax file is and what events can be used in that file.Can anyone please explain where it can be actually used b'cos i am unable to understand the practical use of that file and where the events in the file can be used.
Thanks
Answers (5)
0
George Steeves

George Steeves

NA 6 0 16y
I have quite a bit of information source code and tutorials for axmediaplayer on my site.

http://electriac.googlepages.com/wmplayer.exe
0
sailorfoley

sailorfoley

NA 97 0 21y
i think you will find you do use c# directly otherwise what language are you using?with c# being a managed language i wouldn't recomend unmanaged direct x although nBass is quite good but lack of documentation
0
schmintan

schmintan

NA 64 0 21y
its real easy. i dont use c# directly. i use either directShow, a part of directX, or nBASS, a sound liberary written in c#. you can find them both on www.codeproject.com . just type in their names in the search box and you should get them.hopw this is useful
0
sailorfoley

sailorfoley

NA 97 0 21y
hey, i have written an mp3 player in c#. i use managed directx version 9 and it could not be simpler. You pass a path name to a newly created Audio object and call its .play() method. There are methods like stop(), pause() , etc. It's all very simple. You can download the directx SDK from the microsoft website (bout 165MB download) or simply email me and i can send you the DLL files. After that you can get the documentation from microsoft.com Any questions or queries just contact me, Sailor
0
jinwolf

jinwolf

NA 176 0 21y
Okay, I got the same when I tested it. Did you set the "player.FileName" or "player.Open()" as I found both gave an error. I would suggest looking through MSDN online and seeing what they say about the MediaPlayer Libraries. Sorry I can't be of more help, but if I find the answer I will post it here.
0
morpheus2matrix

morpheus2matrix

NA 27 0 21y
ok i got it but it's not perfect, i got an error when i launch the programm Error is on player.Play() PS : no, i'm not new to programming but it's the first time i used OCX
0
jinwolf

jinwolf

NA 176 0 21y
Declare the AxMediaPlayer z.B. AxMediaPlayer player = AxMediaPlayer.AxMediaPlayer; to play an MP3: player.FileName = ; Do you know VB or are you new to programming? Lee
0
morpheus2matrix

morpheus2matrix

NA 27 0 21y
yok, but it's in Visual Basic and i can't find the part which allow to play MP3 files ......
0
jinwolf

jinwolf

NA 176 0 21y
http://www.planet-source-code.com/vb/scripts/ShowCode.asp?lngWId=10&txtCodeId=1593 I have found the article, it's in vb.net, but it's not hard to translate. I hope this helps you, Lee
0
morpheus2matrix

morpheus2matrix

NA 27 0 21y
yes, but it doesn't help me :-\
0
sacresp

sacresp

NA 458 0 21y
There's a search feature in the forums. ;) http://216.26.160.137/Forums/AspNetForums20/ShowPost.aspx?PostID=2769 One topic is enough.
0
jinwolf

jinwolf

NA 176 0 21y
I seem to remember seeing something about this on Planetsource.com, but not sure where. Lee