Solved

load asf file in form

Posted on 2002-06-23
2
153 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 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

729 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