473,386 Members | 1,819 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Stop media player window from resizing

OK, this should be really simple, but I still can't see where I can set an
option to prevent Windows Media Player 9 from resizing the window when it
loads at startup or when a file is played. I need it to stay one size not
change depending on the videos size.

Any ideas?

Thanks
Nov 20 '05 #1
3 6826
not that this has anything in the least to do with VB, how about the "View>VideoSize>Fit Player To
Video On Start" option?
"Darren" <so**@one.com> wrote in message news:Xn************************@207.46.248.16...
OK, this should be really simple, but I still can't see where I can set an
option to prevent Windows Media Player 9 from resizing the window when it
loads at startup or when a file is played. I need it to stay one size not
change depending on the videos size.

Any ideas?

Thanks

Nov 20 '05 #2
I was referring to the Windows Media Player 9 SDK, I have added it into
a VB.NET application, but everytime I play a file it resizes itself and
covers up objects on the form, I want to prevent this from happening.
"Rick Mogstad" <ri**@NOSPAM.computetosuit.com> wrote in
news:Oo**************@tk2msftngp13.phx.gbl:
not that this has anything in the least to do with VB, how about the
"View>VideoSize>Fit Player To Video On Start" option?
"Darren" <so**@one.com> wrote in message
news:Xn************************@207.46.248.16...
OK, this should be really simple, but I still can't see where I can
set an option to prevent Windows Media Player 9 from resizing the
window when it loads at startup or when a file is played. I need it
to stay one size not change depending on the videos size.

Any ideas?

Thanks



Nov 20 '05 #3
Darren,

I believe Media Player options can be set programmatically, so you might
want to explore the Media Player SDK docs on how to turn off the option Rick
has referenced.

--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://x-unity.miik.com.ua/teststudio.aspx
Bring the power of unit testing to VS .NET IDE

"Darren" <so**@one.com> wrote in message
news:Xn***********************@207.46.248.16...
I was referring to the Windows Media Player 9 SDK, I have added it into
a VB.NET application, but everytime I play a file it resizes itself and
covers up objects on the form, I want to prevent this from happening.
"Rick Mogstad" <ri**@NOSPAM.computetosuit.com> wrote in
news:Oo**************@tk2msftngp13.phx.gbl:
not that this has anything in the least to do with VB, how about the
"View>VideoSize>Fit Player To Video On Start" option?
"Darren" <so**@one.com> wrote in message
news:Xn************************@207.46.248.16...
OK, this should be really simple, but I still can't see where I can
set an option to prevent Windows Media Player 9 from resizing the
window when it loads at startup or when a file is played. I need it
to stay one size not change depending on the videos size.

Any ideas?

Thanks



Nov 20 '05 #4

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

Similar topics

5
by: Will | last post by:
Is there multi-media support in Python? So I can... 1 - play video in all the standard formats... windows & Mac? 2 - play flash files 3 - Power Point 4 - Standard graphic formats 5 - Sound in...
5
by: david | last post by:
When Windows Media Player is minimumized on its toolbar, the player has a compact player interface. Can something like this be done with VS.NET? And How? TIA, david
2
by: Darren | last post by:
OK, this should be really simple, but I still can't see where I can set an option to prevent Windows Media Player 9 SDK from resizing the control on the form when it loads at startup or when a file...
5
by: Paul Fi | last post by:
I have this code which tries to obtain the number of items in the current playlist of windows media player: private void MainForm_Load(object sender, System.EventArgs e) { // get Window handle...
3
by: garyusenet | last post by:
I've noticed that the media player window takes up the same percentage of the screen regardless of the screen resolution, it's dimensions aren't fixed in pixels but it takes up a set proportion of...
4
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
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
by: PulkitZery | last post by:
Hi, can someone please tell me how can I add Media Player on my web project? I add the reference of window media player and in the toolbox I chose to display the windows media player. But for...
1
by: Shaba99 | last post by:
Hey everyone, New to this forum, but i search for answers here often. I have a c# windows application which embeds windows media player on the form. The application (biz rule) requires that the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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,...

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.