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
munzi79Asked:
Who is Participating?
 
Computer101Connect With a Mentor Commented:
PAQed with no points refunded (of 500) %%STAMP%%

Computer101
EE Admin
0
 
anvCommented:
i f u can use the windows media player component in your application ...
that will solve your problem
try it!!!
0
 
munzi79Author Commented:
anv,
How do i use the windows media player in eVB3?

0
 
vinnyd79Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.