STARTUP, WEB APPLICATIONS |
ALENTUS WEB HOSTING SERVICE |
The latest version of Personal
C Sharp, version 4.2 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 4.2 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 any of Versions 2, 3 or 4 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. The SDK of Version 4 is smaller
except that it comes with no documentation; If you download it
you need to download the documentation seperately or use
the internet.
Windows Vista and Windows 7 perform
better with the 'Windows Presentation Foundation'. The best
advice is to download version 2 on a computer with Windows
XP, version 3 on a computers with Windows Vista and version
4 on a computer with Windows 7 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 problems in the
future.
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
to step (3). 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)'.
Installing Version 4:
(1) Uninstall all
older versions if available. (2) Click
here to download and install 'Microsoft .NET Framework
Version 4.0 Redistributable Package'. (3) Click
here to download and install '.NET Framework 4.0 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 "PCS420.exe".
To install it, you need to double click that file name then follow the simple instructions.
[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. Click on [Start] [(My) Computer], then:
(1) If you have Windows XP: Click on the [tools] tab and select [Folder Options].
(2) If you have Windows Vista or Windows 7: Click on [Organize] then on [Folder and Search 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'.
| |