Accounting software visual basic source free download - Visual Basic Source Code Controls, Service Pack 6 for Visual Basic 6.0, Visual C++ 6.0 with Visual Source Safe 6.0d, Fun Visual Basic Projects, and many more programs. Compare the best free open source Windows Accounting Software. OsFinancials Accounting Software. Osfinancials accounting and. And the source code.
AccountPlus is an open source software for account/expense sharing. Users of AccountPlus can use the application in their own way. If at any stage, the user wants to make some modification/enhancement in the application, he/she is free to do the same. Any suggestions/queries are most welcome from the author’s side. For any queries, please write a mail with subject line ‘AccountPlus’.
AccountPlus
AccountPlus is developed using Microsoft.NET technology. It uses C# as a code language. AccountPlus is specially designed and shared for the beginners and intermediate level programmers to understand, design and implement the entire SDLC (Software Development Life Cycle). Also it may be helpful to understand
AccountPlus is an application which can be used for shared account/expense management with proper reporting and general analytics.
In order to justify the significance of AccountPlus, we should compare the traditional account management system (paper based account management) with the features of AccountPlus.
Paper Based Account Management: Many times, it happens that multiple people share their daily expenditures. To maintain all these accounts, usually we use paper to keep track of all the individual expenses.
Like this, there are many disadvantages of paper based account management. But with the help of AccountPlus, at every instant we are capable of analyzing the expenses and doing the proper kind of analysis to have a better control on expenditure with full security.
AccountPlus has two user roles,
AccountPlus application is mainly divided into three layers
User interface layer of account plus contains all the forms and base class to provide style to the user interface. User interface of the application interacts with Business Layer and very rarely with Data Access Layer to fulfill the request or business action made by the user. Also this layer interacts with Messaging component of the AccountPlus very frequently for displaying the messages to the user interface.
Business Layer is the core part of the application. This component contains all the business logics being used by the application. This component interacts very frequently with the Data Access Layer for writing and reading the data to or from the AccountPlus database.
Data Access Layer is one among the most important components of the application. This is an independent component. This layer enables the application to interact with the AccountPlus data base in an efficient manner. Data Access Layer is independent of database i.e. it may support all kind of databases e.g. MS Access, Excel, SQL Server, MySql, Oracle and etc. This component may be as it is used for any other application also.
Note: Present data access layer component does not support explicit transaction management. It’s under progress.
Also it has three more small components for Messaging, Configuration and Formatting. Following are the details of these components
This component is used to make application scalable in terms of achieving Globalization and Localization. Current version mainly uses this component as a message repository. This helps the application in managing the various application from a single place. This holds application into a resource file.
This component is used to for reading the application level configuration i.e. the configuration details stored into App.config file.
This component is responsible for formatting various data types being used by the application.
Following is the block representation of various components of AccountPlus
As it’s a complete application hence it’s little difficult to explain each and every component, so I would be mainly explaining the re usable components.
Follow the steps below to view / debug AccountPlus source code
Note:
Exception handling is one of the important aspects while developing any software/ application. AccountPlus displays the exception occurred to the user in a screen also it logs the exception to the log file with the help of log4Net.
Following is the screen which displays any unhandled exception encountered by the application. This screen is brought from one place only i.e. one place exception handling.
Above exception handling logic is implemented to the Program class of AccountPlus.UserInterface. Program is the class which is generated automatically by the visual studio. Program class contains the Main() method which is the entry point to the application.
In order to implement above kind of exception handling follow the steps
AccountPlus uses Open Source library log4Net for logging the exceptions or errors to the log file. Logger.cs class of AccountPlus.BusinessLogic is implements necessary methods to log the informations to the log file.
Follow the steps below to log the exceptions
Example:
value='true' means logging into separate file for each date e.g. 07-JUL-2009.txt
value='true'
value='false' means logging into a single file i.e. (Log.txt or Trace.txt)
value='false'
Note: For detailed implementation details please refer Logger.cs class of AccountPlus.BusinessLogic component.
In fact AccountPlus does not implement the Globalization and Localization concept truly sense, but Globalization/ Localization concept is implemented into the AccountPlus.Messaging component of the application. This component includes a resource file MessageResource.resx, this file contains all the messages which are displayed to the user interface. Managing messages like this gives flexibility to do changes into text from one place without altering user interface or business logic. Currently any culture is not set for the application, but in future very easily we can include culture specific messages.
Please refer the points below to know how messages are stored or retrieved to or from the resource file
Note: For detailed implementation details please refer MessageManager.cs class of AccountPlus.Messaging component.
AccountPlus stores all credentials into database by encrypting the data into certain format. DataSecurity class of the AccountPlus.BusinessLogic component is responsible for encryption/ decryption of the data.
DataSecurity class exposes two public methods Encrypt and Decrypt to encrypt or decrypt the strings
AccountPlus stores some of the user preferences to XML file i.e. Preferences.xml which use to be present into the root directory of the application. Preferences class of the AccountPlus.BusinessLogic component is responsible for reading or writing the user preferences data. This class (Preferences.cs) internally uses XmlHelper class which takes care of getting or setting the data into Preferences.xml file.
Following is the schema for the schema for the Preferences.xml
XmlHelper class mainly exposes two methods to get or set the data for any specific user preference.
Data Access Layer i.e. AccountPlus.DataAccess component of the AccountPlus may be most preferred reusable component. Without any modification this component may be used for reading or writing the data to any data base (Tested for MS Access, SQL Server and MySQL). Current version of Data Access Layer does not support transactions, it would be implemented soon.
Following are the various class files contained by Data Access Layer
Support to multiple database is achieved with the help of various interfaces IDbConnection, IDbCommand, IDataParameter, IDataAdapter and etc exposed by System.Data library of .NET Framework.
We will see implementation of ExecuteScalar method of Data Access Layer to understand how it works
Look at the following code line being used in ExecuteScalar method for getting a Database connection
Here we use GetConnection method of the ConnectionManager class to get an open connection to the database.
Configuration.ConnectionString
Configuration.DBProvider
Common.EXCESS_DB_PROVIDER
DBHelper is the class which is mostly being instantiated by other components of application for reading or writing the data.
DBHelper class implements following methods with their various overloads to access the database
Following is the example of reading scalar value from the database.
To run Account Plus, the target machine should have,
Note: Do remember to enter appropriate currency in Step 4, i.e. Rs. Or $ or anything so that your expenses are represented into the same currency. By default installer configures MS Access database, however it may be customized for any database.
AccountPlus may work with any of the database for example MS Access, MySql, SQL Server and Oracle. By default installer configures MS Access database for the application however it may be changed to any database. Downloaded package contains the db scripts for MySQL and SQL Server Database.
Follow the steps below to change the database.
connectionStrings
Note: Make sure that while changing/ adding new connection string you are using correct providerName. E.g.
Provide the User name and password and click on ‘Login’ button to login into the application.
If you are selecting ‘Remember me’ then for next time application will automatically populate Username and Password.
Click on info button to know the last log on information.
User management i.e. adding new users and modifying user details right is reserved for the admin user role only.
Login to the application as an admin user role,
Press ‘ALT+U’ or go to File ->Add->User. Into the window opened enter any of the details and click on search button.
Note: All the fields are not mandatory you may enter any of the details to search.
‘ALT+U’ or go to File ->Add->User. Select the user from the grid whose information you want to edit. Selection of any row containing user information will make the user details available to the upper area where details may be changed. Click on ‘Update’ button to save the changes.
‘ALT+U’ or go to File ->Add->User. Select the user from the grid want to deactivate. Selection of any row containing user information will make the user details available to the upper area. Uncheck the ‘Active’ check box and click on ‘Update’ button to save the changes.
‘ALT+U’ or go to File ->Add->User. Select the user from the grid want to activate. Check the ‘Active’ check box and click on ‘Update’ button to save the changes.
Item management i.e. adding new item and modifying item details right is given to all the user roles.
Press ‘ALT+I’ or go to File ->Add->Item. Into the window opened enter any of the details and click on search button.
Only general users can add, update or delete the expenses. Admin can’t enter any expense. Users can edit or delete only their own expenses not other user’s expenses but can view all the users expense.
Select the item against which you want to enter the expense. Selection of item will automatically populate the expense description where as user can change the same. Enter other information like amount and date. Click on the ‘Add’ button to save the changes.
Once item is added successfully, newly added expense details would appear into the expense details grid shown right side of the screen.
Note: Expense date can’t be greater than today’s date.
Select the particular expense from the grid needs to be edited. Selection of any row containing expense details will make the e details available to the left side of the screen where details may be edited. Click on ‘Update’ button to save the changes.
Select the particular expense from the grid needs to be deleted. Selection of any row containing expense details will make the details available to the left side of the screen where details may be edited or deleted. Click on ‘Delete’ button to delete the expense.
Reporting is the most exciting part of AccountPlus. AccountPlus has mainly three reports:
Press F4 or click on the button present on tool bar to open expense report.
Once item is added successfully, newly added expense details would appear into the expense details grid shown right side of the screen. Boston dma zip codes.
Expense Report gives us the information about the
Based on these three pieces of information, AccountPlus calculates “How much each user has paid, and how much each participant is either supposed to pay to others participants or supposed to get from other participants”.
Press F5 or click on the button present on tool bar to open monthly report.
Select the Month, Year for which report needs to be generated and click on ‘Generate’ button. Apart from the expense details this report will give the information about some other important things like Finalization Date, Total Expense and Days etc.
Press F6 or click on the button present on tool bar to open analytic report.
Select the Month, Year for which report needs to be generated and click on ‘Generate’ button.
Same as Monthly report, Analytic Report also has two views Individual and Monthly.
Whenever we are generating the Analytic Report for a particular Month and Year, the Analytic Engine of AccountPlus checks whether expense data exists for the previous and next month data for the selected month and year. If data exists, Analytic Report will give the trend on a particular item or user about whether the expense has increased or decreased from the previous or next month.
Suppose you have selected Dec, 2007 to generate the analytic report. Now, the Analytic Engine of AccountPlus will check whether the data exists for Nov, 2007 and Jan, 2008. If the data exists, then Analytic Report will compare the expense on each item or expense by users based on the view selected (Individual or Item wise). If data for previous month does not exist then Analytic Report will compare only the selected month and the next month.
Only admin user role has got the rights to finalize the expenses.
In order to understand the Finalization process, we will take the example of paper based account management system. In paper based account management system, at the end of the month, all the expenses occurred needs to be summed up, to calculate the total expense for the month. Then divide the total expense by number of persons supposed to share the expense. Like this, individual contribution is calculated. Now all the members will either receive an amount by another member or pay the amount to other members based on individual contribution and amount paid by each participant.
Once this process is completed, expense sheet needs to be tear up or to be cross marked.
Finalizing the expense in AccountPlus is the same process where admin makes sure that all the users have cleared their dues i.e. each participant have received or paid their dues. After finalizing the expense, current expense details would not be displayed on the home page but the data will remain in the database for analysis and reporting purposes.
Login as admin.
Expense report provides information about total expense and the dues for the particular tenor. Pay/Get is very important information in order to clear the dues, this information gives the information among the users about who is supposed to pay and who is supposed to get.
Press ‘Alt+P’ or go to Edit-> Profile to bring the screen where user profile can be edited.
Check the check box ‘Change Password’. Enter old password, password and confirm passwords field s and click on ‘Submit’ button to save the details.
Press ‘Alt+Shift+S’ or go to Tools-> Database to open the database information window.
Press ‘Alt+Shift+D’ or go to Tools-> Diagnostics to open the diagnostics information window where application logs and trace can be viewed.
Press F2 or go to Help-> About to open the about dialog box.
Press F3 or go to Help-> Contact Admin to open window which helps the user to post their feed back or comments to the author.