 |
| Pro VB 6 For advanced Visual Basic coders working in version 6 (not .NET). Beginning-level questions will be redirected to other forums, including Beginning VB 6. |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Pro VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
|
|
|
|

November 7th, 2006, 04:02 PM
|
|
Friend of Wrox
|
|
Join Date: Nov 2004
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts
|
|
How can I de-compile a VB 6 app?
We have a fairly small application, which (due to mismanaging the machine of a transferred worker) we have no source code for anymore.
It is misbehaving, and the management wants that misbehaving behavior to undergo some behavior modification!
If I could get a project I could step through, it wouldn't matter to me if the function and variable names were reproduced as A1, A2, V1, V2, etc.
Is there software that will do processing like this?
|
|

November 7th, 2006, 06:22 PM
|
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 627
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
sorry, this is not possible... the only possible thing is disassembly in machine code, but I doubt that will be any helpful :(
this is way there is software for source code control.
Sorry Brian, that code is lost
|
|

November 7th, 2006, 06:50 PM
|
|
Friend of Wrox
|
|
Join Date: Nov 2004
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts
|
|
Machine code or assembly language?
This wasn't meâI have my source code; I am inheriting this.
|
|

November 7th, 2006, 08:19 PM
|
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 627
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
assembly
yes, I understood that that was not your fault but of a faulty management
|
|

November 8th, 2006, 02:02 PM
|
|
Friend of Wrox
|
|
Join Date: May 2006
Posts: 643
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Be thankful it is a small app! Like marcostraf stated (I think this is what he stated), there are a few tools you can use to dis-assemble the compiled app into assembly. If the app was compiled to P-Code rather than machine code, there is a little more you can do, but as far as I have experienced almost no one compiles to PCode, since it is not the default. And even still, the results you get aren't all that useful.
You most likely will have a rewrite to do.
Woody Z http://www.learntoprogramnow.com
|
|

November 8th, 2006, 05:58 PM
|
|
Friend of Wrox
|
|
Join Date: Nov 2004
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts
|
|
I [u]am</u> glad it's small, but it is unlikely to be helpful. We are being subjected to brutal and rigid policies of reducing the number of apps, corporate wide (a form of standardization). Nothing new can be released without approval and testing, and that usually takes 6 months! If I recreate this functionality that I have inheritted, it will be "new," and so will almost certainly be denied, and will be forever even if not denied.
I was hoping to get a functional project I could step through, so as to find where the error is taking place, to see if some configuration issue would solve the problem, allowing this previously-tested-and-approved app to operate.
|
|

November 22nd, 2006, 06:18 PM
|
|
Friend of Wrox
|
|
Join Date: May 2006
Posts: 643
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
quote:Originally posted by ef1196
I found this link. I know nothing of its capabilities or reliability...
|
There is a lot of good info there, and good links to the various sites about decompiling, but the situation remains that there is very little that is actually useful to help you reconstruct the logic from a compiled dll or exe. On the other hand, it is a lot of fun exploring this stuff.
Woody Z http://www.learntoprogramnow.com
|
|
 |