Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Centering AVI's launched with MMControl

Posted on 1998-07-24
2
Medium Priority
?
134 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 400 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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

885 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