Iīm trying to play a wmv-file, it comes a message that I donīt understand.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Microsoft.DirectX.AudioVideoPlayback;
namespace video
{
public partial class Form1 : Form
{
Video myVid = new Video("h:\\2013\\Cadplayer toolboX_WMV_03-16-13.wmv");
public Form1()
{
InitializeComponent();
myVid.Owner = panel1;
}
private void button1_Click(object sender, EventArgs e)
{
myVid.Play();
}
}
}
Regards Dirk