German Wear Discount Shop - Click Here Write for Dotnet-friends and earn for your each submission [Dot]Net-Friends
Skip Navigation Links
Home
Latest
Fast Code
Articles
Tutorials
Online Resources
Forums
Login   | Hi, Guest


First step for Programming with Visual C# 2005 Express

by Omer kamal Jun 20, 2006
This Tutorials Introduces Visual C# 2005 Express Environment- Reader level: Biginner.

1.Download the Environment for VC# 2005 Express from Microsoft (It’s free). Follow the link    MS VC# 2005 Express

2.Read the installation help. Install MSDN library also as an option with it. It will be very useful for you after some steps.

3.Open VC# 2005 Express from the start menu.

4.Click File > New Project



5.Select "Windows Application". Name your project "HelloWorld" then Click "Ok" Button.  

6.By default you will see a form "Form1". On both sides you will be able to see some bars. On the right side "Solution Explorer" , "Properties" and  on the left side "Toolbox" bar. If you cant see it the click "View" menue on the Top main bar. Here you can open every type of bars. In this tutorial we will use only above mentioned bars.

7.  Right click on the Form and click "Properties" this is one of the other way you open and doc the property window ( As a short cut First Ctrl+W then P).

8. One way for all type of bars is commen. Move your mouse on the bar and click "Auto Hide" pin.


Properties Bar

9. Scroll down in the property window and click the "Text" Property of the Form. Change "Form1" to "HelloWorld". This will change the title text of the form.

10. Now doc the Toolbox (as mentioned in 8). Scroll down the Tools. Click the "A Label" and then click on the form in the middle. 11. Now click on your "Label1" (which you just added to the form). Change its "Text" Property to "HelloWorld".

12. Now you done with your 1st program. the only thing is left to run it.  Click "F5" on your keyboard or click "Debug" menu and the click “Start debugging". After its done debugging and compiling you will see the following screen.

Did you notice some thing? My text colour is blue but not black. How did I do that? Yeah you are right, through properties. I changed the "Font" and "ForeColor" Properties of the Label.

That’s it. It was your First program. You can play around with the property window by changing the label and Form properties. This way you will explore the magic it contains.

Visitors/Readers Comments
(for questions please use The Forum)



bender
something a 2 year old could figure out!

11/09/2007 01:29:04 UTC

nawaz

dear sir,

as u have given examples with code,which is more than enoug.but if u can provide the tutorilas of complete dynamic website creation in the form  of video.

with regards,

nawaz

04/10/2007 18:00:58 UTC




Add your Comments

Name:  
Message:
Note: For faster response please use Forums >> for your questions instead of the comments area! (Admin)