Feedback

Abspielen von MP3’s

using System.Diagnostics;
		
[DllImport("winmm.dll")]
private static extern long mciSendString(string strCommand, StringBuilder strReturn, int iReturnLength, IntPtr hwndCallback);
public string befehl;


private void btn_laden_Click(object sender, EventArgs e)
{
	if (openFileDialog1.ShowDialog() == DialogResult.OK)
	{		
		label1.Text = openFileDialog1.FileName;
		befehl = "open "" + label1.Text +"""" type MPEGVideo alias MediaFile"";

1 Kommentar