I build project with video
Imports Microsoft.DirectX.AudioVideoPlayback
when developing I can play video why in the client video cannot played?
I get this error in client:
"Unhandled exception has occurred in your application. If you click Continue. the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately.
Mixed mode assembly is built against version 'v1.1.4332' of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information."
not all client get this error, a few client can play the video a few client cannot play the video
anybody tell me what's wrong?
What I have tried:
Private Sub PlayVideo()
Try
If System.IO.File.Exists(file) = True Then
videoFile = New AudioVideoPlayback.Video(file)
videoFile.Owner = pnlVideo
videoFile.Play()
Else
pnlVideo.Visible = False
End If
Catch ex As Exception
pnlVideo.Visible = False
End Try
End Sub