Microsoft Visual c# 2010 Express

I can't get the following program to work in Microsoft Visual c# 2010 Express.  I have tworks in Microsoft Visual c# 2008 Express.

using System;

using System.IO;

using System.Collections.Generic;

using System.Linq;

using System.Text;

namespace GeorgetownCleaningServices4

{

Class Program

{

[STAThread]

public static void Main (string [] args)

{

String CustomerName, address, CityStateZip, HomePhone, Emailaddress, Agent, advertising;

Int64 i;

StreamWriter sw = new StreamWriter ("C:\\Carr1.txt", true, Encoding.ASCII);

SW. WriteLine ("Century 21 OPEN HOUSE");

SW. WriteLine ("OPEN HOUSE GUEST REGISTRY");

SW. WriteLine ("address: 7912 Westbrook Road");

SW. WriteLine ("Date: 28/02/2012");

SW. WriteLine ("Agent: Cedric Trigg");

Console.WriteLine("");

SW. WriteLine("                                                           ");

SW. WriteLine("                                                           ");

SW. WriteLine ("" by signing the register and do not call waiver, I/we grant Century 21 Joe Guy Hagan, its affiliated offices ' ");

SW. WriteLine ("and Cedric Trigg, he leave agent to contact me/us on the phone numbers below until or unless I/we" "");

SW. WriteLine ("give Century 21 Joe Guy Hagan and its affiliates and Agent offices written notice to me/us calling to this");

SW. WriteLine ("number (s).");

Ask for information about subscribers to the user

read and process the names of three

Try

{

for (i = 0; i< 2;="">

{

Console.Write ("enter the name of the customer :");

CustomerName = console. ReadLine ();

Console.Write ("enter the address :");

Address = console. ReadLine ();

Console.Write ("enter the city, State and zip code :");

= CityStateZip console. ReadLine ();

Console.Write ("enter customer Telephone :");

HomePhone = console. ReadLine ();

Console.Write ("enter the Email address :");

EmailAddress = console. ReadLine ();

Console.Write ("enter the real estate Agent representing you :");

Agent = console. ReadLine ();

Console.Write ("How did you hear about us - Internet, newspaper, YardSigns or Office :");

Advertising = console. ReadLine ();

SW. WriteLine("");

SW. WriteLine("");

SW. Write ("CustomerName");

SW. WriteLine("");

SW. Write (Address);

SW. WriteLine("");

SW. Write (CityStateZip);

SW. WriteLine("");

SW. Write (HomePhone);

SW. WriteLine("");

SW. Write (EmailAddress);

SW. WriteLine("");

SW. Write (agent);

SW. WriteLine("");

SW. Write (Advertisement);

SW. WriteLine("");

SW. WriteLine("==========================================================================\n");

Console.Write("==========================================================================\n");

}

SW. Close();

}

catch (System.Exception e)

{

Console.WriteLine ("Exception:" + e.Message);

}

Finally

{

Console.WriteLine ("Executing finally block.");

}

}

}

}

Hello Cedric,

Welcome to the Microsoft Community Forum.

The question you posted would be better suited to support from MSDN.

Please visit the link below to find a community that will support what ask you:

Visual C++ Express Edition
http://social.msdn.Microsoft.com/forums/en-us/Vsexpressvc/threads

Hope the helps of information. Let us know if you need help with Windows related issues. We will be happy to help you.

Thank you

Tags: Windows

Similar Questions

  • Get the key from Microsoft visual c ++ 2010 express license

    When I try to 'get a key to online check-in' for Microsoft Visual C++ 2010 Express my browser opens to

    https://profile.Microsoft.com/RegSysProfileCenter/Wizard.aspx?wizid=7c945c1b-D351-4F77-B526-36e696a413d7

    but then crashes...

    Please explain how to get a license key?

    Thank you

    David in London

    This is not the right forum for this question. You will need to contact MSDN page hanging when trying to get a SQL license key.

    http://msdn.Microsoft.com/en-us/subscriptions/aa948875.aspx

    Thank you

    Marilyn

  • Problem installing Microsoft Visual C++ 2010 Express

    Recently I had difficulties installing programs. I'm on Windows 7 64-bit. Today, I tried to install Microsoft Visual C++ 2010 Express with disappointing results.

    I went through the installation, and it says that the program has been installed successfully. However, I could not locate the program to open it. I ran a search that returned no results. The start menu did not light up like it normally does when there are new programs. I looked in the start menu > all programs and there was a folder titled "Microsoft Visual Studio 2010 Express. The folder was empty.
    I went into C > Program Files (x 86) and I saw different folders containing additional files for the program. I finally found what I believed to be the program itself, "VCExpress." I double clicked and the start screen for the program came, followed by an error message indicating "folder data Application for Microsoft Visual C++ 2010 Express could not be created." I tried to run as an administrator, and the error message says "the application cannot start."
    If I try to re - install, it says that it is already installed. I uninstalled via Control Panel > uninstall program and re-installed several times with the same results. I had similar problems with other programs, and they all seem to be Microsoft programs.
    EDIT: The problem seems to have something to do with my AppData folder. When I go to C > users he's not here, but if I try to create a folder with that name, it says there is already a folder with that name.

    Hi Viteminj,

    Thank you to contact the community Microsoft and we will be happy to help you with your concern.

    According to the description provided, looks like you are facing a problem during the installation of Microsoft programs.

    He would be grateful if you can answer this question in order to help you further.

    1. have you made changes on the computer before this problem?

    2 are you getting any error message or error code during the installation of programs?

    3. how you try to install Microsoft Visual C++ 2010 Express using web download or disc?

    I suggest you to see the steps in the following Microsoft article and check if it helps.

    How to solve problems when you install or uninstall programs on a Windows computer: http://support.microsoft.com/kb/2438651

    Solve problems with programs that cannot be installed or uninstalled: http://support.microsoft.com/mats/program_install_and_uninstall

    Reference:

    Troubleshoot installing or uninstalling programs: http://windows.microsoft.com/en-IN/windows-vista/Troubleshoot-installing-or-uninstalling-programs
    There is place for windows 7 as well.

    Notes:

    Clean boot: once you have completed troubleshooting, perform the steps in the step 3: to reset the computer as usual.

    The following steps include changing the system registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base:

    Back up the registry: http://windows.microsoft.com/en-US/windows7/Back-up-the-registry

    Default folder Appdata is hidden I suggest you view the folder option and check if it helps.

    Reference: http://windows.microsoft.com/en-US/windows7/Show-hidden-files

    If you need Windows guru, do not hesitate to post your questions and we will be happy to help you.

  • Windows 7 and Visual Basic 2010 Express

    Debugging a VB program error reads:

    The main reference 'OPCControls, Version = 2.0.0.0, Culture = neutral, PublicKeyToken = 09c594780a8fc3e6, processorArchitecture = MSIL' cannot be resolved because there indirect dependence on the assembly of infrastructure 'System.IdentityModel, Version = 3.0.0.0, Culture = neutral, PublicKeyToken = b77a5c561934e089' which cannot be resloved in the currently targeted framework.  «NETFramework, Version = v2.0» To resolve this problem, remove the reference "OPCControls, Version = 2.0.0.0, Culture = neutral, PublicKeyToken = 09c594780a8fc3e6, processorArchitecture = MSIL", or retarget your application to a version of the framework that contains 'System.IdentityModel, Version = 3.0.0.0, Culture = neutral, PublicKeyToken = b77a5c561934e089'. FMS

    It's the mistake of generation who came.   I don't know what I have to load in order to obtain communication of OPCControls to work in this VB program.

    The platform of Windows 7, Microsoft Visual Basic 2010 Express is currently loaded.  (64-bit system)

    This issue is beyond the scope of this site (for consumers) and to be sure, you get the best (and fastest) reply, we have to ask either on Technet (for IT Pro) or MSDN (for developers)

    If you give us a link to the new thread we can point to some resources it
  • Visual C++ 2010 Express on Windows 7 64-bit slows everything

    Hello

    After suffering for a week, I can find no clear response from everyone and decided to seek the help of this community. I am trying to do the work of development using Microsoft Visual C++ 2010 Express. I recorded my Visual C++ so that it works without obvious interruption. When I am trying to build my code in Visual C++ Express, it slows down the normal behavior of my machine. For example, a browser window or a file browser explore (My Computer) takes about 20 seconds to appear after clicking. The volume control bar takes forever to pop up. I followed the process on the Task Manager window, but nothing is abnormal, and memory consumption is well below the red line. More important still, this happens whenever I try to work in C++. Do not do Java (Java obviously has its own virtual machine so everything goes not on a virtual computer died there too; does not affect the machine). The only problem I managed to isolate is probably the 64-bit windows.
    I've been Googling for an acceptable answer but can't find anything. People are formulating opinions ranging from the instruction sets at low altitude on the PC with the ambiguity of high-level code. I don't know what on Earth is wrong. I have core i5, Memory Cache L3, 8 GB of RAM and 500 GB HARD drive. This cannot be a problem of the standard of PC...

    Hi MannaAnam,

    For assistance on this issue, you can post the question in the link below:

    Visual C++ Express Edition
    http://social.msdn.Microsoft.com/forums/en-us/Vsexpressvc/threads

  • Como configurar esta application microsof visual c ++ 2010 Express program path: am files/microsoft Visual Studio 10.0 / commom7/IDE/vcexpres.exe

    Como configurar esta application microsof visual c ++ 2010 Express program path: am files/microsoft Visual Studio 10.0 / commom7/IDE/vcexpres.exe

    Hello

    See this page to select your language:

    http://support.Microsoft.com/common/international.aspx

    ====================================

    Or sorry that it is area English.

    On the top of this page click v (English) in the United States and set on your tongue.

    I hope this helps.

  • What license should I provides, in India, rely on Microsoft Visual Studio 2010 Professional and Visual Studio Light Switch

    (1) if I want to build and sell, small PRODUCTS (but not services) (as a freelancer) based on Microsoft Visual Studio 2010 and last Visual Studio Light Switch, what license (s) devrais I provides, in India?

    (2) how can I get the license at a low price?

    (3) in the case if I hold a license and build the product, then what are all the license, my client should have? Ex: If I build a medical billing software, make my customer need to have the permit to switch to Visual Studio or Microsoft SQL Server 2008?

    (4) can I use Microsoft SQL Server 2008 Express on the deployment site (my client), or if my client needs to obtain a license for the database, and then which version of SQL Server 2008 build be cheaper?

    Thanks in advance,

    Hill.

    For support with Visual Studio, please click on the link below. Thank you.

    http://social.msdn.Microsoft.com/forums/en-us/categories

  • C# Visual Studio 2010 Express

    Hello. where I can download Visual c# 2010 Express offline Studio. Thank you

    Hello

    I'm happy to have helped.

    (If a response has been the solution please mark as 'response' or if it was useful)
    Please, mark it as "Found this useful - Me Too. Help others find the
    solutions to follow.)

