Windows Media Player Control Drag and Drop
- From: jbdavis <jbdavis@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 15 Apr 2008 22:51:03 -0700
I enable the AllowDrop property but there is no DragDrop or DragOver events
for the WindowsMediaPlayer control? I want to be able to drag a media file
onto the control and set the URL property to the filename so it will play.
What I did in VB6 was create a image control over the top of the media
player control and because it was transparent without an image assinged I
could use the image control dragdrop event and drag files over it and assign
the filename to the URL property of the MediaPlayer. This worked great.
Because there are no native transparent controls in VB.NET this doesn't work.
I have tried working with the
Me.SetStyle(ControlStyles.SupportsTransparentBackColor, True) but I could
not get it to work. Beside I don't see why the control doesn't have
dragdrop events?
Jeff
.
- Prev by Date: WindowsMediaPlayer Control Plugins
- Next by Date: RE: Error on SOAP Call on only one machine: Could not find default endpoint element that references contract 'ServiceReference1.SLDSoap' in the ServiceModel client configuration section
- Previous by thread: WindowsMediaPlayer Control Plugins
- Next by thread: msgbox
- Index(es):
Relevant Pages
|