Видео не воспроизводится после компиляции приложения с помощью installshield но оно воспроизводится во время отладки
Imports System.IO Public Class Csv Dim ResourceFilePath As String Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click SelectPageList.Show() Me.Close() End Sub Private Sub AxWindowsMediaPlayer1_Enter(sender As Object, e As EventArgs) Handles AxWindowsMediaPlayer1.Enter ' Determine the Resource File Path If System.Diagnostics.Debugger.IsAttached() Then 'Debugging mode ResourceFilePath = System.IO.Path.GetFullPath(Application.StartupPath & "\..\..\resources\") Else 'Published mode ResourceFilePath = Application.StartupPath & "\resources\" End If ' Specify the mp3 file AxWindowsMediaPlayer1.URL = ResourceFilePath & "\C:\Users\teejayfpi\Documents\Visual Studio 2013\Dr ajii\WindowsApplication2\csv.avi" ' Media Player automatically plays file by default End Sub Private Sub Csv_Load(sender As Object, e As EventArgs) Handles MyBase.Load End Sub End Class
Что я уже пробовал:
просьба помочь мне с этим