![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Jun 2005
Posts: 3
Rep Power: 0
![]() |
how to run a video clip when user first run my software?
hi,please tell me how to run a movie clip when user first run my program?
my problem is i dont want user can see the media player control like pause or play,for example, when i play "war craft 3", i can see a movie before i can play game, of cause, user can press Esc to jump the movie clip , then user can see the menu ....thanks ur helps! |
|
|
|
|
|
#2 |
|
Newbie
Join Date: Aug 2005
Location: Romania
Posts: 13
Rep Power: 0
![]() |
Playing media clips in VB.NET
Create a form and remove its borders and maximize it. Add the Media Player ActiveX Control. Arrange its layout. Hide any interface on the control and disable autostart. Open the media clip. Add keyboard handling (this is rather complicated with ActiveX controls). Show the form modally and start playing the media clip. After the media clip finishes, close the form.
To hide controls in a Media Player ActiveX Control, you can use : MyMediaPlayerInstance.UiMode = "none" |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|