Solved

Centering AVI's launched with MMControl

Posted on 1998-07-24
2
127 Views
Last Modified: 2012-05-04
How do I manipulate the position of the window that AVI's played using the MMControl appear in? I can't seem to find any way of doing this....
0
Comment
Question by:Pkelley
2 Comments
 

Accepted Solution

by:
fc_hnat earned 100 total points
ID: 1466582
You can put the avi into a picture box using the code below.
If the picture box is on a form the form can be moved any where using the move method for the form.

MMControl1.Notify = False
MMControl1.Wait = True
MMControl1.Shareable = False
MMControl1.hWndDisplay = Picture1.hWnd
MMControl1.DeviceType = "AVIVideo"
MMControl1.filename = "path of avi file"
MMControl1.Command = "Open"

!fc_hnat
0
 

Author Comment

by:Pkelley
ID: 1466583
Thanks! I have the time now to make a presentation I'm doing at work a bit more professional now!
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

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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.
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

863 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

24 Experts available now in Live!

Get 1:1 Help Now