Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Pro VB 6
|
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
 
Old November 7th, 2006, 04:02 PM
Friend of Wrox
 
Join Date: Nov 2004
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts
Default 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?
 
Old November 7th, 2006, 06:22 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 627
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
 
Old November 7th, 2006, 06:50 PM
Friend of Wrox
 
Join Date: Nov 2004
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts
Default

Machine code or assembly language?

This wasn't me—I have my source code; I am inheriting this.
 
Old November 7th, 2006, 08:19 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 627
Thanks: 0
Thanked 0 Times in 0 Posts
Default

assembly
yes, I understood that that was not your fault but of a faulty management
 
Old November 8th, 2006, 02:02 PM
Friend of Wrox
 
Join Date: May 2006
Posts: 643
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
 
Old November 8th, 2006, 05:58 PM
Friend of Wrox
 
Join Date: Nov 2004
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts
Default

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.
 
Old November 22nd, 2006, 03:22 PM
Authorized User
 
Join Date: Nov 2006
Posts: 87
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to ef1196
Default

I found this link. I know nothing of its capabilities or reliability.

http://hongshuoli.gotdns.com/VBDecom...decompiler.htm





Best Regards,
Earl Francis
 
Old November 22nd, 2006, 06:18 PM
Friend of Wrox
 
Join Date: May 2006
Posts: 643
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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





Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert a VB.Net app to a web app? furjaw VB.NET 3 September 24th, 2007 12:27 PM
How can I de-compile a VB 6 app? BrianWren VB How-To 0 November 7th, 2006 04:07 PM
Conectar textbox a campo de base de datos Access aya_hbkenshin04 ASP.NET Espanol 0 May 4th, 2006 01:26 PM
System stop responding when I compile web app aremskar VB.NET 2002/2003 Basics 0 February 15th, 2005 09:39 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.