Solved

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

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Validating VB6 Function 19 56
Computer crashes, following error message in event manager 5 137
Protecting vb6 & .Net code Obfuscation 18 94
Added a column screws up code 5 49
I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
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…
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…

911 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

16 Experts available now in Live!

Get 1:1 Help Now