Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on May 5th, 2012  |  syntax: None  |  size: 0.34 KB  |  views: 15  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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()
clone this paste RAW Paste Data