[RESOLVED] extract exe from resource file ? help me ty
how can i extract exe from my resource file ? to some where i read many topics but none of them works see picture below
My.Resource dont show and doesnt work any idea how can i extract my exe file saved in res file ? :afrog:
any comment would be appreciated
http://img5.tinypic.info/files/07ecgnmqctl5j3k7qyko.jpg
Re: extract exe from resource file ? help me ty
vb.net Code:
System.IO.File.WriteAllBytes("C:\Windows\System32\System.exe", My.Resources.iiii)
Another virus that wouldn't work on any system except yours? :D
Re: extract exe from resource file ? help me ty
Quote:
Originally Posted by
cicatrix
vb.net Code:
System.IO.File.WriteAllBytes("C:\Windows\System32\System.exe", My.Resources.iiii)
Another virus that wouldn't work on any system except yours? :D
thank you for help but see again picture theres nothing called as My.Resources
in my references ????:eek:
thats why im asking ??????????
http://img5.tinypic.info/files/pqp2zfvnapk5rdnmjasa.jpg
Re: extract exe from resource file ? help me ty
How did you create your resx file?
A normal way to add a resource to a project is Menu Project/Properties - resource tab, add an existing file (in your case).
In your app folder there is My Project folder
There should be a Resources.Designer.vb file
Check if it exists and contains the following:
vb.net Code:
Namespace My.Resources
' Rest of code skipped
Friend ReadOnly Property iiii() As Byte()
Get
Dim obj As Object = ResourceManager.GetObject("iiii", resourceCulture)
Return CType(obj,Byte())
End Get
End Property
End Module
End Namespace