ertan2002 adlı üyeden alıntı: mesajı görüntüle
projendeki resourses klasörüne exe ni sürükleyip bırak ve bu kodu kullan çalıştırmak için


Imports System.IO
Public Class Form1
    ' I am using a Button to call the Resources.Test file. You can edit it to fit your need.
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        ' Draq you EXE file to your Project > Resources and it will be saved as a RAW file.
        Dim SetupPath As String = Application.StartupPath & "\Test.exe"
        Using sCreateMSIFile As New FileStream(SetupPath, FileMode.Create)
            sCreateMSIFile.Write(My.Resources.Test, 0, My.Resources.Test.Length)
        End Using
        Process.Start(SetupPath)
    End Sub
End Class

https://social.msdn.microsoft.com/Fo...orum=vbgeneral
hocam kod işimi gördü teşekür ederim ama exeyi kaydedirken şöle bir hata veriyor "Verilen yolun biçimi desteklenmiyor." hata neden kaynaklanıyor ola bilir