Solved

Centering AVI's launched with MMControl

Posted on 1998-07-24
2
126 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
Comment Utility
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
Comment Utility
Thanks! I have the time now to make a presentation I'm doing at work a bit more professional now!
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

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…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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…
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…

771 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

9 Experts available now in Live!

Get 1:1 Help Now