STARTUP, WEB APPLICATIONS | ALENTUS WEB HOSTING SERVICE |
The latest version of Personal C Sharp, version 3.3 is now distributed free. So, if you have downloaded an earlier version or a limited time use version, erase it, go to our home page and download version 3.3 in its place before proceeding further.
Personal C Sharp tools and methods make you do your programming job faster and easier. They make your programs shorter while they accomplish more. They take care of the lengthy repeated jobs and let you concentrate on your project. They help with growing your skill, improving your abilities and boosting your creativity.
HOW TO START, GENERAL =============== Personal C Sharp software runs on either Version 2 or Version 3 of the .NET Framework. The major addition of Version 3 is the Windows Presentation Foundation which allows you to create 3D drawings and video play software. The size of the .NET Software Development Kit (SDK) of version 3 is over three times that of version 2.
Widows Vista performs better with the 'Windows Presentation Foundation'. This makes it advisable to download version 2 on a computer with Windows XP and version 3 on a computer with Windows Vista operating system.
[A] DOWNLOAD AND INSTALL THE .NET FRAMEWORK AND SDK:
When you install the .NET software, we recommend that you accept the default locations which the software recommends for its files. This can eliminate many future problems.
Installing Version 2:
(1) At Windows XP control panel-'Add/Remove Software' uninstall all older versions. (2) Click hereto download and install 'Microsoft .NET Framework Version 2.0 Redistributable Package'. (3) Click here to download and install '.NET Framework 2.0 Software Development Kit (SDK)'.
Installing Version 3:
(1) At Windows Vista control panel-'Programs and Features' uninstall all older versions. (2) INSTALLING THE .NET FRAMEWORK V3.5: If you are using Windows Vista, you already have it, so skip this section. If you are using Windows XP, you must have Service Pack 2 installed. If you are using Server 2003, you must have Service Pack 1 installed. Click here to install the software (3) Click here to download and install '.NET Framework 3.5 Software Development Kit (SDK)'.
[B] CREATE YOUR WOKING DIRECTORY:
Create a new directory for your PC# programming. You can place the new directory anywhere and choose any name for it. However, if you ask for suggestion, 'c:\pcs' is a good name and location for the new folder.
[C] COPY PC# SOFTWARE TO YOUR WORKING DIRECTORY:
The latest versions of Personal C Sharp are now distributed free. So, if you have downloaded
an earlier version or a limited time use version, erase it, go to our home page and download
a new copy in its place before proceeding further.
Personal C. Sharp software comes in a file named "PCS330".
To install it, you need to double click on that file name. When the dialog box appears select
[Run], [Next]. You'll get a dialog box which contains a text field and a button at its right
side. Click that button and browse to your working directory, click on your working directory
name then click [OK]. Click [Next] then [Start]. When you get the message "Personal C Sharp
has been successfully installed", click on [Next] then on [Exit].
[D] INSTALL PC# SOFTWARE INTO YOUR WORKING DIRECTORY:
From Command Mode, browse to your Working Directory then type:
                 pcs      And hit the [Enter] key.
Read the License agreement. If acceptable, enter the word 'yes' and hit [Enter] The 'Setup menu' should appear.

Select (c) from the setup menu to Create all necessary tools and files. Check your Working directory. Make sure all expected files are there. If you have installed the latest version, the following files should be available:

[E] PRACTICE WITH YOUR FIRST PROGRAM:
The easiest way to start is to practice with the 'Demonstrative Examples' at PC#'s website. You need to study them in order, starting with Example 1 of the first group.
Use copy/paste to copy the code of the first example from the website to Notepad.


Save the program to a file named 'a.cs' (to match the class name) To do so, select [File], [Save As] frm top menu, Click the arrow of the selection box labled 'Save as type' and select 'All Files'. Type in the 'File name' field 'a.cs' and click on [save]. Check the directory to make sure the new file 'a.cs' is there. Then from Command mode enter:    pcpr a   [Enter]

[F] GOING FURTHER:
If you have reached this point successfully, we would like to congratulate you. You
should have no problem with any other example or with writing your own programs at
the end.
Practice with each example, read all tutorials. They have been designed to teach you
how to use PC# software step by step. So you must study all the examples in order.
Don't move to the next example before you fully understand the current one.
We recommend printing a copy of the "PC# Reference" and "PC# Methods". Keep them by your
side. Whenever you find something unclear, look through them to find the answer.
PC# methods and field names are made to be as few, short and easy to remember as possible.
After some practice, you will be able to write programs which run without errors on the
first try. Enjoy your new programming experience!
IMPORTANT REMARK CONCERNING THE USE OF NOTEPAD:
===================================================
Before we get into that, you need to make sure that your computer shows all files
with their extensions. The following instructions are for "Windows XP". If your
operating system was different, the instructions may need to be slightly modified.
Click on [Start] [My Computer], then on the [tools] tab and select [Folder Options].
When the "Folder Options' window appears, click on the "View" tab and locate the item
"Hide extensions for known file types". Make sure this item is "UNCHECKED" then click
on [OK].
Now, whenever you save a file like "a.cs" from Notepad, the "File save" dialog box
always appears with "Save as type = Text Documents", you must change that option to
"All Files". Then you should type "a.cs" into the "File name" text field and click on
"Save".
If you forget to change the "Save as type", you will save the file under the name
"a.cs.txt" which is not what you want.
MOVING TO WEB DEVELOPMENT:
==============================
After going through all the "Desktop application examples" and the "Desktop
Applications Reference", you may move to Web development. Click on the link at the
top to go there.TROUBLESHOOTING YOUR INSTALLATION:
The only expectable cause of a problem would be in the two files which our setup menu has created for you File 'SDKVars.bat' which sets the environment variables in order to allow the .NET software to be accessable and file 'refs.txt' which sets where the .NET assemblies are to be found. You need to look at them and verify that all the file pathes they contain are valid. To learn more about them, click on 'Reference-Desktop' and read under the titles 'The SDKVars.bat file' and 'The refs.txt file'.
|
|