Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Visual Basic Decompiler

Visual Basic Decompiler

Scheduled Pinned Locked Moved Visual Basic
c++questionannouncement
10 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    hande54
    wrote on last edited by
    #1

    Hi! I need to make reverse engineering on an exe file which is written in VB. I tried VB Decompiler Lite V7.7, vbReFormer(free version) and VbRezQ however they just decompiled the code into native code. what I need to the is get the code in VB is it possible? do you any recommendation about a new tool ? Thanks!!!

    S 1 Reply Last reply
    0
    • H hande54

      Hi! I need to make reverse engineering on an exe file which is written in VB. I tried VB Decompiler Lite V7.7, vbReFormer(free version) and VbRezQ however they just decompiled the code into native code. what I need to the is get the code in VB is it possible? do you any recommendation about a new tool ? Thanks!!!

      S Offline
      S Offline
      Steven J Jowett
      wrote on last edited by
      #2

      If you are after a VB.NET decompiler I would suggest Lutz Roder's .NET Reflector. I believe it is available via the Red Hat website.

      Steve Jowett ------------------------- Real programmers don't comment their code. If it was hard to write, it should be hard to read.

      H 1 Reply Last reply
      0
      • S Steven J Jowett

        If you are after a VB.NET decompiler I would suggest Lutz Roder's .NET Reflector. I believe it is available via the Red Hat website.

        Steve Jowett ------------------------- Real programmers don't comment their code. If it was hard to write, it should be hard to read.

        H Offline
        H Offline
        hande54
        wrote on last edited by
        #3

        Yes. I also tried it but it doesn't decompile because it complains that CLI header does not exist in the file. Because native applications does not have CLI header.

        L 1 Reply Last reply
        0
        • H hande54

          Yes. I also tried it but it doesn't decompile because it complains that CLI header does not exist in the file. Because native applications does not have CLI header.

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          The program was written in vb.net or vb6?

          Check out the CodeProject forum Guidelines[^] The original soapbox 1.0 is back![^]

          H 1 Reply Last reply
          0
          • L Lost User

            The program was written in vb.net or vb6?

            Check out the CodeProject forum Guidelines[^] The original soapbox 1.0 is back![^]

            H Offline
            H Offline
            hande54
            wrote on last edited by
            #5

            I am not sure but when I decompiled with VB Decompiler Lite V7.7 version is stated as 5. as I pasted to below. VERSION 5.00 Begin VB.Form Form8 Caption = "HLBP" ScaleMode = 1 AutoRedraw = False FontTransparent = True BorderStyle = 1 'Fixed Single 'Icon = n/a LinkTopic = "Form8" MaxButton = 0 'False MinButton = 0 'False Visible = 0 'False ClientLeft = 3585 ClientTop = 2385 ClientWidth = 7875 ClientHeight = 5295

            L 1 Reply Last reply
            0
            • H hande54

              I am not sure but when I decompiled with VB Decompiler Lite V7.7 version is stated as 5. as I pasted to below. VERSION 5.00 Begin VB.Form Form8 Caption = "HLBP" ScaleMode = 1 AutoRedraw = False FontTransparent = True BorderStyle = 1 'Fixed Single 'Icon = n/a LinkTopic = "Form8" MaxButton = 0 'False MinButton = 0 'False Visible = 0 'False ClientLeft = 3585 ClientTop = 2385 ClientWidth = 7875 ClientHeight = 5295

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #6

              You can't use the .NET tools to decompile this application. If it was compiled as P-code, then you might have success with this[^] decompiler. If it's compiled to native format, then you're out on your own - you cannot decompile a native executable. You could disassemble it, but that would probably cost ten times as much as a complete rewrite from scratch. As a sidenote; people don't like the idea of other people looking at and using their source-code. They usually put a lot of effort into writing it, and some may choose to use extra safety-precautions like obfuscation. There's a lot of money in protecting executables from what you're trying to do :)

              I are Troll :)

              H 1 Reply Last reply
              0
              • L Lost User

                You can't use the .NET tools to decompile this application. If it was compiled as P-code, then you might have success with this[^] decompiler. If it's compiled to native format, then you're out on your own - you cannot decompile a native executable. You could disassemble it, but that would probably cost ten times as much as a complete rewrite from scratch. As a sidenote; people don't like the idea of other people looking at and using their source-code. They usually put a lot of effort into writing it, and some may choose to use extra safety-precautions like obfuscation. There's a lot of money in protecting executables from what you're trying to do :)

                I are Troll :)

                H Offline
                H Offline
                hande54
                wrote on last edited by
                #7

                How can I decide whether code is compiled as P-code or native code? I could only get the native code of the exe file like Private Sub Txtsex_Change() '46B130 0046B130: push ebp 0046B131: mov ebp, esp 0046B133: sub esp, 0000000Ch 0046B136: push 00402746h ; MSVBVM60.DLL.__vbaExceptHandler 0046B13B: mov eax, fs:[00h] 0046B141: push eax.... moreover I could not open your link. Is it broken?

                H L 2 Replies Last reply
                0
                • H hande54

                  How can I decide whether code is compiled as P-code or native code? I could only get the native code of the exe file like Private Sub Txtsex_Change() '46B130 0046B130: push ebp 0046B131: mov ebp, esp 0046B133: sub esp, 0000000Ch 0046B136: push 00402746h ; MSVBVM60.DLL.__vbaExceptHandler 0046B13B: mov eax, fs:[00h] 0046B141: push eax.... moreover I could not open your link. Is it broken?

                  H Offline
                  H Offline
                  hande54
                  wrote on last edited by
                  #8

                  I have missed to say that I am completely same side nobody wants to decompilation of their code but I have to do this for my graduation project :)

                  L 1 Reply Last reply
                  0
                  • H hande54

                    How can I decide whether code is compiled as P-code or native code? I could only get the native code of the exe file like Private Sub Txtsex_Change() '46B130 0046B130: push ebp 0046B131: mov ebp, esp 0046B133: sub esp, 0000000Ch 0046B136: push 00402746h ; MSVBVM60.DLL.__vbaExceptHandler 0046B13B: mov eax, fs:[00h] 0046B141: push eax.... moreover I could not open your link. Is it broken?

                    L Offline
                    L Offline
                    Lost User
                    wrote on last edited by
                    #9

                    That looks like native Intel (x86) machine code to me. I don't think it will be an easy task to convert it to any form of Visual Basic unless you are a compiler writer.

                    1 Reply Last reply
                    0
                    • H hande54

                      I have missed to say that I am completely same side nobody wants to decompilation of their code but I have to do this for my graduation project :)

                      L Offline
                      L Offline
                      Lost User
                      wrote on last edited by
                      #10

                      hande54 wrote:

                      but I have to do this for my graduation project

                      In that case, do you want a compiled executable (in VB) with it's source? You'd still have to decompile it to graduate, but at least you'd have the original source to verify your results against :) You also wouldn't need the link to the decompiler, since that would be cheating. In case you still want it, it's not broken[^].

                      I are Troll :)

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups