STARTUP, WEB APPLICATIONS
ALENTUS WEB HOSTING SERVICE
The latest version of Personal C Sharp, version 4.43 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.43 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,
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
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 comes with no documentation. If you download it you need to download the documentation
seperately or use the internet. Use of Personal C Sharp requires no higher versions than 3.5.
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.5 on a computer with Windows Vista and version 4
on a computer with Windows 7. With Windows 8.1 and Windows 10, version 3.5 has been tried and worked great,
however you may try a higher version.
[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.5:
(1) At control panel-'Programs and Features' uninstall all older versions.
(2) INSTALLING THE .NET FRAMEWORK V3.5 or higher: If you are using Windows Vista, Windows 7 or
a later version 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 "PCS443.exe".
To install it, you need to double click that file name then follow the simple instructions.
IMPORTANT REMARK FOR WINDOWS 10 USERS:
Windows 10 has added some very tight security measurs. Although we have taken every possible
ation to make sure that Personal C Sharp is clean and safe to install, Windows 10 will advise
you not to do so.
The decision is yours, If you decide not to install it, you can still improve your knowlege
and shorten your C# study time by reading our course at our website.
If you trust us and decide to download PC# software, return to our home page, click on the phrase:
"Click here to download Personal C Sharp, version 4.43". After the download is complete, click on
[Save], You should get a security warning message. Now, click on [Run].
You should get another security warning message and you'll be given two choices "More info" and
"Don't run", click on [More info] then select [Run anyway].
[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:
(1) Here is how to get into command mode:
a) Using old versions of Windows: [Start][All Programs][Accessories][Command Prompt]
b) Using Wondows 10: [Start][All Apps][Windows System][Command Prompt]
OR: You may ask Cortana to "Open Command Prompt".
(2) If you get the message "Access is denied" when you try to save the file, click on
"Reference-Desktop" and read the section titled:
"GETTING THE MESSAGE 'ACCESS IS DENIED" WHEN ATTEMPTING TO SAVE A FILE'".
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
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].
(3) If you have Windows 10: Open File Explorer (You may do so by pushing [Windows][E] on your
keyboard) Click on the [File] tab and select "Change 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
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
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'.