C # How do I write the path code of the video file to be played by the player!

Source: Internet
Author: User
C # How do I write the path code of the video file to be played by the player! [Closed, closed by: xiangjiajin]

Add as a friend

Send private message

Online Chat
  • Xiangjiajin
  • Xiangjiajin
  • Level:
  • Available levels:Poor farmers
  • Total technical experts:46
  • Total technical experts ranking:130682
  • Posting rate:92.86%
Posted on:09:40:25 Landlord
The following code indicates that the player has been enabled, but how does one specify the playback file path?
System. Diagnostics. ProcessStartInfo info = new System. Diagnostics. ProcessStartInfo (@ "C: \ Program Files \ Windows Media Player \ wmplayer.exe ");
Info. WindowStyle = System. Diagnostics. ProcessWindowStyle. Normal;
System. Diagnostics. Process pr = new System. Diagnostics. Process ();
Pr. StartInfo = info;
Pr. Start ();
Pr. WaitForExit ();
Problem points:20 Replies:2
Show all repliesShow star repliesShow landlord reply

Modify, delete, report, reference, and reply

Add as a friend

Send private message

Online Chat
  • Cyq1162
  • A lost book boy in the world
  • Level:
  • Available levels:Fu Nong
  • Total technical experts:1636
  • Total technical experts ranking:12611
Posted on:09:43:021Floor score:0
Isn't that the case?
Using DirectX... very easy...
Modify, delete, report, reference, and reply

Add as a friend

Send private message

Online Chat
  • Atmo
  • I hope you can tell me what you know.
  • Level:
  • Available levels:Zhongnong
  • Total technical experts:1491
  • Total technical experts ranking:13697
Posted on:09:46:252Floor score:20
Info. FileName = "aaa. wmv ";
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.