What is this? QuickTimeSimple is an Active-X control for playing Apple QuickTime movies from
within Visual Basic applications or any other Active-X enabled container. It provides
simplified means to add QuickTime capabilities in your application. This is the
simple and free version and provides programmatic access to QuickTime linear movies.
Who needs this?
Windows GUI developers wanting to add QuickTime support in their apps.
What is needed?
You need to have QuickTime installed on the machine. The control just
provides a thin wrapper on the QuickTime C API that is little bit complex
to use.
Other dependencies include MFC 4.2 libraries (specifically MFC42.dll and
MSVCRT.dll) Well, you dont need to worry as all latest windows versions
include this by default.
How to install it?
Extract the QuickTimeSimple.ocx file in any directory.
Open Command Window.
Go to the directory where you have extracted the QuickTimeSimple.ocx file.
Run the command . . . Regsvr32 QuickTimeSimple.ocx. It should
pop a message box saying DllRegisterServer called successfully or something
like that.
You may also give the command from the Start Menu => Run Regsvr32
<absolute path of QuickTimeSimple.ocx>
How to use it? (Visual Basic Settings)
Make sure that the QuickTimeSimple.ocx is registered properly.
Go to Project => Components
From the Controls tab, Check QuickTimeSimple ActiveX Control module.
If it is not appearing there, try to browse the QuickTimeSimple.ocx.
Press Apply or Ok.
Control Properties
Property Name
Read-only
Description
MovieName
No
Name of the movie to play
MovieHeight
Yes
Height of the movie currently opened. Can be used to size the control
to fit the movie.
MovieWidth
Yes
Width of the movie currently opened. Can be used to size the control to
fit the movie.
PlayOnOpen
No
Whether the movie should start playing automatically when it is opened.
ShowControls
No
Hide/Show the default QuickTime Control Bar.
Stretch
No
Whether the movie should adjust it's size to fill the entire control space.
MovieDuration
Yes
Length of the movie. Can be used to control custom progress bar along
with MovieTime.
MovieTime
No
Current position in the movie time scale. Can be used to control custom
progress bar along with MovieDuration.
Control Methods
Method Name
Return Type
Description
OpenMovie
Boolean
Loads the movie file.
PlayMovie
Void
Start playing the movie from the beginning.
PauseMovie
Void
Pauses the movie.
ResumeMovie
Void
Start playing the movie from the current position.
StopMovie
Void
Stops the movie.
CloseMovie
Void
Closes the movie.
AboutBox
Void
Shows the About dialog box.
A sample Visual Basic Project is given showing the different capabilities of the
active-x module.
How to uninstall it?
Go to the directory where you unpacked the QuickTimeSimple.ocx.
Run the command Regsvr32 /u QuickTimeSimple.ocx.
Delete QuickTimeSimple.ocx
I am planning to use the QuickTimeSimple.Ocx for developing my applications. I would like to get a formal copy of the License Agreement of this ocx. Can you please send me one....
Works like a charm posted by: Marc on:Mar 10, 05 11:53 am
This ocx module works perfectly for our need. I have a VB6 application that keeps track of videos submitted to our news organization. Using the QuicktimeSimple ocx lets me play the QT video straight from the application with just a few lines of added code.