Saturday, September 18, 2010

Creating EXE files, Applications, Programs and more.

WARNING: I do not take any responsibility about anything.


Tested on WindowsXP, Vista, Windows7.

Well, it has many different ways to reach the solution. EXE files include large size of binary codes. But that does not concern us. We are looking for how to create them. The legal solutions are:

-Grand programming languages.
-Not very grand programming languages.

The grands are usually known C,C++,C#,VB.NET .

-Dude, i dont understand this crap. Just show me how can i create it?

Well, then Start > Run > Notepad.exe . Hold (CTRL) press S and change file extension to All files and save as Test.EXE . As you will see, when you run it, does nothing. I wanted to show you it is not simple as it seems.

-So, What should i do?

Start programming with VB.NET (Visual Basic NET) . I prefer using Visual studio express edition 2010 for VB.NET . It was free as i knew. I will publish more info about VB.NET usage.


When you got your express edition, open express edition and File > Create new Project > Windows Form Application . Rename it to "Test". Click OK. Then an empty windows form appears. Double-Click it and a code text appears.

Private sub Form1_ ....

Type MsgBox("Hello World") under this line and press F5 key. You create your first application.

-Then, How can i get EXE file?

It is located in your Documents > Visual Studio 2010 > Projects > Test > Debug > bin.


More lessons will come soon.

No comments:

Post a Comment