Saturday, June 2, 2012

Hello Visual Studio Express 2012 RC for Windows 8

As common practice, click New Project... on starting page of Visual Studio Express 2012 RC for Windows 8.


Select template of Visual C++ Windows Metro style, Blank App (XAML), with name of HelloMetroCpp. And click OK.


Double click on MainPage.xaml in Solution Explorer to open it.


- Manual edit XAML to show something. Insert the code in-between <Grid></Grid>

        <TextBlock 
            Text="Hello Visual Studio Express 2012 RC for Windows 8"
            FontFamily="Times New Roman"
            FontSize="30"
            Foreground="White"
            HorizontalAlignment="Center"
            VerticalAlignment="Center"/>




Save, Build and Run it.


To close the test app, you can switch back to Visual Studio Express IDE by Alt-Tab keys, then click the icon to stop debugging.

Or, drag on top of the hello app, move to bottom on screen to close it.

No comments:

Post a Comment