Program to send e-mail message in JavaThis is a simple program that can be used to send e-mail messages with attachment in Java. You can attach one file to your e-mail message. Before you use the program to send e-mail message, you must configure the mail. The configuration form allows you to enter the outgoing server name, port, user name and password to log in the server. After you configured the mail, the settings are saved. So, you don't need to configure the mail next time that you want to send e-mail messages. To send an e-mail message, you need to enter recipients' e-mail addresses, subject, and message. File attachment is optional. You can send the e-mail message to many recipients. For security reason, your password is encrypted. Its source code is free to download at the right side of this page. It might be useful to people who want to learn Java code to send e-mail to recipients. This program uses Apache Commons Mail API to process outgoing mails. So you need to download the API from http://commons.apache.org/proper/commons-email/download_email.cgi to run the code.
Payroll software development in Object-Oriented methodThis document is a sample object-oriented software development of the ABC SmartSell Company payroll system. In the first section, the document talks about the requirements of the payroll system. The section focuses on what the system has to do and what the system needs. The second section is a use-case diagram that models the activities of the user with the system. This section can be called system analysis. The third section is the system design. In this section, classes, their relationships are defined and the class diagram is drawn to model the structure of the system. The attributes and operations of the classes are also defined, and the activity and communication diagrams are drawn to represent the behavior of the system. The third section is the complete Java source code of the payroll system. You can call this section system implementation. The final section is system testing. It is simply the screenshot of the output when the system runs in Eclipse.
Implement comment feature in web pages in PHPThis is php example code that integrates comment feature to web pages. The visitor is able to write comments and post them on the pages. The security code check is implemented. The comments are not saved unless the visitor enters the correct code displayed on the captcha image. For this example application, the visitor can edit and delete a comment from the pages. However, in real practice, you should place edit and delete functionalities in an admin page. Visitors only see and post comments on the web pages. The pagination functionality is also implemented to segment comments on a web page into different pages. The zip file of the example application contains six files: commentform.php, editform.php, index.php, datamanip.php, editrec.php, and test.sql. The commentform.php file is a web form that allows the visitor to add comment to web pages. It can be included in any web page. In this example code, it is included in the index.php page. The editfrom.php is a web form that allows the visitor to edit a comment. It is included in the editrec.php page. The datamanip.php file contains a class called DataHandler. It defines methods that can be called to connect to Mysql database, read comments from a table, delete a comment from the table, and update a comment. This file is included in the index.php and editrec.php files. The editrec.php page is displayed when the user clicks the edit link on the index.php to update a comment. This page displays the edit form. The test.sql file contains example records of comments. You can import the file to Mysql Server and use the example records. Alternatively, you can create a new database and a table by yourself.
One-line forum in ASP.NET C#This is an online programming forum website created in ASP.NET by using C# programming language. It is an outcome of a year IV group assignment of IT department, Cambodia Cooperation Institute. It is a nice forum that can be used as a real online forum to allow the programming lovers to discuss programming problems. In this forum website, a user must register to create a valid account to post a question or answer a question. Before you can post questions or answers to questions, you must activate your account by clicking the confirmation link sent to your mail box. An admin user have a full privileges in the website. This account can create other admin accounts, add new categories, and block users. You might refer to the MyForum.pdf in the zip file that can be download at the right side of this page to learn steps to build the forum website and its source code. The limitation of the forum website is that the users cannot edit their questions or answers.
This forum website might be useful to ASP.NET learners that need help from a sample website application. Thank people of the group assignment very much.
C# zipper applicationHi everyone, this is a zipper application written in C# programming language. This program is an assignment of a year IV group assignment of IT department, Cambodia Cooperation Institute. The program can be used to zip files and folders and extract zip and rar files on Windows platform. It uses two important libraries: Ionic.Zip and ChilkatDotNet2. The Ionic.Zip library is used to create a zip file and extract a zip file, and the ChilkatDotNet2 is used to extract a rar file. Its source code can be downloaded free at the right side of this page. I hope that it will be useful to C# lovers. Thank you to people in the group assignment.
The zipper application is easy to use. To zip files, you will click the zip file icon on its main interface. A file dialog displays. You can select multiple files to create a zip file. To zip folders, you can click the zip folder icon. After you select files or folders, click the zip icon to zip the files or folders. To extract a zip file, click the Extract zip icon. Similarly, you can extract a rar file by clicking the Extract rar icon. One limitation of the program is that it cannot create a rar file.
ZipperThe ZIPPER program can be used to zip files and folders, and extract a zip file. This program is written in Java. Its source code and related files can be downloaded at the right side of this page. You can launch this program by double-clicking the zipper-launcher.bat file (in bin directory). All source code files (.java files) are stored in the src folder.
To zipe files or folders, you need to select the files and folders by clicking the Add... button. The paths of the files and folders will be added to the list. Select the path to save the zip files by clicking the browse button (...). Then click OK to zip the selected files and folders. You will wait for a while to complete the zip process.
To extract a zip, you need to select the file from the file chooser dialog box. Th
|...................................................................................................................................||Home | Forum | About | Contact|
| This website intents to provide free and high quality tutorials, examples, exercises and solutions, questions and answers of programming and scripting languages: |
However, we don't guarantee all things of the web are accurate. If you find any error, please report it then we will take actions to correct it as soon as possible.
|Copyright @ 2011-2013 worldbestlearningcenter. All Rights Reserved. |