Tuesday, 30 September 2014

Human Resource Management System - Using C# with Visual Studio 2008 (SQL Server 2005)

Development Tools:
- Microsoft Visual Studio 2008

- Microsoft SQL Server Management Studio 2005

                Features

The Proposed system has two main modules
  • Employee
  • Admin (HR)


Employee Module:

Employee Profile
Employees could view there profiles, checkout there salaries. 

Compensatory off
When an employee works on a holiday or works overtime on a working day, he/she can apply for a compensatory off.  The duration of comp-off will depend on the extra time worked by the employee and is subject to approval by supervisor.  The comp off time can be banked for a maximum of 30 days.

Leave Application
Based on the availability of leave,  employee can apply for leave online.  

View Leave Balance
Employee can view their eligibility and leave balance against each type of leave.  Details of the leave utilized in the current leave year can also be inquired upon.


Admin Module:
This module handles the administrative functions of the system and is used by the HR department.

Employee records
Admin can view and change the employee profile, also can add new recruits and remove former employee’s.

Performance Review
Admin can review employee’s performance and skills

Leave Eligibility
HR will enter the leave eligibility of each employee, for each type of leave, at the beginning of each leave year.  The leave eligibility will be calculated based on the annual entitlement and the carry forward from prior year.

Monthly Attendance
HR can generate a monthly attendance report of  all employees in the organization.

Daily Absent Report
Admin can view the total number of absentees of a particular department for a given day.  They can also inquire on the attendance history of an individual employee in a particular month.

Salary maintenance
Admin can calculate salary according to companies rules and regulations. They are even permitted to update employee salaries.
-----------------------------------------------
Code Perspective:
-  Object Oriented based
-  Queries using Stored Procedures

Tuesday, 30 September 2014 by Kamran Shahid · 1

Friday, 22 August 2014

Plagiarism Checker - OS X Mavericks (Eclipse Java)

Main Concept:
The idea is to compare each characters and strings in a file pair to determine the similarity rate between them. Purpose of the application is to check for copied programming codes and essays. For codes we use keywords and identifiers in order to check if both have similar logistical structures and for the essays we just use the approach of finding many similar words are there between two files.

Features:

  • Supported Formats : .cs and .txt
  • Check Methods "For Essay" and "For Code".
  • Can upload multiple files from a folder easily.
  • Similar Position Highlights available.
  • Can check similarity between all the files pair by pair in-order to successfully judging cheated material.


Developed In:
-  OS X Mavericks
-  Eclipse 4.3 KEPLER (Java)
-  SWT The Standard Widget Toolkit for Graphical User Interface.
-  Java SE Runtime Environment 7 (JRE 1.7)



Development Credits: Kamran ShahidFauzia Shahryar And Samina Zubair

Friday, 22 August 2014 by Kamran Shahid · 0

Sunday, 17 August 2014

Story Crawler - Crawling RSS News Feeds And Maintaining a Database

Main Concept:
--> Crawling news (from the Internet).
--> Storing it into the database.
--> Retrieving information from the database to the application.

The application crawls the RSS feeds from the available sources. Stores all the gathered information in a Database. Then, we can retrieve the information on different views from the Database. Information flow is automatic and we do not control what gets in and out from the database as sources provides the input and our application views shows the output.


Features:
  • Crawling RSS feeds from predefined 15 sources 5 each (BBC, CNN, GoogleNews) and more sources can get added too.
  • Once news is synced, application works completely offline you can not only view the details about a story but also the full news story as it stores whole HTML webpages into the database.
  • Admin panel is available in-case you want to see how data is stored in the database or want to delete a news or clear the whole database.
  • SQL Wildcards are supported with search options; "SeachBy Title", "SearchBy Description", "Search in provided date range".
Setting it up:
  1. Download the package from the download section below.
  2. Attach the database to your MS SQL Server.
  3. Open project file and goto "App.config". Provide the correct connection string there or change the name "Dexter" to your SQL Server Instance name -> Save.
  4. Run application -> Click on "Update Resources" button (This will build sources in the database)
    - Requires 1 minute approx depending on your internet speed.
  5. Click on "Sync All" button (This will start crawling RSS feeds from the internet and retrieving and storing information to your database)
    Requires 1-30 minute(s) approx depending on your internet speed.

