Embedding vlc control in visual basic form

This forum is about all development around libVLC.
Genko
Blank Cone
Blank Cone
Posts: 11
Joined: 03 Feb 2011 10:20

Embedding vlc control in visual basic form

Postby Genko » 03 Feb 2011 11:24

Hi to alls,
i'm trying to embedding the vlc player in a visual basic form.
When i put the control on the form and i set the MRL proprierties and i run the form, everythings is ok.
But when i try to import an instance of the vlc control in runtime mode, and i try to set the MRL propreties, it fails with the genereration of a exception...
Code example:

Dim vlcVideo as Axnxx.VLCPlugin2

vlcVideo.width=320
vlcVideo.height=200
vlcVideo.MRL="D:\video\pippo.mpg"

could someone help me to resolve this trouble?

Thanks.
Max

Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 6 guests