Results 1 to 3 of 3
  1. #1
    blackgaming's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Posts
    72
    Reputation
    10
    Thanks
    6
    My Mood
    Aggressive

    Exclamation how to save dll from resources to temp folder.? [solved]

    Can you Teach me on how to save dll file from resources to temp.

    i tried this code.

    public Sub SaveFromResources(ByVal FilePath As String, ByVal File As Object)
    Dim FByte() As Byte = File
    My.Computer.FileSystem.WriteAllBytes(FilePath, FByte, True)
    End Sub
    then
    You would use it like this: SaveFromResources("C:\Users\MPGH\Desktop\File.exe" , My.Resources.File)
    But only works on .exe resources.

    When i try on dll , the source of the dll is changed and i open the dll the source became:

    System.blablabla Only.


    Please Help

  2. #2
    sythe179's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    The internet
    Posts
    660
    Reputation
    15
    Thanks
    1,458
    My Mood
    Paranoid
    made sure you add it to your project recources?....

  3. #3
    master131's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Melbourne, Australia
    Posts
    8,858
    Reputation
    3438
    Thanks
    101,677
    My Mood
    Breezy
    [highlight=vb.net]Dim sTempPath As String = IO.Path.GetTempFileName
    IO.File.WriteAllBytes(sTempPath, My.Resources.MyDLLFile)
    'Do whatever you want using sTempPath[/highlight]
    Donate:
    BTC: 1GEny3y5tsYfw8E8A45upK6PKVAEcUDNv9


    Handy Tools/Hacks:
    Extreme Injector v3.7.3
    A powerful and advanced injector in a simple GUI.
    Can scramble DLLs on injection making them harder to detect and even make detected hacks work again!

    Minion Since: 13th January 2011
    Moderator Since: 6th May 2011
    Global Moderator Since: 29th April 2012
    Super User/Unknown Since: 23rd July 2013
    'Game Hacking' Team Since: 30th July 2013

    --My Art--
    [Roxas - Pixel Art, WIP]
    [Natsu - Drawn]
    [Natsu - Coloured]


    All drawings are coloured using Photoshop.

    --Gifts--
    [Kyle]

Similar Threads

  1. How To Remove Ads From .dll Hacks
    By Grim in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 91
    Last Post: 08-01-2010, 10:45 PM
  2. how to inject dll from web
    By pr0h4x0r in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 7
    Last Post: 04-14-2010, 09:06 PM
  3. How To Remove Ads From .dll Hacks
    By Grim in forum Programming Tutorials
    Replies: 5
    Last Post: 01-13-2010, 08:11 AM
  4. TUTORIAL - How to prevent Warrock from crashing!
    By Darky in forum WarRock - International Hacks
    Replies: 25
    Last Post: 07-06-2007, 09:31 PM
  5. (Request) A tutorial on how to extract addresses from trainers
    By englishpom in forum WarRock - International Hacks
    Replies: 9
    Last Post: 05-19-2007, 10:14 PM