Solved

VB5 and position of an avi file with mmcontrol ....

Posted on 1998-04-04
2
298 Views
Last Modified: 2012-06-22
Every time an avi file plays using mmcontrol ,  starts at different (Random ? )  position in the screen ...
Is there a method to play this avi file in a form , or standard coordinates ? ... an example please ... ;-)))
thanks ...
Argi
0
Comment
Question by:argi
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 1

Accepted Solution

by:
flivauda earned 10 total points
ID: 1460385
You can use the Animation control.  Add Microsfot common controls 2 under the components.  Then draw the animation control exactly where you want it and when you want to play the file do:

animation1.open "c:\myfiles\myavi.avi"

and it will start playing it
0
 
LVL 7

Expert Comment

by:kamall
ID: 1460386
argi,
If you are unsatisfied with flivauda's answer and want to use the MMControl, I can give you the code for playing the AVI file in any location inside your form.
Regards.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question