How To Embed Windows Media Player In Windows Form Using VB.Net
1. Go to "Tool Box" pane then right click
2. Select "Choose Items..."
3. Click "COM Components" tab
4. Select/Check the "Windows Media Player" component
5. Click OK
6. Drag the component "Windows Media Player" from Tool Box pane to Form1
7. In the "Form1_Load" event add this code: AxWindowsMediaPlayer1.URL = "C:\Users\Public\Videos\Sample Videos\Wildlife.wmv"
8. Press F5
1. Go to "Tool Box" pane then right click
2. Select "Choose Items..."
3. Click "COM Components" tab
4. Select/Check the "Windows Media Player" component
5. Click OK
6. Drag the component "Windows Media Player" from Tool Box pane to Form1
7. In the "Form1_Load" event add this code: AxWindowsMediaPlayer1.URL = "C:\Users\Public\Videos\Sample Videos\Wildlife.wmv"
8. Press F5
Comments
Post a Comment