Visit the Ironworks Gaming Website Email the Webmaster Graphics Library Rules and Regulations Help Support Ironworks Forum with a Donation to Keep us Online - We rely totally on Donations from members Donation goal Meter

Ironworks Gaming Radio

Ironworks Gaming Forum

Go Back   Ironworks Gaming Forum > Ironworks Gaming Forums > General Discussion > General Conversation Archives (11/2000 - 01/2005)
FAQ Calendar Arcade Today's Posts Search

 
 
Thread Tools Search this Thread
Old 09-02-2003, 03:00 PM   #1
Intrepid
Symbol of Cyric
 

Join Date: March 28, 2003
Location: Australia
Age: 37
Posts: 1,124
Does anyoune know where I can get a decompiler for
visual basic 6, I know there are decompilers for vb 3
but I haven't seen anything for 6.
I rember a while back a company called AshSoft released
one but they went bankrupt or something and there hasn't
been anything since.
I would like something that decomplies directly back to
the source, although this was often claimed impossible it
was once in existance, so if anyone knows the location
of such a program it would be great.
Thankyou.
Intrepid is offline  
Old 09-02-2003, 03:19 PM   #2
andrewas
Harper
 

Join Date: October 2, 2001
Location: Aberdeen, Scotland
Age: 42
Posts: 4,774
Unfotunately, VB programs are not compiled to machine code, they are compiled to a byte code which is run by an interpreter. And the byte code is unpublished. I have seen efforts to make a VB5 compiler, but the only successful one isnt available any more. I wouldn't expect to see a VB6 one in the near future if at all.

Even if there was one, it wouldn't compile back to very pleasant source. All comments, variable and function names, informative formatting and everything that makes the code human readable would be gone. It could be disentangled, but unless its your own code it would be difficult.
__________________
[img]\"http://www.sighost.us/members/Zvijer/andrewas.gif\" alt=\" - \" />
andrewas is offline  
Old 09-03-2003, 02:07 AM   #3
Intrepid
Symbol of Cyric
 

Join Date: March 28, 2003
Location: Australia
Age: 37
Posts: 1,124
Quote:
Originally posted by andrewas:
Unfotunately, VB programs are not compiled to machine code, they are compiled to a byte code which is run by an interpreter. And the byte code is unpublished. I have seen efforts to make a VB5 compiler, but the only successful one isnt available any more. I wouldn't expect to see a VB6 one in the near future if at all.

Even if there was one, it wouldn't compile back to very pleasant source. All comments, variable and function names, informative formatting and everything that makes the code human readable would be gone. It could be disentangled, but unless its your own code it would be difficult.
Do you remember the name of or the company who made the VB5 decompiler?
Yeah I agree, the decompiled source would be extremly messy, but I do remember AshSoft's program, of course as you say the comments are gone etc. But still it actually did work (to the extent of almost being legible).
Intrepid is offline  
Old 09-03-2003, 04:12 AM   #4
LennonCook
Jack Burton
 

Join Date: November 10, 2001
Location: Bathurst & Orange, in constant flux
Age: 37
Posts: 5,452
Since VB is semi-structured (ie, whitespace matters to a certain extent), the broken formatting wouldn't actually be *that* bad... except that non-tabbed code is extremely annoying to read. But it would be nothing compared to, say, non-formatted C++...
Lack of comments could still be annoying... the last thing you want is to look at a large block of code and ask "well, why's that there?"... especially if they have something like Sub none()...
LennonCook is offline  
Old 09-03-2003, 07:13 AM   #5
andrewas
Harper
 

Join Date: October 2, 2001
Location: Aberdeen, Scotland
Age: 42
Posts: 4,774
Damnit. All that work on the post, and then the server eats it.

Anyway, I found some *partial* decompilers. I dont have a copy of VB to test with, but you might be able to get some working code out of them if you work at it.

http://decompiler.theautomaters.com seems to be about the best place on the net for this kind of thing.
__________________
[img]\"http://www.sighost.us/members/Zvijer/andrewas.gif\" alt=\" - \" />
andrewas is offline  
Old 09-03-2003, 11:12 AM   #6
Intrepid
Symbol of Cyric
 

Join Date: March 28, 2003
Location: Australia
Age: 37
Posts: 1,124
Through that link you gave me (and lots of navigation through paged in many and varying languages) I finally foung two programs.
Exdec.exe
VBReformer.exe
the latter seems to work to an "extent" (althought this took many different downloads as it was suited to different versions of visual basic), but this "extent" was not much, only a few variables etc.
Everything else is utterly scrambled and un-readable, it also doesn't help that the decompiler is German itself so therefore even harder to use.
Thanks anyway for your help.
Intrepid is offline  
Old 09-04-2003, 03:02 AM   #7
Tobbin
Red Dragon
 

Join Date: March 1, 2001
Location: Holiday, FL
Age: 56
Posts: 1,507
The only decompiler that I know of is VB Studio. You can disassemble a program and edit it. Then you can recompile it when you are done. The disassembled program will be somewhat different than the original, because it is "compressed" and some of the sloppy code is tightened. There are no comments and randomized variables are created. Still, it can make code easier to work with if you don't have the source file anymore. The other benefit to VB Studio is that it can cross port the software into other type of code too (Visual C, Visual Java, etc.) It's a bit costly if you don't already have it though. Microsoft states the retail around 1200 or so.
__________________
<br /><br /><b>Protectorate of the OHF<br />Death Waits 4 U ALL</b>
Tobbin is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Visual Express Edition and DataReader ZFR General Discussion 3 11-21-2006 02:45 PM
Visual BASIC Questions LennonCook General Conversation Archives (11/2000 - 01/2005) 7 10-21-2003 10:31 AM
(Yet Another) Visual BASIC Question LennonCook General Conversation Archives (11/2000 - 01/2005) 1 05-07-2003 07:59 AM
Visual Basic Question LennonCook General Conversation Archives (11/2000 - 01/2005) 5 02-23-2003 01:58 PM
Anyone know Visual Basic 6 here? Jorath Calar General Conversation Archives (11/2000 - 01/2005) 1 11-24-2001 12:57 PM


All times are GMT -4. The time now is 01:26 PM.


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
©2024 Ironworks Gaming & ©2024 The Great Escape Studios TM - All Rights Reserved