You are Ready to go!!



Developed In:
-  MS Visual Studio 2010 (Using .Net Framework 4)
-  MS SQL Server 2008 R2 Service Pack 3

Sunday, 17 August 2014 by Kamran Shahid · 0

Friday, 1 August 2014

File Transfer Protocol - C# Socket Programming

Main Concept:
The idea is based on two applications:
  • The Server Application
  • The Client Application
Multiple Clients can access a server to upload to or download from the server. Server can Broadcast or Multicast files to its connected clients.The Server will also keep the records of transfers into it's database.

The Server and every individual Client is considered a Socket or an Endpoint. Server will interact with each client on a separate thread this way the information of one client will not get corrupted by any other.


Features:
  • Clients can upload files to the server and download hosted files from the server.
  • The Server uses threaded clients approach to interact with each client.
  • Server can Uni-cast, Multicast or Broadcast files.
  • Server maintains a database of file transfers. 

Developed In:
-  Visual Studio 2010 (using .net framework 3.5)
-  MS SQL Server 2008 R2

Development Credit: Kamran Shahid and Fauzia Shahryar 

Friday, 1 August 2014 by Kamran Shahid · 1

Saturday, 26 July 2014

Spell Checker Application - Using C# with Visual Studio 2010

Main Concept:
Spell Checking is done by using Soundex Algorithm to find similar sounding words from the dictionary and then applying Levenstein-Distance Algorithm to get top ranked suggestions.

Features:
  • Back-end unique dictionary compiled from 22 different dictionaries (not available anywhere on the internet)
  • Sound Based Suggestions (Soundex Algorithm)
  • Distance Based Suggestions (Levenshtein Distance Algorithm)
  • All simple text processor features with Ignore, Add To Dictionary, Auto-Correct etc..
  • Can set number of suggestions to display.

Developed In:
-  MS Visual Studio 2010 (using .net framework 3.5)

Saturday, 26 July 2014 by Kamran Shahid · 1

Friday, 25 July 2014

HTML Writer - Written in C# using Irony (Visual Studio 2012)

Main Concept:
Using Hand-Written Context-Free Grammer with some regular expressions in order to successfully parse hyper-text markup language on basic level.
Supported Tags: (With Attributes :: such-as width height href etc.. )
- FONT
- P
- H1, H2, H3, H4, H5, H6, H7

- A
- DIV


Features:

  • Parse and show HTML in a build-in browser if it is consist of the supported tags. 
  • Incase of incorrect syntax the application will detect and show the syntax errors with specific information like error line number, expected characters etc..
  • Tree View supported.
  • Parsing is totally based on Context-Free Grammer which you can view and change as per your needs in "HTMLGrammer" class.

Developed In:
-  MS Visual Studio 2012 (using .net framework 4.5)

Development Credits: 
Kamran Shahid and Abdul Haseeb

Friday, 25 July 2014 by Kamran Shahid · 0

Saturday, 4 January 2014

Simple Download Speed Tester - Using C# with MS Visual Studio 2008

Objective:
To develop an application which will determine the Internet's download rate.

Concept:
To determine our download rate I just used some simple mathematics by noticing the start and end time of our test download then calculating download rate by converting time into kb/sec from seconds.

This application download GoogleTalk's setup file as a test from Google's web server because let's face it, neither I have/want my web server nor it would be as reliable a Google's. We know GoogleTalk's installer is around 1.5 MB in file-size so that we won't be downloading a file too small or too big but just good enough to get our download rate right.

Tools:

- MS Visual Studio 2008 ( .net framework 3.5 )

Compatibility:
Checked with
- MS Windows XP service pack 3
- MS Windows 7 service pack 1


Source Tutorial:
For a better concept and code understanding see this tutorial

Saturday, 4 January 2014 by Kamran Shahid · 0

Friday, 27 December 2013

