Loading a music file

G

Guest

Hay everyon
Ive got 2 question
A) What is keypress and how do I use it (in this case for multiplying and dividing
B) I'm making a program to play music (kind of like windows media player). I've got the load button working but sso that when I debug and I press "open" (the name of the button that opens up a window to load somthing) the window opens but when I click a music file it comes up with a message box that says either "@", a box or dosen't do anything how do make it play the file
This is the code i'm using
|||||
If OpenFileDialog1.ShowDialog() = DialogResult.OK The
Dim sr As New System.IO.StreamReader(OpenFileDialog1.OpenFile
MessageBox.Show(sr.ReadToEnd
sr.Close(
End I
|||||
Thanx!
 
H

Herfried K. Wagner [MVP]

* "=?Utf-8?B?VG9tIFc=?= said:
Ive got 2 questions
A) What is keypress and how do I use it (in this case for multiplying
and dividing)

'KeyPress' is an event of the form and controls.
B) I'm making a program to play music (kind of like windows media
player). I've got the load button working but sso that when I debug and
I press "open" (the name of the button that opens up a window to load
somthing) the window opens but when I click a music file it comes up
with a message box that says either "@", a box or dosen't do anything
how do make it play the file?

<URL:http://www.google.de/[email protected]>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top