How to convert exe to Source code?

Posted on 2001-06-18
Last Modified: 2012-06-27

I am try to run exe file but its give me the following error.

The application failed to initialze properly(0xc00000ba). Click OK to terminate
the application.

The exe made from VB code. so is there any option to get the source
code from the exe file.

waiting for your reply.
Question by:paku
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Expert Comment

ID: 6205150

you can get a disassembler to read the code but that will only return it back in assem laungauge.

you need the orginal source code which was compiled to EXE

search the internet for VB EXE disassembler.

But you need to know how to read this, I don't think it will help you either, because you still will not be able to debug the error.

I also don't think that the error your quoting is anything to do with the actual code itself.

Ill leave this question open for experts, but you may find they will agree with me.

points for the advice would be appriciated.


Expert Comment

ID: 6205153
Well which version of VB are you using???Actually what you want to do is known as decompiling which was possible with VB versions 4 or below & i don't think its possible for version 5 or 6
LVL 33

Expert Comment

ID: 6205213
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Expert Comment

by:Valliappan AN
ID: 6205282
Do you get this problem, running other EXEs also? May be you could try re-installing Setup Program and try.


Accepted Solution

glass_cookie earned 200 total points
ID: 6206378

Here's just a little history... : )

I used to look around for decompilers for VB 5.  The most advanced that I found was a VB3 compiler (somewhere last year).  On top of that, it was full of errors.  It crashed immediately after installation.  So... the whle thing failed before I could decompile my first VB3 exe.

I tried many other decompilers for VB version 2,3,4 and all of them still crashed the same.

This is what I found out during my hunt for decompilers:

Decompilers are harder to write than an assembler/compiler.  Last yar, there were only about 2-3 active web pages offering decompilers (of which I forgot).

Bottom line: Forget about the decompiler thingy.

That's it!

glass cookie : )
LVL 22

Expert Comment

ID: 6207002
The best you can get when converting an executable into VB is a horribly inefficient set of elementary commands with arbitrary variable names and lots of GOTOs.  It will contain no documentation, and the person trying to interpret it had better know something about how assembler works or you probably couldn't make head or tails of it.

Expert Comment

ID: 6370158
You can try using SmartCheck from, which could be useful in your case. It allows you "almost" decompiling VB EXE.
You must run your exe inside SmartCheck and it will display appropriate VB commands/events as your program executes. This way you could figure out WHY is it crashing (which command he tried to execute).


Expert Comment

ID: 6536263

Please finalise this question, even if nobody gave you a satisfactory answer - in that case just let me know and I will be happy to refund your points to you.

If someone did give you a satisfactory answer, please accept the comment as the answer. If you are having problems doing that let me know.

Please do *not* ignore this request. To the other participants in the thread - if no response is forthcoming alert me and I will take action.


Community Support Admin

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question