Creating an AxWindowsMediaPlayer programmatically

below Public Class Form1:

Dim AxWindowsMediaPlayer1 As New AxWMPLib.AxWindowsMediaPlayer

 

Inside Form1_Load:

Me.Controls.Add(AxWindowsMediaPlayer1)

AxWindowsMediaPlayer1.Show()

Advertisements

Leave a comment

Filed under Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s