Skip Navigation Links



Hello World Program For Windows 8

Author : || ~Ankit ~ ||      Blog :Ankit's inbox      Date: 7/23/2012 5:21:00 PM


This tutorial would help you in creating your  Hello World  metrostyle app using C# .

For this you need to have Windows 8 Release Preview and Visual Studio Express RC 2012 or Visual Studio 11 Ultimate Beta . I would be using the latter.

They are available at :-
http://msdn.microsoft.com/en-us/library/windows/apps/hh974577.aspx

1. After you have installed the required softwares and framework, you may run the Visual Studio 11 Beta or  The 2012 Express Version from your desktop.

2. Select File > New > Project

3. In the left pane expand Installed, then expand Visual C#, select Windows Metro Style and select the Blank App (XAML) template. Change the name of the project to HelloWorld.


4. In the right pane under Solution Explorer , you will find BlankPage.xaml . Double click on that. You may be able to see the designer part and below that the code part.

5. As our motive here is to make a simple Hello World app we would need to drag the TextBlock element from the toolbox. 

6. Click the toolbox on the left , scroll down and double click on TextBlock. The TextBlock element might have come in the top left corner of the designer box, drag it to the middle and expand it a bit both horizontally and vertically.

7. Click on the TextBlock and in the bottom right you could see properties of that element. You can clearly see the type is TextBlock and it is unnamed. So we name it as text1.

8. Click on the pane named Common and replace the text field with Hello World.

9. Your local machine is your emulator here. Press F5 to see your app run. If the build and deployment is successful , you would get a view like this :-


Congrats you have successfully made your Hello World metrostyle app. 


Bloggers

active bloggers in the last 24 hrs. Number shown in the bracket represents number of posts published in past 24 hrs,


other authors(71)

sankarshan(5)

BUTTERFLIES OF TIME(4)

Ramanujam Sridhar(3)

ravi dabas(3)

Anubhav Sharma(2)

bobbysing(2)

Firoze Shakir Photographerno1(2)

Jabberwock(2)

N.GURURAJ.(2)

R.D. Bhalekar(2)

Sakshi Garg(2)

Sanjeev(2)

Vashi Chandiramani(2)

Aarthi(1)

Abhishek Pandey(1)

Abi(1)

Aditi(1)

Anil(1)

anouradha bakshi(1)

Anu Lal(1)

anupriya(1)

AS...(1)

ashok(1)

Bhagyashree(1)

celestialrays(1)

chandrashekhara(1)

chaoticplanner(1)

coevolvewithkiran(1)

dawdayogesh(1)

Deeps(1)

Devi(1)

Dew(1)

Dinakarr(1)

Divenita(1)

Ekta khetan(1)

Fidarose Isha(1)

Govind Kumar(1)

Harimohan(1)

harish p i(1)

Hayaah(1)

Insignia(1)

IS(1)

J.A. Kumar(1)

Joshua S(1)

Kalyan P(1)

Kavi(1)

KK(1)

KParthasarathi(1)

Krishna Rao(1)

Little Fingers(1)

Madhaw Tiwari(1)

Mahima Kohli(1)

Maitreyee Bhattacharjee Chowdhury(1)

Meena Kannan(1)

Meher(1)

monikamanchanda(1)

Mosarrap H Khan(1)

Nanka(1)

Naresh Surampudi(1)

Nayna Kanabar(1)

Newsline Features and Press Agency, Agra - 282005 [U.P.](1)

Nikhil Sheth(1)

Nishant Chaturvedi(1)

Nithya(1)

Nivedita Thadani(1)

Ordinary Gal(1)

parth joshi(1)

Phalgunn Maharishi(1)

pinksocks(1)

pixie(1)

Prabal(1)

Prahallad Panda(1)

Preety(1)

Priya(1)

Raafay Awan(1)

rahul(1)

Rajlakshmi(1)

Ram N(1)

Rama Subramanian(1)

Renu(1)

Reshmi Mahesh(1)

Ritcha(1)

RNA Corp(1)

Rohit Kaveeshwar(1)

RWABhagidari.blogspot.com(1)

Sandhya(1)

Sankara Subramanian(1)

Saravanan Sivaraman(1)

Sayesha(1)

ScottGu(1)

Sharjeel(1)

Sheela(1)

shibu V(1)

Shiju Sugunan(1)

Shobha(1)

Shrikant Lokhande(1)

Shriti(1)

Slogan Murugan(1)

Srinivasan Sampathkumar(1)

Sriram Khé(1)

Subha(1)

Suchismita(1)

sumana Mukhopadhyay(1)

Sushma Harish(1)

tikulicious(1)

Vasudha Rao(1)

Vatsala Dorai Rajan(1)

VJ Sharma(1)

winnie(1)

अफ़लातून अफ़लू(1)


garland of Languages of India
an amalgamation of the diversified traditions
gracefully presented with novelty
http://www.haaram.com