Professional Documents
Culture Documents
htm
Just like there are various types of applications, there are also different techniques or means of
creating them. For this example, we will use Microsoft Visual Studio 2010 to create a file-based
applications (you could also use Microsoft Visual C# 2010 Express, which is freely downloadable
from the Microsoft web site).
As mentioned already, the records will be kept in files. All the files used in this application will be
in a specific folder. As the network administrator, you should create thi folder before it can eb
used. Because this is a networked folder, you should also share it.
For this application, we will use a folder named Bethesda Car Rental in the C: drive of a server
named EXPRESSION. If you want to use a different folder, in our code, change that name.
To share the folder used in this application, after creating it, right-click it and click Share... In the
combo box, select Everyone and click Add. Click the arrow button of Reader and click Contributor:
Click Share:
1 of 5 11/16/2016 4:01 PM
Microsoft Windows Networking: Creating a Client Server Application http://www.functionx.com/networking/applications/csa1.htm
2 of 5 11/16/2016 4:01 PM
Microsoft Windows Networking: Creating a Client Server Application http://www.functionx.com/networking/applications/csa1.htm
3 of 5 11/16/2016 4:01 PM
Microsoft Windows Networking: Creating a Client Server Application http://www.functionx.com/networking/applications/csa1.htm
6. Click OK
7. In the Solution Explorer, right-click Form1.cs and click Rename
8. Type Central.cs and press Enter twice
9. Design the form as follows:
10. To save the project, on the Standard toolbar, click the Save All button
4 of 5 11/16/2016 4:01 PM
Microsoft Windows Networking: Creating a Client Server Application http://www.functionx.com/networking/applications/csa1.htm
5 of 5 11/16/2016 4:01 PM