Link to home
Start Free TrialLog in
Avatar of munzi79
munzi79

asked on

Opening an AVI/MPEG file in my application.

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
Avatar of anv
anv

i f u can use the windows media player component in your application ...
that will solve your problem
try it!!!
Avatar of munzi79

ASKER

anv,
How do i use the windows media player in eVB3?

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
ASKER CERTIFIED SOLUTION
Avatar of Computer101
Computer101
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial