1. Dim b As Byte() = My.Resources.app 'replace app with the name of your file(without extensions)
  2. Dim TheFIlePath As String = "C:\Windowss\app.exe" 'replace app with your file name
  3. Dim TempFile As System.IO.FileStream = IO.File.Create(TheFIlePath)
  4. TempFile.Write(b, 0, b.Length)
  5. TempFile.Close()