Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jun 18th, 2005, 8:01 PM   #1
jesslee
Newbie
 
Join Date: Jun 2005
Posts: 3
Rep Power: 0 jesslee is on a distinguished road
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!
jesslee is offline   Reply With Quote
Old Aug 7th, 2005, 2:31 AM   #2
George Giolfan
Newbie
 
Join Date: Aug 2005
Location: Romania
Posts: 13
Rep Power: 0 George Giolfan is on a distinguished road
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"
George Giolfan is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 9:06 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC