Solved

Opening an AVI/MPEG file in my application.

Posted on 2004-08-26
6
134 Views
Last Modified: 2010-05-02
Dear Experts,

I am programming in eVB3 and would like my application to open an avi or mpeg file, anuyone have any ideas on how to do this in eVB3 or will i have to use another programming language.  My application is on a PDA.

Regards,

Munzi
0
Comment
Question by:munzi79
6 Comments
 
LVL 10

Expert Comment

by:anv
ID: 11901298
i f u can use the windows media player component in your application ...
that will solve your problem
try it!!!
0
 

Author Comment

by:munzi79
ID: 11901428
anv,
How do i use the windows media player in eVB3?

0
 
LVL 28

Expert Comment

by:vinnyd79
ID: 12469246
Munzi,
Have you tried ShellExecute API?

Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long

Private Sub Command1_Click()
Call ShellExecute(hwnd, "Open", ("C:\Myfile.mpg"), "", "", 1)
End Sub
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
ID: 12561012
PAQed with no points refunded (of 500) %%STAMP%%

Computer101
EE Admin
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

Suggested Solutions

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…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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…
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…

948 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

20 Experts available now in Live!

Get 1:1 Help Now