Results 1 to 2 of 2
  1. #1
    steven1578's Avatar
    Join Date
    Aug 2008
    Gender
    male
    Location
    CShell.dll
    Posts
    699
    Reputation
    1
    Thanks
    944
    My Mood
    Busy

    Question Extracting .EXE Resources In WoW Launcher [Solved]

    Hey guys, i need to Extract and Resource file in the namespace.
    My.Resources.TriplexWOW420
    i allready tried to do this:
    System****.File.Write("/", My.Resources.TriplexWOW420) but that gave me an error which is:
    Error : This type cannot be used as an expression.
    Any1 have fix or another code Tyvm.
    Bye
    R.I.P Grandma! 3-17-2012

  2. #2
    Hassan's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    System.Threading.Tasks
    Posts
    4,764
    Reputation
    495
    Thanks
    2,133
    My Mood
    Dead
    Quote Originally Posted by steven1578 View Post
    Hey guys, i need to Extract and Resource file in the namespace.
    My.Resources.TriplexWOW420
    i allready tried to do this:
    System****.File.Write("/", My.Resources.TriplexWOW420) but that gave me an error which is:
    Error : This type cannot be used as an expression.
    Any1 have fix or another code Tyvm.
    Bye
    Code:
    My.Computer.FileSystem.WriteAllBytes("D:\newfilenamehere.extension", My.Resources.TriplexWOW420, False)
    Where 'D:\newfilenamehere.extension' is the path and filename where I want to save my resource. My.Resources.TriplexWOW420 is the file stored in my resources that would be written in binary format. And False specifies that the file should not be appended with new content if it already exists.

  3. The Following User Says Thank You to Hassan For This Useful Post:

    steven1578 (01-27-2012)

Similar Threads

  1. [Help]operation7 launcher[Solved]
    By tremaster in forum Visual Basic Programming
    Replies: 7
    Last Post: 04-26-2010, 06:16 PM
  2. Replies: 3
    Last Post: 02-07-2010, 01:04 AM
  3. My computer dose not extract .exe's
    By asdf12345678 in forum Call of Duty Modern Warfare Help
    Replies: 2
    Last Post: 01-30-2010, 10:33 PM
  4. My computer dose not extract .exe's
    By asdf12345678 in forum Call of Duty Modern Warfare Help
    Replies: 0
    Last Post: 01-29-2010, 06:49 PM
  5. How to turn ISO into self extracting EXE?
    By Th3KaNgSt3R in forum Hardware & Software Support
    Replies: 1
    Last Post: 10-25-2009, 06:32 PM