    Move every day, go further

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle=""><- mark="" twain="" said="" it="">

  • the upgrade of visual studio 2010 express to visual studio 2010 professional?

    I installed visual studio 2010 express but I want to upgrade to visual studio 2010 professional...
    How can I do it...
    If all possible, pls guide me...

    waiting for response...
    thank you all in advance

    Hello

    I suggest you to ask your question at the following link.

    http://social.msdn.Microsoft.com/forums/vstudio/en-us/home?Forum=VSSetup

  • Visual C++ 2010 Express Edition - project creation failed

    Hi, I use Visual C++ 2010 Express Edition and after it licenses through the Microsoft Web site, I can't make it work properly.
    Whenever I try to create a new project, I get this error message: "Failed to create project creation project 'project name'..." ».
    Please let me know what to do, because it's quite annoying and I can't use C++ in these circumstances.

    I forgot to mention that before the licensing process, it worked perfectly.

    Help would be appreciated, thanks.

    Hello
     
    Your question of Windows 7 is more complex than what is generally answered in the Microsoft Community forums. It is better suited for the IT audience Pro on MSDN. Please ask your question in the Microsoft Visual Studio. You can follow the link to your question:
     
     
    Hope that helps.
  • Reflect the problem with the recording of the license of Visual C++ 2010 Express

