TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Muteen ul Haq
NA
74
8.5k
Windows squeeze as Windows Media Player Upload File. Why??
Sep 4 2010 6:29 PM
HI!
I write this code to open and run windows media player. Its work correctly. But there is little problem as I upload any song the size of my window squeeze. Can you please tell me which value or parameters I need to change?
Thanks
NOTE:
private System.Windows.Forms.OpenFileDialog
openMediaFileDialog;
private AxMediaPlayer.AxMediaPlayer
axWindowsMediaPlayer1
;
private void browsButton_Click(object sender, EventArgs e)
{
openMediaFileDialog.ShowDialog();
axWindowsMediaPlayer1.URL = openMediaFileDialog.FileName;
axWindowsMediaPlayer1.Size = new Size(300, 200);
this.Size = new Size(axWindowsMediaPlayer1.Size.Width + 60, axWindowsMediaPlayer1.Size.Height + 100);
}
Reply
Answers (
2
)
CheckBox
keylistener to help my 2 year old learn her ABC's!