Posts

How to Run your C# Programmes

Image
You can test your programme a number of ways. First, though, it has to be built. This is when everything is checked to see if there are any errors. Try this: From the View menu at the top of Visual C# Express, click Output . You’ll see a window appear at the bottom. (In C# 2010, if you can't see an Output entry, click the Tools menu. From the Tools menu, select Settings > Expert Settings . The Output menu item should then appear on the View menu.) From the Build menu at the top of Visual C# Express, click Build Solution You should see the following report: The final line is this: Build: 1 succeeded or up-to-date, 0 failed, 0 skipped That's telling you that everything is OK. Now try this: Delete the semicolon from the end of your line of code Click Build > Build Solution again Examine the outpu...

Your first line of C# code

Image
The only thing we'll do with the code is to write some text to the screen. But here's the code that Visual C# prepares for you when you first create a Console Application: For now, ignore the 3 lines that start with using (we'll get to them later in the book). But they add references to in-built code. The namespace line includes the name of your application. A namespace is a way to group related code together. Again, don't worry about the term namespace, as you'll learn about these later. The thing that's important above is the word class . All your code will be written in classes. This one is called Program (you can call them anything you like, as long as C# hasn't taken the word for itself). But think of a class as a segment of code that you give a name to. Inside of the class called Program ...

Saving your work in C# .NET

Image
When you save your work, C# will create quite a few folders and files for you. Click File from the menu bar at the top of the Visual C# Express software, then Save All : When you click Save All, you'll see the following dialogue box appear: You can type any name you like for your project. The default Name is ConsoleApplication1 . Have a look at the location of the project, though: C:\Users\Owner\documents\visual studio 2010\Projects In XP, however, you'll see something like this: C:\Documents and Settings\kayspc\My Documents\Visual Studio 2008\Projects So it's going to be saved to the "documents" folder of this computer. In the "documents" folder you'll find another one called Visual Studio 2010 . In this folder there will be one called Projects . Before clicking the S...

How To Find Out If You Can Run That Game On Your PC

Image
Can You Run it ?       This site provides a One-Click solution that looks at your computer's hardware and system software to determine whether or not your current system can run a product. Each of your computer's components is evaluated to see how well it meets the minimum and recommended requirements for specific products. Recommendations are made on how to update or upgrade each component which does not meet the listed requirements. Sometimes, a simple, free software download is all that is needed. Sometimes you'll find that you need a different video card to fully experience what the game has to offer. -->>> Click Here to Check your PC

Creating your first C# Application

Image
What we're going to do first is to create a very simple programme, so that you can see what makes up a C# .NET project. By the end of this chapter, you'll have learnt the following: How to create new projects What the Solution Explorer is The various files that make up of a C# .NET project How to save your work How to run programmes The importance of the Main statement The simple programme we'll create is called a Console Application. We won't be doing much else with this type of application, as this is a book about Windows Applications. Off we go then! Open the Visual C# Express software from your programs menu. When you first open C# (pronounced C Sharp) When you're looking at this piece of software for the first time, it can seem hugely complex and daunting. The temptation is to think you're never going to get to grips with somethin...

My Alarm with Auto Shutdown

Image
My Alarm Application is an useful application that will alert you for important events . This application will alert you by playing a sound and it will continue play that sound until you want . another great feature of this application is it contain Auto shutdown application .it allow you to shut down your pc by given time . Developer :           Adam Rifau License / Price:    Free   Size / OS:            3.51 MB/Windows XP/Vista/Windows 7 Requirements: · 90 MHz Pentium or equivalent · 16 MB application RAM · 4 MB free hard disk space features :- Display Your Text on Windows Notify Icon Auto Shutdown your PC You Can Stop the Process  if it's not Necessary Simple and Easy to use Compatible with Windows 7  * Download Link  Click to Download   . *How To Download : wait for 25 second (if your Free User) When time's up C...

Internet speed really slow!!!

What should i do if my windows 7 internet speed is way too Slow ? ANSWERS : if your using wireless connection 1. Go to Control Panel > Power Options . 2. Click Change plan settings next to your current power plan. 3. Click Change advanced power settings . 4. Double-click Wireless Adapter Settings . 5. Double-click Power Saving Mode . 6. Change the setting to Maximum Performance . for others :- 1. Click Start > All Programs > Accessories . 2. Click Command Prompt with the right mouse button. 3. Click Run as Administrator . 4. If there's a User Account Control prompt, click Yes . 5. Type netsh interface tcp set global autotuning=disabled in the Administrator Command Prompt window, then press Enter . 6. Go to control Penal > Network Sharing Center> Change Adapter Setting Disable all wireless Connection.  7. while your there .. Right Click on Local area connection > Properties >uncheck IP v 6 .> Restart your PC even you ca...