    Original title: Visual C++ 2010 Express license

    Hello - I have been using Visual C++ 2010 Express and it is registered under my OLD email, is it possible that I could he license as part of my new Email?

    Hi Morse,

    The question you posted would be better suited in the MSDN Forums. I would recommend posting your query in the MSDN Forums.

    MSDN Forum (Visual C++ Express Edition)

    http://social.msdn.Microsoft.com/forums/en/Vsexpressvc/threads

    Hope this information helps.

  • Microsoft Visual Studio 2010 trial version has expired and the product key no longer works

    Hey I'm just tring to update the code of my Microsoft Visual Studio 2010 (not express) and I got the code BMJJC-MR3JJ-PH49G-9VB2Q-6FBQ3 and copy and pasted into the box but he stated that "this product key not allows to extend the use of this product" so I'mkind stuck in there, the version I use is the 90 day trial version could help me with this?

    After your problem to the forum Visual Studio listed below link, they may be able to help.

    http://social.msdn.Microsoft.com/forums/en-us/vssetup/threads

    J W Stuart: http://www.pagestart.com

  • Compile the external code with Microsoft Visual C++ 2008 Express Edition

    Hello

    I'm trying to compile c code to work with Labview (CIN or dll). In the past I did without problem using visual studio. I'm having a really hard time compiling the code with

