July 3, 201214 yr So a small bad start of the Book of not replying where to use c# script. I wonder where can I use the c# script and have a view of it's strings. Can I also just view it in Google Chrome? c++ is a program language addition that I want to learn.
July 3, 201214 yr I'm not sure I understand the question. Some time ago I started with C# and ASP.NET but couldn't digest it and switched to PHP.
July 3, 201214 yr Author Well the questions are. In what format must I save the files and what which program can I open it? "Can I even open it with Google Chrome?
July 3, 201214 yr I used Microsoft's Visual Web Developer Express (here), but .cs files are text files so you can use any text editor. I believe Notepad++ has syntax highlighting for C#. [Edit] If you just want to try C# (not web related) you can also try Visual C# Express (here), you can create and run simple console applications with it. Edited July 3, 201214 yr by Anonimista
July 3, 201214 yr Author @t Ano, It's basically part for the web programming:) It's currently installin web platform from viasual web devolper expres 2010.
July 3, 201214 yr Author Hey I´m trying to install the program for some reason it didn´t launched the program. I removed the program related to visual c. Now I tried to install it again "vcs.web" but I'm getting this error. Visual Studio setup cannot run in compatibility mode. For more information see the installing section on "". I know I started windows up normally and not in some kind of other mode. Maby you know ow to solve this matter?
July 3, 201214 yr Author Alright, I have fully installed the file and I can open and edit the .cs file. But how do I see the output of the file? I googled around with no luck.. Also if I save it as a .exe file it give me an error; The version of this file is not compatible with the windows-versions. Check the system information if u use a x86(32-bits) or x64(64 bits)
July 4, 201214 yr Author At sash, no i dont. The book i currently got is about mainly c#. Anyway I got,the program to run and I can creaye and edit the .cs files. I just need to know how to execute it.
July 4, 201214 yr At sash, no i dont. The book i currently got is about mainly c#. Anyway I got,the program to run and I can creaye and edit the .cs files. I just need to know how to execute it. Most of the time Visual Web Developer expects you to create a new project or a web site, (File | New Project ... or File | New Web Site ...) This creates a basic template project for you (similar to NetBeans) and you can immediately test it (Debug | Start Debugging). There is a walkthrough here. You can also test individual .aspx pages when no project is open by right clicking the page in Visual Studio and selecting 'View in Browser'. I'm not sure about .cs files, I don't think you can run them if they are standalone. If you create a new web site you can see what folders and files are created for you in 'Solution Explorer' (View | Other Windows | Solution Explorer). Every .aspx file has a corresponding .cs file and that is where you put your c# code (like Default.aspx -> Default.aspx.cs etc). The process is like this: Open a .aspx file from the Solution Explorer in design mode (right click the file in Solution Explorer | View Designer), add a ASP.Net control (like a Button) from the toolbox (View | Other Windows | ToolBox) to the page, double click the control which opens the .cs file for you so you can add the C# code to be executed when the button is clicked. That's about as far as my experience goes, maybe try going through some other walkthroughs on MSDN.
Create an account or sign in to comment