473,507 Members | 5,060 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

MediaPlayer Problem

hi..

i have some questions about media player article on codeproject
website......

http://www.codeproject.com/cs/media/...191#xx793428xx
i have a media player class..

and then call in Main Form ..like this..

Panel panScreen;
string fileName = "C:\example.avi";

MediaPlayer mp = new MediaPlayer( panel, filename);

Problem is this..

i was implemented some code to panScreen ..

when i click this panScreen , panScreen resize maximize
when i move panScreen , entire form move together...
and so on..

it does work before open media file ..

but after opennig some file ... it doen't work...

i don't know why? what's the reason?

MediaPlayer mp = new MediaPlayer(panScreen, filename);

after this code execution , all event of panScreen doesn't work...

i've already added this code..in MediaPlayer class.

m_objVideoWindow.MessageDrain = (int) panScreen.Handle;

how should i do?

best regards...


= Charles =
Nov 16 '05 #1
0 1441

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2113
by: MLH | last post by:
The A97 set of controls has one at the end entitled "More Controls". Clicking it produces a host of ActiveX and OCX controls that can be dropped onto a form just as easily as a textbox. One of...
0
1257
by: Christian Steck | last post by:
Hello all, sorry about my english, i don´t speak english very well, but i try it ;-) at the time i write my own ui for the mediaplayer 10 and i have a problem with changing the visualization...
6
1997
by: Sjaakie Helderhorst | last post by:
Hi, I've been fooling around (noob) with VB.NET and put together a remote-controlled Mediaplayer-based 'server'. Had some troubles configuring interop on Windows XP with VS.NET 2003, but...
2
5197
by: Dick | last post by:
Hello, I've written a program that uses the Windows Mediaplayer. There are 2 files generated in my Bin folder: AxInterop.WMPLib.dll Interop.WMPLib.dll When running in the vb.net ide it...
0
1711
by: Nonee | last post by:
Hello- I have a form with the mediaplayer referenced to play mp3's and avi's and I believe that is what is causing the problem. I am not sure, but I am hoping. Anyway, I "published" the vb.net...
1
1393
by: Stephen | last post by:
Here is my issue. I have a <asp:listbox control that is populated with movie titles and url for the media file from a database. No problem. No what I want is the OnSelectedIndexChanged event...
7
3377
by: xhunter | last post by:
ok here is my problem, I am trying to change the source file of the mediplayer using javascript, my script works perfectly in "Internet Explorer", but no matter what I do, it doesn't work in...
0
817
by: namrataa | last post by:
Hi, I have developed the mediaplayer using WPF mediaelement using C# in VS2008. I have developed a music Site in WPF browser application from where a user logs in and selects the song. Once when...
0
7223
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7372
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7030
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7482
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5623
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5041
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3191
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3179
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
411
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.