    Microsoft Visual C++ 2008 Express Edition. I'm trying to compile one of the examples that come with Labview (multiply 2 numbers for example).

    I don't know how to set the project with Microsoft Visual C++ 2008 Express Edition. I read on the web something make a folder of lvm with Labview makefile. Is this really necessary? If so, how to create this file?

    Thank you

    Eyal

    Thanks for your reply.

    In fact, I found a way to create a dll on the web:

    http://decibel.NI.com/content/docs/doc-1690

  • Trial version of Streets &amp; Trips, but it will not install. I get an error message indicating that Microsoft Visual C++ 2010 Redistributable must be installed

    original title: trial version of Streets and Trips
    I downloaded streets and trips 2011 version of track, but it will not install.  I get an error message indicating that Microsoft Visual C++ 2010 Redistributable must be installed.  It has been installed and then I get another error message saying "one of the prerequisite components failed to install. Implemented now will end "what can I do to start the installation of Streets and Trips?

    Hello

    Which edition of Windows are you using?

    Example of Windows 7 ultimate 64-bit.

    Please follow the steps mentioned below to help solve the problem.

    Method 1

    a. perform a clean boot

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    http://support.Microsoft.com/kb/929135

    Note: follow step 7 to put the computers start to Normal upward departure mode once you have completed all troubleshooting.

    The article above applies to Windows Vista and Windows 7.

    b. now, try to install the game and check if it helps.

    If the problem persists then please continue to,.

    Method 2

    Error message when you install a Microsoft game or a mapping program

    http://support.Microsoft.com/kb/258496

    Method 3

    You receive an error message on the required components, Error 1316 or error 1722 when you try to install Streets and Trips

    http://support.Microsoft.com/kb/254435

    The article above applies to the versions of Streets & trips

    You can also post your request in the forum Street and the TRIPS Agreement.

     

    Hope this information helps.

  • Microsoft Visual Studio 2010 Service Pack 1 could not install 0x13EC

    Microsoft Visual Studio 2010 Service Pack 1 cannot be installed several times giving the 0x13EC error message.

    Microsoft offers support without charge for updates of security (only!).

    As such, you will find the support for VS 2010 SP1 installed in this forum: http://social.msdn.microsoft.com/Forums/en/vssetup/threads

    Tip: assuming that Visual Studio 2010 Service Pack 1 Beta is not installed, you can try installing the SP1 manually-online http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=23691

Maybe you are looking for

  • Satellite L50-B-1XF - Win 7 64-bit drivers and software

    Hello as I can't find anything on my model - Satellite-L50-B-1XF (PSKTUE-04C00WGR), I'll try it here... I bought two of these (one for me, one for my wife) with installed Win8.1. Well well... no need to say that it is one of the worst OS I have ever

  • answer the charges in time

    face time uses a cellular network from one country to another?

  • Problem with Windows Live Mail 2011 to scan

    When I use either my printer to scan a document, cartoon, etc. to send e-mail (Windows Live Mail 2011), the scan works fine, but when I try to attach the message to send to a recipient, the scanned image was cropped (up to the size of a photo?) and s

  • PIXMA mx340.

    Canon IJ Network Scan Utility is in my "Add / Remove Programs", but installation date is the only thing filled. Editor, the size and version are empty. I can't access it, or anything. Help, please. Thanx

  • FireWire and my camcorder

    I tried the camcorder and the cable to a different PC and they work fine on my vista machine however they do not. It does not recognize. I searched the internet for days now. My mini-dv camcorder and a samsung vp-d101 my firewire bus is also the texa