DFA and PDA Programming Implementation - Using C# with MS Visual Studio 2008

Deterministic Finitie Automata Implementation:
A program that can read a DFA from a text file, and support the usual functionalities of a DFA (for the ease of programming i took initial state q0 as I, set of input Σ as S and define transitions using T instead of δ). Implemented a DFA with the 5-tuple (Q, S, T, I, F) and the DFA in a textfile looks like :
Q = {p, q, r, s}// Set of all states.
S= {a, b}// Set of input.
I = p // Initial State.
F = s // Final/acceptable state(s).
T(p, a)= q
T(p, b)= p
T(q, a)= r
T(q, b)= p
T(r, a)= s
T(r, b)= r
T(s, a)= s
T(s, b)= r

Download:
Filename: DFA Implementation C#.rar
FileSize: 256.72 KB
Package Contains: DFAProblem(Task), SampleInput file and Projectfile(VS 2008)


Mirror 1:              Click to Download           (DropBox)

PushDownAutomata Implementation:

A program that can read a simple form of PDA without lambda transition from the console or from a file or as a string within the program, and then support the usual functionalities of a PDA (for the ease of programming i took initial state q0 as I, set of input Σ as S, "stack symbols" as R, "lambda" as e and define transitions using T instead of δ). Implemented a PDA with the 7-tuple (Q, S, R, T, I, F) and the PDA in a text-file looks like :
Q = {p, q, r}
S= {a, b, c}
R= {a, b, $} //Set of stack symbols
I = p
F = s
T (p, a, e)= (p,a)
T (p, b, e)= (p,b)
T (p, c, e)= (q, e)
T (q, a, a)= (q, e)
T (q, b, b)= (q, e)
T (q, c, $)= (r, $)

Download:
Filename: PDA Implementation C#.rar
FileSize: 256.92 KB
Package Contains: PDAProblem(Task), SampleInput file and Projectfile(VS 2008)


Mirror 1:              Click to Download           (DropBox)

Friday, 27 December 2013 by Kamran Shahid · 0

Wednesday, 15 May 2013

Website Blocker - Using C# with Visual Studio 2010

Developed In:
-  Visual Studio 2010 (using .net framework 3.5)


Method:
Editing Host file located at C:\WINDOWS\system32\drivers\etc\hosts

Working:
Block Button:
Takes your text from Textbox and put it at the end of lines in host file like:
127.0.0.1        (your text eg. www.facebook.com)
*"127.0.0.1" is your Lan Card's IP and next to it is the "webaddress" you wanted to block access to.

UnBlock Button:
Takes your text from Textbox and search it at host file line by line. If found a line containing it then simply it will erase the whole line.

UnBlockAll Button:
Restore hosts file back to "default" by using hard-coded text in the code.

Compatibility:
-   Tested On MS Windows XP and MS Windows 7 (Both 32 bits)
-   Requires (.net framework 3.5) in MS Windows XP

Download:
Filename: BlockIt.rar
FileSize: 122kb
Package Contains: Project (VS 2010) and Executable (.exe)


Mirror 1:              Click to Download           (DropBox)

Wednesday, 15 May 2013 by Kamran Shahid · 4

Saturday, 9 February 2013

Flexible Unbreakable Display Screens - Endless Posibilities - Samsung CES 2013

About four weeks ago, Samsung showed a radical 'bending' mobile phone at CES 13 in Las Vegas, which developed a feeling that the most anticipated next generation smartphone "Samsung Galaxy S4" could be a flexible OLED display smartphone.

Samsung is looking forward to the whole series of flexible displays, which will be known as Youm. Who knows that the next books will be of AMOLED instead of the papers. 

At CES 2013, Microsoft's chief technical strategy officer, Eric Rudder showed off a prototype device running windows Phone in a flexible AMOLED display.
 

Point to Ponder: If such displays are the future of the mobility then endless possibilities are waiting for us.

Saturday, 9 February 2013 by Kamran Shahid · 0

Subscribe via email

Enter your email address:


All Rights Reserved Kamran Shahid | Blogger Template by Bloggermint