Results 1 to 7 of 7
  1. #1
    Nexero's Avatar
    Join Date
    May 2013
    Gender
    male
    Location
    My VB Project
    Posts
    2,530
    Reputation
    90
    Thanks
    4,801
    My Mood
    Bored

    Move/Save from resources


    I have an issue using the SaveFromResources method.
    When Saving :

    Can you help me with this or give me a new way or new method to save the file from the resources to the user PC?

  2. #2
    Drokechas's Avatar
    Join Date
    May 2014
    Gender
    male
    Location
    In The Shade † ☯ 不可視
    Posts
    407
    Reputation
    23
    Thanks
    2,706
    My Mood
    Drunk
    And problem is with Build?


    Quote Originally Posted by -[Exorcist]- View Post

    I have an issue using the SaveFromResources method.
    When Saving :

    Can you help me with this or give me a new way or new method to save the file from the resources to the user PC?
    Donations like thanks .)
    ...





  3. #3
    Biesi's Avatar
    Join Date
    Dec 2011
    Gender
    male
    Posts
    4,993
    Reputation
    374
    Thanks
    8,808
    My Mood
    Twisted
    Code:
    System****.File.WriteAllBytes(Path, My.Resources.File)

  4. #4
    MasterBS's Avatar
    Join Date
    Nov 2013
    Gender
    male
    Location
    BlackShot.exe
    Posts
    78
    Reputation
    30
    Thanks
    3,368
    My Mood
    Pensive
    what happens man?
    build this and execute manually in folder. Not start debbuging it from vs ... no errors
    Stop beg for all and start doing something yourself ..


  5. #5
    MetrikForce's Avatar
    Join Date
    Dec 2013
    Gender
    male
    Posts
    49
    Reputation
    10
    Thanks
    46
    My Mood
    Grumpy
    Have you tried making a new Byte array then giving it data, THEN using it? It looks like it's beeing pissy with your FByte variable.

    Quote Originally Posted by Grizzly View Post
    Anything is allowed if you're brave enough.

  6. #6
    Nexero's Avatar
    Join Date
    May 2013
    Gender
    male
    Location
    My VB Project
    Posts
    2,530
    Reputation
    90
    Thanks
    4,801
    My Mood
    Bored
    Biesi already answered me >.>

  7. #7
    abuckau907's Avatar
    Join Date
    Dec 2012
    Gender
    male
    Location
    other side of the wire
    Posts
    1,342
    Reputation
    162
    Thanks
    239
    My Mood
    Cold
    Quote Originally Posted by MetrikForce View Post
    Have you tried making a new Byte array then giving it data, THEN using it? It looks like it's beeing pissy with your FByte variable.
    In the bottom of the image you can see "File == Nothing"

    File was the parameter passed into the function, then FByte = File; so, FByte = nothing


    OP would have to show us the CALLING code...apparently he passed in an unassigned object for 'File.'
    'Some things that can be counted, don't matter. And some things that matter, can't be counted' - A.E.
    --
     

    My posts have some inaccuracies/are wrong/wrong keyword(s) used.
    They're (maybe) pretty close, and I hope they helped you, not created confusion. Take with grain of salt.

    -if you give rep, please leave a comment, else it means less.

Similar Threads

  1. [Help] how to save dll from resources to temp folder.? [solved]
    By blackgaming in forum Visual Basic Programming
    Replies: 2
    Last Post: 08-14-2011, 12:27 AM
  2. [Help]Run Application from resources
    By ppl2pass in forum Visual Basic Programming
    Replies: 5
    Last Post: 04-15-2010, 08:35 PM
  3. New Pub just saved from beind patched!!
    By Lakshay in forum CrossFire Discussions
    Replies: 12
    Last Post: 04-07-2010, 12:36 PM
  4. [SOURCE CODE]Write File To Disk From Resources[VB.NET]
    By ajvpot in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 2
    Last Post: 03-30-2010, 08:54 PM
  5. [Help]View Pictures from resources
    By ppl2pass in forum Visual Basic Programming
    Replies: 7
    Last Post: 03-17-2010, 02:40 PM