Ask the Expert

Converting EXE-files to VB components

Is there a way to convert an EXE-file back to the different VB components that end in .BAS?
No. If you are asking about .BAS files, you are probably referring to VB 6 and earlier, in which case in VB 5 and VB 6 the .BAS files were compiled to machine code. In VB 1 through VB 4 the files were compiled to what some would call pCode. If you are referring to VB.NET, the source is compiled to Intermediate Language (IL) which is then processed by the Common Language Runtime (CLR) where the IL is Just In Time compiled and executed on the platform on which the CLR is installed.

In all cases, an EXE-file can not be reverse-compiled back into a .BAS file. With VB.NET you can use the tools to display the IL and view the content (if it hasn't been obfuscated), but the original language code is gone.

This was first published in January 2005

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: