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

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

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
Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.


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 www.numega.com, 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VBA filters 2 65
vb6 - Transfer from MSHFlexgrid1 to xls issue 8 55
Help with retrieving partial value from a column using VB.NET 4 51
Help me. 3 60
Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

829 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