473,498 Members | 1,992 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Working with Media Player in Multiple forms

3 New Member
Hello,

I need to write a program that plays Windows Media on a second monitor. I have a control booth and a presentation screen where I work. I want a program that will have a form for the media player controls on my screen in the booth, while playing the media on the presentation screen.

I have found code for making the player open in fullscreen on the presentation screen using something like:

Expand|Select|Wrap|Line Numbers
  1. Screen[] sc; 
  2. sc = Screen.AllScreens; 
  3. //get all the screen width and heights 
  4. Form2 f = new Form2(); 
  5. f.FormBorderStyle = FormBorderStyle.None; 
  6. f.Left = sc[0].Bounds.Width; 
  7. f.Top = sc[0].Bounds.Height; 
  8. f.StartPosition = FormStartPosition.Manual; 
  9. f.Location = sc[0].Bounds.Location; 
  10. Point p = new Point(sc[0].Bounds.Location.X, sc[0].Bounds.Location.Y); 
  11. f.Location = p; 
  12. f.WindowState = FormWindowState.Maximized; 
  13. f.Show(); 
  14.  
This is run when the controls form opens, what I am having trouble doing is accessing the axMediaPlayer control on that form from the controls form. I think this is a parent/child thing. Can someone please help me figure out how to access the Properties of the axMediaPlayer control?
Nov 3 '11 #1
1 2127
MConlisk
3 New Member
Does anyone out there know the answer?
Dec 6 '11 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

5
4088
by: John | last post by:
I have a number of self-composed songs in mp3 format which are linked to their individual titles with <a href... The problem with this coding is that the songs open in a new window containing the...
2
4920
by: benmourra | last post by:
Hi all, I'm trying to create a web page using VS2005, ASP.NET 2.0, that will allow me to choose from a list of media files on my computer and then play my selection within an embedded Windows...
1
432
by: sanderpleijers | last post by:
Hi, Im using 2 forms. The first form is called FrmMain. The second form has windows media player in it with controls. Its named: Fullscreen. Now, how can i send a ''...
4
6250
by: hzgt9b | last post by:
Using VS 2003, VB.NET and/or ASP.NET 2.0, BACKGROUND I have a window forms based application that contains a TreeView control and a WebBroswer (AxSHDocVw.AxWebBrowser) control. The TreeView is...
19
19223
by: Tony | last post by:
I'm working on project that plays movies using Windows Media Player and I'm controlling everything with JavaScript. Per the client I only need to support IE 6 or greater which happens to make...
0
2652
by: artsohc | last post by:
Hey Everyone, this is my first time posting so go easy on me. I am trying to hook up music-on-hold at the office I work at. I got all the music loaded and I got Windows Media Player working while...
1
2118
by: xhunter | last post by:
I am streaming some files on my site (progressive http streaming), I use php to authenticate logged in users with sessions and cookies, and then send the stream to be opened. All my Quicktime...
5
2618
by: Fred Chateau | last post by:
I am currently using an Object element of type "application/x-mplayer2" to create a media player in ASP.NET 3.5, and was wondering if there is a better way to instantiate WMP in a browser. I'm...
0
1790
by: haven1433 | last post by:
I have a camera that is sending a motion-jpeg stream over a network in real time, and I would like to open the stream and view the video in Windows Media Player. Firefox and VLC are able to show me...
0
7125
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
7002
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7165
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7203
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...
0
5462
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
4908
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
1417
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
656
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
290
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.