Solved

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

Posted on 1998-04-04
2
294 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
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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Share codes 68 115
VBA open file from excel cell 4 34
change vba from autofit to 13.5 width? 4 27
How to make an ADE file by code? 11 42
Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

762 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now