?
Solved

load asf file in form

Posted on 2002-06-23
2
Medium Priority
?
154 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 18

Accepted Solution

by:
Crash2100 earned 300 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
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…
Suggested Courses

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