Solved

load asf file in form

Posted on 2002-06-23
2
148 Views
Last Modified: 2010-05-02
I have localy an asf file.
Is there a way to put the movie in a form. At this moment I is behind a button that starts Windows Media Player.

Jeffeny
0
Comment
Question by:harryv
2 Comments
 
LVL 18

Accepted Solution

by:
Crash2100 earned 100 total points
ID: 7101891
Go under Project->Components and check the "Windows Media Player" control.  Then create an instance of the control and do something like this (it will play automatically):

Private Sub Command1_Click()
     MediaPlayer1.Open "C:\mymovie.asf"
End Sub
0
 

Author Comment

by:harryv
ID: 7101916
Thankx it worked, I did only put the "Windows Media Player" control in the form but I forgot the command.

Thankx!

Jeffeny
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

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…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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…
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

23 Experts available now in Live!

Get 1:1 Help Now