|
-
Jan 3rd, 2001, 11:06 AM
#1
Thread Starter
New Member
How to insert an Avi/Mpeg or that sort of movies into VB forms?
I'm making an adventure game as my isp in High School, and i want to make the game have a good Intro, i have a movie i wanna put in the start but i dont know how to make it play.. if anybody can help me here i'll be greatfull....
Thank you in advance.
-
Jan 3rd, 2001, 12:52 PM
#2
Lively Member
Movies.
You can use an MCIWndX control (how's that for a name, eh?), which comes with ActiveMovie, I think. Well, it either will or won't be in your components list. Operation is fairly simple. Just set the filename to your movie, set all the controls and status bars to invisible, and tell the thing to play in your code. I think it's even got a help file.
~Zero the Inestimable
-
Jan 3rd, 2001, 02:25 PM
#3
Member
Try this too
Apart from that, it's easier to put a Animation control(it comes with Microsoft Common Controls-2 in components section)
But that's for avi only, for mpeg try Media Player Control
-
Jan 3rd, 2001, 09:39 PM
#4
Animation
In your project, add component module - Microsoft Windows Commond Controls-2 5.0. After that you will see one of the tool called Animation in the toolbox. Add that tool in your form. Then last thing is write small code:
Animation1.Open "yourmovie.avi"
Animation1.Play 1
to stop playing:
Animation.stop
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|