Advertisement
Guest User

Untitled

a guest
May 5th, 2012
36
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  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()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement