2 Replies - 6977 Views - Last Post: 30 October 2009 - 10:17 PM Rate Topic: ***-- 2 Votes

#1 asadkhanno1   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 14
  • Joined: 16-September 08

Video Open & Play using Media Player in C# done but some problem

Posted 28 October 2009 - 09:21 AM

[font=Arial]
I have a project to make a media player in C# which can play audio video i v done it. now the problem is i want to play video like when i right click some video file and select 'open with' my video player( my application) run but the video is not start so i start it manually start it from open button etc i hope you understand my question i want to make my media player runable(playable video file ) when open with it my player how can i do this plzz reply ???
u have seen in during playing video when u open any video with window media player the Window media player start And the video is also start to play like this. how i can do this example through some events or commands etc..

images of my problem hope u guys easily understand

[/URL][/img]
[/URL][/img]
Posted Image
Posted Image

This post has been edited by asadkhanno1: 28 October 2009 - 10:09 AM


Is This A Good Question/Topic? 0
  • +

Replies To: Video Open & Play using Media Player in C# done but some problem

#2 Momerath   User is offline

  • D.I.C Lover
  • member icon

Reputation: 1021
  • View blog
  • Posts: 2,463
  • Joined: 04-October 09

Re: Video Open & Play using Media Player in C# done but some problem

Posted 30 October 2009 - 06:04 AM

The name of the video to play is passed to your application as a command line argument. You'll have to deal with it that way.
Was This Post Helpful? 0
  • +
  • -

#3 asadkhanno1   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 14
  • Joined: 16-September 08

Re: Video Open & Play using Media Player in C# done but some problem

Posted 30 October 2009 - 10:17 PM

View PostMomerath, on 30 Oct, 2009 - 05:04 AM, said:

The name of the video to play is passed to your application as a command line argument. You'll have to deal with it that way.


Yes Thanks Someone told me in My uni & i ve done it [void Main (string[] args] thsi args containg filename by the way thanks
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1