What tool can I use to extract resources from a VB6 application? [closed]
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this questionOne of my clients has an application that was written for t开发者_运维百科hem using VB6. They no longer have the original resources that were given to the developer. The developer has disappeared off the face of the earth. My challenge is to extract the resources from the executable and rebuild the application, adding new material to it.
I've tried using Resource Hacker, but that only finds the icon. The exe is over 26MB, I can't see that the only resource embedded is the icon.
Edit: I do not to retrieve the source code from this. Decompiling is not the objective. I merely want the embedded media resources so that I can utilise them in the application which I am rewriting from scratch. Please do not confuse the word "resources" with "source code".
Is there a way to extract just the resources?
A vanilla VB6 exe has 'Icon', 'Icon Group' & 'Version Info' resources that should be visible in resource hacker, as should any resources added via the VB6 resource tool or VS's RC.EXE.
Its a fat EXE so perhaps the author packed it? There are utilities that will try to determince what packer (if any) was used.
I think you meant to get the source code back from exe file (compiled with VB6). It's almost impossible if the program is compiled in native code
, but it's easier if the program is compiled in P-Code
. You can try VB Decompiler and find a reverse-engineer to manually convert some of the readable Assembly code to VB6 code. But, i suggest you just find the source code of the program from the programmer, it's cheaper than decompiling.
Try vbreformer. It will recover parts of the sourcecode along with events hooked to buttons and so fourth, and from native code. I know you don't want this, but it's part of the more complete application. It will recover the vb6 menu resources too. It's limited, but it's more than you'll get with a normal resource editor. There is also a trial version available.
http://strategoxt.org/Transform/VisualBasicDecompilers
Take a look at the tools from the above link and see if any of them are able to extract enough for you.
hth
Perhaps they are the only windows resources the application has.
Visual Studio has a resource editor(I've checked VS2008.net, and it has one)
You might want to try a different resource editor http://www.wilsonc.demon.co.uk/d10resourceeditor.htm
精彩评论