Sei sulla pagina 1di 66

A PROJECT REPORT ON

HOSPITAL MANAGEMENT SYSTEM


FOR THE FINAL FULFILLMENT OF BACHELORS OF COMPUTER APPLICATION (2005-2008)

SUBMITTED TO:

Mr. NAVEEN CHANDRA

SUBMITTED BY :

ANKUR JOHRI
Roll No.: 09869016

C.C.S UNIVERSITY MEERUT

CONTENTS
1ACKNOWLEDGEMENT 2CERTIFICATE FROM THE GUIDE 3INTRODUCTION 4PROFILE OF THE PROJECT 1. THE PROJECT 2. FRONT END 3.BACK END 4.CODING

5MINIMUM REQUIREMENT FOR PROJECT 1. HARDWERE 2. SOFTWERE 6BIBLOGRAPHY

ACKNOWLEDGEMENT
This is a token of gratitude to all those people who have helped me in completion of my project report. Without their cooperation and support this project wouldnt have been in its present condition. They increased my morale from time to time and helped in completing my training and submitting the project report in time. I would like to thank Mr. Naveen Chandra who helped me in organizing the data. Last but not the least I would like to thank all my family members and friends, without their co operation and help it would not be possible.

CERTIFICATE FROM THE COMPANY

CERTIFICATE FROM THE GUIDE

INTRODUCTION

PEPTELLER is one of the only leading companies Manufacturing Telecommunication products in India. It is one of the waste Telecommunication products sellers all over in India having its branches almost in all cities of India. This project report is based on the Hospital management system . This report also brings into light the aspects of the bills and all report generating software. The project is an effort towards changes that are required to keep Pepteller in a leading position in spite of emerging competitors. The topic of my report is HOSPITAL MANAGEMENT SYSTEM.This is a very crucial aspect of any company since it depends on the computerization of a hospital. Unless and until a hospital has good HI-TECH system it can not survive. We have worked on the following modules in the project:1.EMPLOYEES INFORMATION 2.PATIENT INFORMATION 3.PATIENT REPORTS

The Computer department is responsible for processing the computing techniques of a hospital. While doing this it has to keep in mind a lot of aspects like the software accuracy, database & facilities for the bills generation etc. It studies in detail about the report generation Process. So, in this manner this project studies about the services that are the most beneficial, both for the hospital and the job applicants, which ones are more liked by the job applicants and so on !

PROFILE OF THE PROJECT


As the world is moving towards the changes and new working methods, we need to work on the new technologies that can adopt the changes in the working manner. So, the project is dedicated to get some new internet application development. All the efforts in the project have been made to make more & more efficient Website database & e-mail system. Now we will discuss All the tools and techniques used in the project to develop a fast processing application. There are 3 Modules of project:4.Web database processing Using SQL SERVER 2000. 5.E-mail Processing System 6.Live Interview Application The techniques used in developing the project are:1.Active server pages 2.V.B. script 3.Java script 4.Visual basic 5.Visual programming using Microsoft visual Interdev 6 6.HTML & DHTML

Now we will discuss all the project modules in detail.

{ MODULE 1 } WEBSITE DATABASE PROCESSING [USING SQL SERVER 2000]


The main thing behind the heading is that a FORM that would be displayed on the screen when the user will try to access the job application form option on the website of Pepteller. This form is the front end for this module of project. And every time this front end look like an official job application form. The HTML Form tag is used here in application form to transfer all the data of the form to an another active server page which actually receive the data from the application form and make further processing to send the data to the database to be saved. To do this task Action method of form tag has been used. The form tag:<form action=pepcode.asp method=post id=form1 name=form1> . Here action is the name of the active server page which will receive the data of application form. Now next is the display of front end of module 1 and its functioning technique.

FRONT END
[ THE APPLICATION FORM ]

APPLICATION FOR EMPLOYMENT


NOTE:-If during service, any information given below is found to be wrong, dismissal order can be passed without any reference. 1. Post Applied For:2. Name Of Applicant:3. Father's Name:5. Married/Unmarried:6. Date Of Birth: Sex M/F : 4. Father's Occupation:If Married No.of children:Date Month Year

7.Educational qualification:
Educat Year School/ XII Graduation Any other Post graduatio Subjects %age of m X

8. Permanent home Address :9. Address for Correspondence:-

Phone(if any):Phone(if any):-

E-Mail ( if any):-

10. Details of past and present services :


Name of the f From(time) To(time) Post on w hat Salary Reason of lea

11. Known to Employee of this factory. If yes: His name:12. A short resume of family background:
Father Mother Brother1 Brother2 Brother3 Occupation Employed w ith Residing at Name

Relation:-

13. References:- Give names, occupations and address of two persons who are not related to you and to whom we may apply for a reference regarding you.
Reference 1 Reference 2 Employed w ith Name Residing at Occupation

Date:

Submit

As this is the main job application form so the user/applicant will fill it & go for submit. The main idea behind this module is that when applicant submits the form the information in the form will go to the web database of this website. SAVING THE FORM INFORMATION The technique used to save data is SQL server 2000. The whole information in the form is divided in the form of tables. There are 14 tables that have been used to save & access a record simultaneously. The tables are as:- The main table, 5 tables for educational qualification[Xth, Xiith, graduation, post graduation & any other qualification], 1 table for past services details,5 tables for family background [father, mother, brother1, brother2, brother3] & 2 tables for references. When a form is submitted all the tables are updated with the latest records accordingly. The information in every text boxes has been saved using the visual programming of Microsoft visual Interdev 6.0. All the text boxes are directly connected with the related table in the database. The connectivity of every text box has been made using the property of the text boxes. Because the text boxes are not a simple text boxes they are Design time control of Interdev so with having a DSN connection with server and database textbox directly attaches with the tables. We have to just specify the table name from database and the field for the textbox to be connected.

AN EXAMPLE OF DATABASE CONNECTIVITY AND SAVING OF DATA To make the connectivity with the database we used ado data control. Creation of database connectivity:{ dim conn set conn = server.CreateObject("ADODB.connection") conn.Open "DSN = pep","sa","" } And the data from the text boxes has been saved to the data base by coding just in this manner:{ rs_main.AddNew rs_main("post") = Request.Form("txt_post") rs_main.Update rs_main.Close } This was an example to show saving the data of textbox name post into the database.

[BACK END FOR MODULE 1 ]


The back end for this module is MS SQL server 2000 as described earlier. There are 14 tables to maintain the database.

[CODING OF MODULE 1]
The coding of module 1 is divided into 2 parts. First one is the coding of Application form and the second one is the coding of Database connectivity and handling .

CODE OF APPLICATION FORM

<HTML> <HEAD> </HEAD> <form action=pepcode.asp method=post id=form1 name=form1> <BODY> <P align=center><FONT size=5><STRONG style="COLOR: blue"><U>APPLICATION FOR EMPLOYMENT</FONT> </U></STRONG></FONT></P> <H2></H2> <P><FONT color=#0033ff><STRONG><U>NOTE:</U></STRONG>If during service ,any information given below is found to be wrong,dismissal order can be passed without any reference.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT> <P><FONT color=#0033ff><FONT color=#0033ff>1. Post Applied For:-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <INPUT id=text1 name=txt_post></FONT></FONT></P> <P><FONT color=#0033ff><FONT color=#0033ff>2. Name Of Applicant:-&nbsp;&nbsp; &nbsp;<INPUT id=text2 name=txt_name>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;<FONT color=#0033ff>Sex M/F&nbsp;:</FONT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;

&nbsp;<INPUT id=text3 name=txt_sex style="HEIGHT: 22px; WIDTH: 119px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;</FONT></FONT></P> <P><FONT color=#0033ff><FONT color=#0033ff>3. Father's Name:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp; <INPUT id=text4 name=txt_fname>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT color=#0033ff>4.&nbsp;Father's Occupation:-<INPUT id=text5 name=txt_focp style="HEIGHT: 22px; WIDTH: 121px"></FONT></FONT></FONT></P> <P><FONT color=#0033ff><FONT color=#0033ff>5. Married/Unmarried:-&nbsp;&nbsp;&nbsp; <INPUT id=text6 name=txt_mstatus>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp; <FONT color=#0033ff>If Married No.of children:-<INPUT id=text7 name=txt_nochild style="HEIGHT: 22px; WIDTH: 88px"></FONT></FONT></FONT></P> <P><FONT color=#0033ff><FONT color=#0033ff>6. Date Of Birth:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp; Date&nbsp;&nbsp;&nbsp;&nbsp;Month&nbsp;&nbsp;&nbsp;Year &nbsp;&nbsp;</FONT></FONT></P> <P><FONT color=#0033ff> <P><FONT color=#0033ff>(Enclose copy oh High School Certificate,or any other document certifying date of birth)</FONT> </P> <P><FONT color=#0033ff></FONT>&nbsp;<FONT color=#0033ff>7. Educational

Qualification :</FONT> </P> <P><INPUT id=text59 name=text59 readOnly style="BACKGROUND-COLOR: silver; HEIGHT: 22px; WIDTH: 166px" value=" Education"><INPUT id=text60 name=text60 readOnly style="BACKGROUND-COLOR: silver; HEIGHT: 22px; WIDTH: 133px" value=" Year"><INPUT id=text61 name=text61 readOnly style="BACKGROUND-COLOR: silver; HEIGHT: 22px; WIDTH: 180px" value=" School/College"><INPUT id=text62 name=text62 readOnly style="BACKGROUND-COLOR: silver; HEIGHT: 22px; WIDTH: 140px" value=" Subjects"><INPUT id=text63 name=text63 readOnly style="BACKGROUND-COLOR: silver; HEIGHT: 22px; WIDTH: 129px" value=" %age of marks"><INPUT id=text64 name=text64 readOnly name=txt_12_subjects style="HEIGHT: 22px; WIDTH: 141px"><INPUT id=text73 name=txt_12_percent_marks style="HEIGHT: 22px; WIDTH: 126px"><INPUT id=text74 name=text74 readOnly style="HEIGHT: 22px; WIDTH: 165px" value=Graduation><INPUT id=text75 name=txt_grad_year style="HEIGHT: 22px; WIDTH: 135px"><INPUT id=text76 name=txt_grad_school_college style="HEIGHT: 22px; WIDTH: 181px"><INPUT id=text77 name=txt_grad_subjects style="HEIGHT: 22px; WIDTH:

140px"><INPUT id=text78 name=txt_grad_percent_marks style="HEIGHT: 22px; WIDTH: 126px"><INPUT id=text79 name=text79 readOnly style="HEIGHT: 22px; WIDTH: 166px" value="Post graduation"><INPUT id=text80 name=txt_pg_year style="HEIGHT: 22px; WIDTH: 134px"><INPUT id=text81 name=txt_pg_school_college style="HEIGHT: 22px; WIDTH: 183px"><INPUT id=text82 name=txt_pg_subjects style="HEIGHT: 22px; WIDTH: 138px"><INPUT id=text83 name=txt_pg_percent_marks style="HEIGHT: 22px; WIDTH: 124px"><INPUT id=text84 name=text84 readOnly style="HEIGHT: 22px; WIDTH: 167px" value="Any other"><INPUT id=text85 name=txt_any_year style="HEIGHT: 22px; WIDTH: 133px"><INPUT id=text86 name=txt_any_school_college style="HEIGHT: 22px; WIDTH: 183px"><INPUT id=text87 name=text87 style="HEIGHT: 22px; WIDTH: 138px"><INPUT id=text88 name=txt_any_percent_marks style="HEIGHT: 22px; WIDTH: 123px"> </P> <P><FONT color=#0033ff>8. Permanent home Address&nbsp;:-&nbsp;&nbsp;&nbsp;&nbsp; <INPUT id=text89 name=txt_padd style="HEIGHT: 22px; WIDTH: 184px"><FONT color=#0033ff> <P><FONT color=#0033ff>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT><FONT color=#0033ff>E-Mail ( if any):-<INPUT

id=text93 name=txt_email style="HEIGHT: 22px; WIDTH: 185px">&nbsp;</FONT></P> <P><FONT color=#0033ff><FONT color=#0033ff>10. Details of past and present services :</FONT></FONT></P></FONT> <P><INPUT id=text11 name=text11 style="BACKGROUNDCOLOR: silver; HEIGHT: 22px; WIDTH: 173px" value=" Name of the firm" readOnly><INPUT id=text12 name=text12 style="BACKGROUND-COLOR: silver; HEIGHT: 22px; WIDTH: 89px" value=From(time) readOnly><INPUT id=text13 name=text13 style="BACKGROUND-COLOR: silver; HEIGHT: 22px; WIDTH: 90px" value=" To(time)" readOnly><INPUT id=text14 name=text14 style="BACKGROUND-COLOR: silver; HEIGHT: 22px; WIDTH: 127px" value="Post on what job" readOnly><INPUT id=text15 WIDTH: 89px"><INPUT id=text19 name=txt_past_details_to_time1 style="HEIGHT: 22px; WIDTH: 90px"><INPUT id=text20 name=txt_past_details_post_job1 style="HEIGHT: 22px; WIDTH: 126px"><INPUT id=text21 name=txt_past_details_salary1 style="HEIGHT: 22px; WIDTH: 94px"><INPUT id=text22 name=txt_past_details_reason_leaving1txt_past_details_reason_lea ving1 style="HEIGHT: 22px; WIDTH: 153px"><INPUT id=text23 name=txt_past_details_name2 style="HEIGHT: 22px; WIDTH: 173px"><INPUT id=text24 name=txt_past_details_from_time2 style="HEIGHT: 22px; WIDTH: 88px"><INPUT id=text25 name=txt_past_details_to_time2 style="HEIGHT: 22px; WIDTH: 91px"><INPUT id=text26 name=txt_past_details_post_job2

style="HEIGHT: 22px; WIDTH: 126px"><INPUT id=text27 name=txt_past_details_salary2 style="HEIGHT: 22px; WIDTH: 93px"><INPUT id=text28 name=txt_past_details_reason_leaving2 style="HEIGHT: 22px; WIDTH: 155px"><INPUT id=text29 name=txt_past_details_name3 style="HEIGHT: 22px; WIDTH: 174px"><INPUT id=text30 name=txt_past_details_from_time3 style="HEIGHT: 22px; WIDTH: 87px"><INPUT id=text31 name=txt_past_details_to_time3 style="HEIGHT: 22px; WIDTH: 91px"><INPUT id=text32 name=txt_past_details_post_job3 style="HEIGHT: 22px; WIDTH: 126px"><INPUT id=text33 name=txt_past_details_salary3 style="HEIGHT: 22px; WIDTH: 93px"><INPUT id=text34 name=txt_past_details_reason_leaving3 style="HEIGHT: 22px; WIDTH: 154px"><INPUT id=text35 name=txt_past_details_name4 style="HEIGHT: 22px; WIDTH: 174px"><INPUT id=text36 name=txt_past_details_from_time4 style="HEIGHT: 22px; WIDTH: 87px"><INPUT id=text37 name=txt_past_details_to_time4 style="HEIGHT: 22px; WIDTH: 91px"><INPUT id=text38 name=txt_past_details_post_job4 style="HEIGHT: 22px; WIDTH: 125px"><INPUT id=text39 name=txt_past_details_salary4 style="HEIGHT: 22px; WIDTH: 94px"><INPUT id=text40 name=txt_past_details_reason_leaving4 style="HEIGHT: 22px; WIDTH: 153px"><INPUT id=text41 style="HEIGHT: 22px; WIDTH: 154px"><INPUT id=text47 name=txt_past_details_name6 style="HEIGHT: 22px; WIDTH: 175px"><INPUT id=text48 name=txt_past_details_from_time6

style="HEIGHT: 22px; WIDTH: 86px"><INPUT id=text49 name=txt_past_details_to_time6 style="HEIGHT: 22px; WIDTH: 92px"><INPUT id=text50 name=txt_past_details_post_job6 style="HEIGHT: 22px; WIDTH: 123px"><INPUT id=text51 name=txt_past_details_salary6 style="HEIGHT: 22px; WIDTH: 94px"><INPUT id=text52 name=txt_past_details_reason_leaving6 style="HEIGHT: 22px; WIDTH: 155px"><INPUT id=text53 name=txt_past_details_name7 style="HEIGHT: 22px; WIDTH: 175px"><INPUT id=text54 name=txt_past_details_from_time7 style="HEIGHT: 22px; WIDTH: 86px"><INPUT id=text55 name=txt_past_details_to_time7 style="HEIGHT: 22px; WIDTH: 92px"><INPUT id=text56 name=txt_past_details_post_job7 style="HEIGHT: 22px; WIDTH: 123px"><INPUT id=text57 name=txt_past_details_salary7 style="HEIGHT: 22px; WIDTH: 94px"><INPUT id=text58 name=txt_past_details_reason_leaving7 style="HEIGHT: 22px; WIDTH: 155px"></P> <P>&nbsp;<FONT color=#0033ff>11. Known to Employee of this factory.If yes:</FONT> </P> <P><INPUT iame=txt_family_back_employed_father style="HEIGHT: 22px; WIDTH: 120px"><INPUT id=text116 name=txt_family_back_employed_mother style="HEIGHT: 22px; WIDTH: 116px"><INPUT id=text117 name=txt_family_back_residing_brother3 style="HEIGHT: 22px; WIDTH: 118px"></P>

<P>&nbsp;13. References:- Give names,occupations and address of

two persons&nbsp;who are not related to you and&nbsp;to whom we may apply for a reference regarding you.</P> <P>px"><INPUT id=text132 name=text132 style="HEIGHT: 22px; WIDTH: 195px" value=Occupation readOnly><INPUT id=text133 name=txt_refer_occp_refer1 style="HEIGHT: 22px; WIDTH: 282px"><INPUT id=text134 name=txt_refer_occp_refer2 style="HEIGHT: 22px; WIDTH: 270px"><INPUT id=text135 name=text135 style="HEIGHT: 22px; WIDTH: 194px" value="Employed with" readOnly><INPUT id=text136 name=txt_refer_employed_refer1 style="HEIGHT: 22px; WIDTH: 283px"><INPUT id=text137 name=txt_refer_employed_refer2 style="HEIGHT: 22px; WIDTH: 269px"> </FONT></P> <P>Signeture of Applicant:-</P> <P><INPUT id=text142 name=txt_signature style="HEIGHT: 22px; WIDTH: 166px"><INPUT id=submit1 name=submit1 style="HEIGHT: 24px; WIDTH: 132px" type=submit value=Submit>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </P> <P><FONT color=#0033ff>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT></P></FONT></BODY> </form> </HTML>

CODE OF DATABASE CONNECTIVITY & HANDLING


<%@ Language=VBScript %> <HTML> <HEAD> </HEAD> <BODY> <P>&nbsp;</P> <% 'connection dim conn set conn=server.CreateObject("ADODB.connection") conn.Open "DSN=pep","sa","" 'MAIN TABLE STARTS dim rs_main set rs_main=server.CreateObject("ADODB.recordset") rs_main.Open "main",conn,1,2 rs_main.AddNew rs_main("post")=Request.Form("txt_post") rs_main("name")=Request.Form("txt_name") rs_main("sex")=Request.Form("txt_sex") rs_main("fname")=Request.Form("txt_fname") rs_main("focp")=Request.Form("txt_focp") rs_main("mstatus")=Request.Form("txt_mstatus") rs_main("nochild")=Request.Form("txt_nochild") rs_main("date_d")=Request.Form("txt_date_d") rs_main("date_m")=Request.Form("txt_date_m")

rs_main("date_y")=Request.Form("txt_date_y") rs_main("padd")=Request.Form("txt_padd") rs_main("pphone")=Request.Form("txt_pphone") rs_main("cadd")=Request.Form("txt_cadd") rs_main("cphone")=Request.Form("txt_cphone") rs_main("email")=Request.Form("txt_email") rs_main("known_ename")=Request.Form("txt_known_ename") rs_main("known_erel")=Request.Form("txt_known_erel") rs_main("date")=Request.Form("txt_date") rs_main("signature")=Request.Form("txt_signature") rs_main.Update rs_main.Close MAIN TABLE ENDS 'EDUCATION TABLE STARTS 'TABLE EDU_TENTH STARTS dim rs_edu_tenth set rs_edu_tenth=server.CreateObject("ADODB.recordset") rs_edu_tenth.Open "edu_tenth",conn,1,2 rs_edu_tenth.AddNew rs_edu_tenth("year")=Request.Form("txt_tenth_year") rs_edu_tenth("school_college")=Request.Form("txt_tenth_school_c ollege") rs_edu_tenth("subjects")=Request.Form("txt_tenth_subjects") rs_edu_tenth("percent_marks")=Request.Form("txt_tenth_percent_ marks") rs_edu_tenth.Update rs_edu_tenth.close 'table ed_tenth ends

'table edu_twelth starts dim rs_edu_12 set rs_edu_12=server.CreateObject("ADODB.recordset") rs_edu_12.Open "edu_twelve",conn,1,2 rs_edu_12.AddNew rs_edu_12("year")=Request.Form("txt_12_year") rs_edu_12("school_college")=Request.Form("txt_12_school_colleg e") rs_edu_12("subjects")=Request.Form("txt_12_subjects") rs_edu_12("percent_marks")=Request.Form("txt_12_percent_marks ") rs_edu_12.Update rs_edu_12.close 'table edu_twelth ends 'table edu_grad starts dim rs_edu_grad set rs_edu_grad=server.CreateObject("ADODB.recordset") rs_edu_grad.Open "edu_grad",conn,1,2 rs_edu_grad.AddNew rs_edu_grad("year")=Request.Form("txt_grad_year") rs_edu_grad("school_college")=Request.Form("txt_grad_school_col lege") rs_edu_grad("subjects")=Request.Form("txt_grad_subjects") rs_edu_grad("percent_marks")=Request.Form("txt_grad_percent_m arks") rs_edu_grad.Update rs_edu_grad.close 'table edu_grad ends table edu_pg starts dim rs_edu_pg set rs_edu_pg=server.CreateObject("ADODB.recordset") rs_edu_pg.Open "edu_pg",conn,1,2 rs_edu_pg.AddNew

rs_edu_pg("year")=Request.Form("txt_pg_year") rs_edu_pg("school_college")=Request.Form("txt_pg_school_colleg e") rs_edu_pg("subjects")=Request.Form("txt_pg_subjects") rs_edu_pg("percent_marks")=Request.Form("txt_pg_percent_marks ") rs_edu_pg.Update rs_edu_pg.close 'table edu_pg ends 'table edu_any starts dim rs_edu_any set rs_edu_any=server.CreateObject("ADODB.recordset") rs_edu_any.Open "edu_any",conn,1,2 rs_edu_any.AddNew rs_edu_any("year")=Request.Form("txt_any_year") rs_edu_any("school_college")=Request.Form("txt_any_school_coll ege") rs_edu_any("subjects")=Request.Form("txt_any_subjects") rs_edu_any("percent_marks")=Request.Form("txt_any_percent_mar ks") rs_edu_any.Update rs_edu_any.close 'table edu_any ends 'TABLE PAST_DETAILS STARTS dim rs_past_details set rs_past_details=server.CreateObject("ADODB.recordset") rs_past_details.Open "past_details",conn,1,2 rs_past_details.AddNew rs_past_details("firm_name")=Request.Form("txt_past_details_firm _name1") rs_past_details("from_time")=Request.Form("txt_past_details_from

_time1") rs_past_details("to_time")=Request.Form("txt_past_details_to_time 1") rs_past_details("past_job")=Request.Form("txt_past_details_past_jo b1") rs_past_details("salary")=Request.Form("txt_past_details_salary1") rs_past_details("reason_leaving")=Request.Form("txt_past_details_r eason_leaving1") rs_past_details("firm_name")=Request.Form("txt_past_details_firm _name2") rs_past_details("from_time")=Request.Form("txt_past_details_from _time2") rs_past_details("to_time")=Request.Form("txt_past_details_to_time 2") rs_past_details("past_job")=Request.Form("txt_past_details_past_jo b2") rs_past_details("salary")=Request.Form("txt_past_details_salary2") rs_past_details("reason_leaving")=Request.Form("txt_past_details_r eason_leaving2") rs_past_details("firm_name")=Request.Form("txt_past_details_firm _name3") rs_past_details("from_time")=Request.Form("txt_past_details_from _time3") rs_past_details("to_time")=Request.Form("txt_past_details_to_time 3") rs_past_details("past_job")=Request.Form("txt_past_details_past_jo b3") rs_past_details("salary")=Request.Form("txt_past_details_salary3")

rs_past_details("reason_leaving")=Request.Form("txt_past_details_r eason_leaving3") ) rs_past_details("reason_leaving")=Request.Form("txt_past_details_r

eason_leaving4") rs_past_details("firm_name")=Request.Form("txt_past_details_firm _name6") rs_past_details("from_time")=Request.Form("txt_past_details_from _time6") rs_past_details("to_time")=Request.Form("txt_past_details_to_time 6") rs_past_details("past_job")=Request.Form("txt_past_details_past_jo b6") rs_past_details("salary")=Request.Form("txt_past_details_salary6") rs_past_details("reason_leaving")=Request.Form("txt_past_details_r eason_leaving6") rs_past_details("firm_name")=Request.Form("txt_past_details_firm _name7") rs_past_details("from_time")=Request.Form("txt_past_details_from _time7") rs_past_details("past_job")=Request.Form("txt_past_details_past_jo b8") rs_past_details("salary")=Request.Form("txt_past_details_salary8") rs_past_details("reason_leaving")=Request.Form("txt_past_details_r eason_leaving8") rs_past_details("firm_name")=Request.Form("txt_past_details_firm _name9") rs_past_details("from_time")=Request.Form("txt_past_details_from _time9") rs_past_details("to_time")=Request.Form("txt_past_details_to_time 9") rs_past_details("past_job")=Request.Form("txt_past_details_past_jo b9") rs_past_details("salary")=Request.Form("txt_past_details_salary9") rs_past_details("reason_leaving")=Request.Form("txt_past_details_r

eason_leaving9") rs_past_details.Update rs_past_details.close 'table PAST_DETAILS ends 'TABLE family_back_name starts dim rs_family_back_name set rs_family_back_name=server.CreateObject("ADODB.recordset") rs_family_back_name.Open "family_back_name",conn,1,2 rs_family_back_name.AddNew rs_family_back_name("father")=Request.Form("txt_family_back_n ame_father") rs_family_back_name("mother")=Request.Form("txt_family_back_ name_mother") rs_family_back_name("brother1")=Request.Form("txt_family_back _name_brother1") rs_family_back_name("brother2")=Request.Form("txt_family_back _name_brother2") rs_family_back_name("brother3")=Request.Form("txt_family_back _name_brother3") rs_family_back_name.Update rs_family_back_name.Close 'table family_back_name ENDS 'table family_back_employed STARTS dim rs_family_back_employed set rs_family_back_employed=server.CreateObject("ADODB.recordset ") rs_family_back_employed.Open "family_back_employed",conn,1,2 rs_family_back_employed.AddNew rs_family_back_employed("father")=Request.Form("txt_family_bac k_employed_father") rs_family_back_employed("mother")=Request.Form("txt_family_ba

ck_employed_mother") rs_family_back_employed("brother1")=Request.Form("txt_family_ back_employed_brother1") rs_family_back_employed("brother2")=Request.Form("txt_family_ back_employed_brother2") rs_family_back_employed("brother3")=Request.Form("txt_family_ back_employed_brother3") rs_family_back_employed.Update rs_family_back_employed.Close 'table family_back_employed ENDS 'table family_back_residing STARTS dim rs_family_back_residing set rs_family_back_residing=server.CreateObject("ADODB.recordset") rs_family_back_residing.Open "family_back_residing",conn,1,2 rs_family_back_residing.AddNew rs_family_back_residing("father")=Request.Form("txt_family_back _residing_father") rs_family_back_residing("mother")=Request.Form("txt_family_bac k_residing_mother") rs_family_back_residing("brother1")=Request.Form("txt_family_ba ck_residing_brother1") rs_family_back_residing("brother2")=Request.Form("txt_family_ba ck_residing_brother2") rs_family_back_residing("brother3")=Request.Form("txt_family_ba ck_residing_brother3") rs_family_back_residing.Update rs_family_back_residing.Close 'table family_back_residing ENDS 'table refer_name STARTS dim rs_refer_name set rs_refer_name =server.CreateObject("ADODB.recordsets") rs_refer_name.Open "refer_name",conn,1,2

rs_refer_name.AddNew rs_refer_name("reference1")=Request.Form("txt_refer_name_refer1 ") rs_refer_name("reference2")=Request.Form("txt_refer_name_refer2 ") rs_refer_name.Update rs_refer_name.Close 'table refer_name ENDS 'table refer_occp STARTS dim rs_refer_occp set rs_refer_occp =server.CreateObject("ADODB.recordset") rs_refer_occp.Open "refer_occp",conn,1,2 rs_refer_occp.AddNew rs_refer_occp("reference1")=Request.Form("txt_refer_occp_refer1" ) rs_refer_occp("reference2")=Request.Form("txt_refer_occp_refer2" ) rs_refer_occp.Update rs_refer_occp.Close 'table refer_name ENDS 'table refer_employed STARTS dim rs_refer_employed set rs_refer_employed =server.CreateObject("ADODB.recordset") rs_refer_employed.Open "refer_employed",conn,1,2 rs_refer_employed.AddNew rs_refer_employed("reference1")=Request.Form("txt_refer_employ ed_refer1") rs_refer_employed("reference2")=Request.Form("txt_refer_employ ed_refer2") rs_refer_employed.Update rs_refer_employed.Close 'table refer_name ENDS conn.Close

%> </BODY> </HTML>

This was the final code of module 1[WEBSITE


DATABASE PROCESSING USING SQL SERVER 2000]

[ MODULE 2 ]

[ E-MAIL PROCESSING SYSTEM ]


This is the second module of our project. This module is covering a very exiting area of internet- The E-mail . The main idea behind this module is develop such a system in which every time when an applicant submit the application form on the website of Pepteller, automatically an E-mail is generated & transferred to the peptellers recrument account. The task has been perfomed in this module in a very perfect manner to transfer an E-mail having all information of application form when user submits it.

FRONT END
[ THE APPLICATION FORM ] The application form in this module is same as of module 1. Because these two tasks of saving the data of application

form in a database & sending it through e-mail is performed at same time when user presses the submit button of application form so we have used same form in module 1 & module 2. Proper constraints has also been applied onto the form. Like while submitting the manadatory fields like name, phone no. etc. can never be left blank. If by mistakes any this type of situation occur, the alert messages alarms the user not to make such mistakes.

SENDING THE DATA VIA E-MAIL


The data of the application form has been transferred in a very quick and reliable manner. WE have used CDO architecture for this purpose. CDO is a special type of server object used to send and receive e-mail. Working of cdo object is very easy. The working of cdo object to send an email is shown here:-

{ set msg = server.CreateObject("CDONTS.NewMail") msg.From = sendemail1 msg.To = recipient msg.Subject = subject msg.MailFormat = 0 msg.BodyFormat = 1 msg.Body = body msg.Send }

Here after creating an object of cdonts we have just described the source and target e-mail id with subject and messege body and a mail is ready to be sent.

[BACK END CODING OF MODULE 2]


[CODE OF E-MAIL SENDING]
<%@Language=VBScript%> <HTML> <BODY> <% Dim msg,sendemail1,subject,recipient,body sendemail1="vivekahuja81@hotmail.com" ' this is enquirer's mail address

subject="Attn: Marketing Deptt. Mail from www.pepteller.com" recipient="vivek.ahuja@indiatimes.com" body= "GENERAL INFORMATION ABOUT APPLICANT:----->" & chr(10) & " Post:- " & Request.Form("txt_post")& chr(10) & " Name : " & Request.Form("txt_name") & chr(10) & " Sex : " & Request.Form("txt_sex") & Chr(10) & " Father name : " & Request.Form("txt_fname") & Chr(10) & " Father occupation : " & Request.Form("txt_focp") & Chr(10) & " Merried/unmerried : " & Request.Form("txt_mstatus") & Chr(10) & " No. of child : " & Request.Form("txt_nochild") & Chr(10) & " Date of birth(date) : " & Request.Form("txt_date_d") & Chr(10) & " Date of birth(month) : " & Request.Form("txt_date_m") & Chr(10) & " Date of birth(year) : " & Request.Form("txt_date_y") & Chr(10) & " Postel address : " & Request.Form("txt_padd") & Chr(10) & " Phone(permanent) : " & Request.Form("txt_pphone") & Chr(10) & " Correspondense address : " &

Request.Form("txt_cadd") & Chr(10) & " Phone for correspondense : " & Request.Form("txt_cphone") & Chr(10) & " E-mail : " & Request.Form("txt_email") & Chr(10) & " Employee known in pepteller : " & Request.Form("txt_known_ename") & Chr(10) & " Relation with the known employee : " & Request.Form("txt_known_erel") & Chr(10) & " Current date : " & Request.Form("txt_date") & Chr(10) & " Signature : " & Request.Form("txt_signature")& Chr(10) & chr(10) & "DETAILS OF QUALIFICATION OF APPLICANT:----->" & chr(10) & "Details of qualification of 10th stendered:--> : " & Chr(10) & " Year of 10th

stendered : " & Request.Form("txt_tenth_year")& Chr(10) & " College of 10th stendered : " & Request.Form("txt_tenth_school_college")& Chr(10) & " Subjects of 10th stendered : " & Request.Form("txt_tenth_subjects")& Chr(10) & " Percentage of marks of 10th stendered : " & Request.Form("txt_tenth_percent_marks") & Chr(10) & chr(10) & " Details of qualification of 12th stendered:--> " & Chr(10) & " Year of 12th stendered : " & Request.Form("txt_12_year")& Chr(10) & " College of 12th stendered : " & Request.Form("txt_12_school_college")& Chr(10) & " Subjects of 12th stendered : " & Request.Form("txt_12_subjects")& Chr(10) & " Percentage of marks of 12th stendered : " & Request.Form("txt_12_percent_marks")& Chr(10) & chr(10) & "Details of graduation:--> : " & Chr(10) & " Year of graduation : " & Request.Form("txt_grad_year")& Chr(10) & " College of graduation : " & Request.Form("txt_grad_school_college")& Chr(10) & " Subjects of graduation : " & Request.Form("txt_grad_subjects")& Chr(10) & " Percentage of marks of graduation : " & Request.Form("txt_grad_percent_marks")& Chr(10) & chr(10) & " Datails of post graduation:--> : " & Chr(10) & " Year of post graduation : " & Request.Form("txt_pg_year")& Chr(10) & " College of post greduation : " & Request.Form("txt_pg_school_college")& Chr(10) & " Subjects of post greduation : " & Request.Form("txt_pg_subjects")& Chr(10) & " Percentage of marks of post greduation : " & Request.Form("txt_pg_percent_marks")& Chr(10) &

chr(10) & " Datails of anyother qualification:--> " & Chr(10) & " Year : " & Request.Form("txt_any_year")& Chr(10) & " College : " & Request.Form("txt_any_school_college")& Chr(10) & " Subjects : " & Request.Form("txt_any_subjects")& Chr(10) & " Percentage of marks : " & Request.Form("txt_any_percent_marks")& Chr(10) & chr(10) & "DETAILS OF PAST SERVICES:-----> "& Chr(10)& " (1)Details of 1st service:--> "& Chr(10) & " Name of the firm : " & Request.Form("txt_past_details_name1")& Chr(10) & " From(time) : " & Request.Form("txt_past_details_from_time1")& Chr(10) & " To(time): " & Request.Form("txt_past_details_to_time1")& Chr(10) & " Post of what job : " & Request.Form("txt_past_details_post_job1")& Chr(10) & " Salary : " & Request.Form("txt_past_details_salary1")& Chr(10) & " Reason of leaving : " & Request.Form("txt_past_details_reason_leaving1")& Chr(10) & chr(10) & " (2)Details of 2nd service:-->" & Chr(10) & " Name of the firm : " & Request.Form("txt_past_details_name2")& Chr(10) & " From(time) : " & Request.Form("txt_past_details_from_time2")& Chr(10) & " To(time): " & Request.Form("txt_past_details_to_time2")& Chr(10) & " Post of what job : " & Request.Form("txt_past_details_post_job2")& Chr(10) & " Salary : " & Request.Form("txt_past_details_salary2")& Chr(10) & " Reason of leaving : " & Request.Form("txt_past_details_reason_leaving2")& Chr(10) & chr(10) & " (3)Details of 3rd service:-->" &

Chr(10) & " Name of the firm : " & Request.Form("txt_past_details_name3")& Chr(10) & " From(time) : " & Request.Form("txt_past_details_from_time3")& Chr(10) & " To(time): " & Request.Form("txt_past_details_to_time3")& Chr(10) & " Post of what job : " & Request.Form("txt_past_details_post_job3")& Chr(10) & " Salary : " & Request.Form("txt_past_details_salary3")& Chr(10) & " Reason of leaving : " & Request.Form("txt_past_details_reason_leaving3")& Chr(10) & chr(10) & " (4)Details of 4th service:-->" & Chr(10) & " Name of the firm : " & Request.Form("txt_past_details_name4")& Chr(10) & " From(time) : " & Request.Form("txt_past_details_from_time4")& Chr(10) & " To(time): " & Request.Form("txt_past_details_to_time4")& Chr(10) & " Post of what job : " & Request.Form("txt_past_details_post_job4")& Chr(10) & " Salary : " & Request.Form("txt_past_details_salary4")& Chr(10) & " Reason of leaving : " & Request.Form("txt_past_details_reason_leaving4")& Chr(10) & chr(10) & " (5)Details of 5nd service:-->" & Chr(10) & " Name of the firm : " & Request.Form("txt_past_details_name5")& Chr(10) & " From(time) : " & Request.Form("txt_past_details_from_time5")& Chr(10) & " To(time): " & Request.Form("txt_past_details_to_time5")& Chr(10) & " Post of what job : " & Request.Form("txt_past_details_post_job5")& Chr(10) & " Salary : " & Request.Form("txt_past_details_salary5")&

Chr(10) & " Reason of leaving : " & Request.Form("txt_past_details_reason_leaving5")& Chr(10) & chr(10) & " (6)Details of 6th service:-->" & Chr(10) & " Name of the firm : " & Request.Form("txt_past_details_name6")& Chr(10) & " From(time) : " & Request.Form("txt_past_details_from_time6")& Chr(10) & " To(time): " & Request.Form("txt_past_details_to_time6")& Chr(10) & " Post of what job : " & Request.Form("txt_past_details_post_job6")& Chr(10) & " Salary : " & Request.Form("txt_past_details_salary6")& Chr(10) & " Reason of leaving : " & Request.Form("txt_past_details_reason_leaving6") & Chr(10) & chr(10) & "DETAILS OF FAMILY BACKGROUND:----->" & Chr(10) & " Details of father:-> " & chr(10) & " Name of father : " & Request.Form("txt_family_back_name_father")& Chr(10) & " Occupation of father : " & Request.Form("txt_family_back_occp_father")& Chr(10) & " Father employed with " & Request.Form("txt_family_back_employed_father")& Chr(10) & " Father residing at : " & Request.Form("txt_family_back_residing_father")& Chr(10) & chr(10) & " Details of Mother:--> " & chr(10) & " Name of mother : " & Request.Form("txt_family_back_name_mother")& Chr(10) & " Occupation of mother : " & Request.Form("txt_family_back_occp_mother")& Chr(10) & " Mother employed with " & Request.Form("txt_family_back_employed_mother")& Chr(10) & " Mother residing at : " & Request.Form("txt_family_back_residing_mother")&

Chr(10) & chr(10) & " Details of Brother1:--> " & chr(10) & " Name of Brother1 : " & Request.Form("txt_family_back_name_Brother1")& Chr(10) & " Occupation of Brother1 : " & Request.Form("txt_family_back_occp_Brother1")& Chr(10) & " Brother1 employed with " & Request.Form("txt_family_back_employed_Brother1")& Chr(10) & " Brother1 residing at : " & & " Name of Brother3 : " & Request.Form("txt_family_back_name_Brother3")& Chr(10) & " Occupation of Brother3 : " & Request.Form("txt_family_back_occp_Brother3")& Chr(10) & " Brother3 employed with " & Request.Form("txt_family_back_employed_Brother3")& Chr(10) & " Brother3 residing at : " & Request.Form("txt_family_back_residing_Brother3")& Chr(10) & chr(10) & "DETAILS OF REFERENCES:-----> " & chr(10) & " Name of 1st person : " & Request.Form("txt_refer_name_refer1")& Chr(10) & " Occupation of person 1 : " & Request.Form("txt_refer_occp_refer1")& Chr(10) & " person1 employed with " & Request.Form("txt_refer_employed_refer1")& Chr(10) & " person 1 residing at : " & Request.Form("txt_refer_residing_refer1")& Chr(10) & chr(10) & " Name of 2nd person : " & Request.Form("txt_refer_name_refer2")& Chr(10) & " Occupation of person 2 : " & Request.Form("txt_refer_occp_refer2")& Chr(10) & " person 2 employed with " & Request.Form("txt_refer_employed_refer2")& Chr(10) & " person 2 residing at : " & Request.Form("txt_refer_residing_refer2")& Chr(10)

set msg=server.CreateObject("CDONTS.NewMail") msg.From=sendemail1 msg.To=recipient msg.Subject=subject msg.MailFormat=0 ' CdoMailFormatMime msg.BodyFormat = 1 ' CdoBodyFormatText msg.Body=body msg.Send Response.Write "<br><br><br><br><br><br><br><br><br><br><center> Message Sent Succesfully.</center>" set msg = Nothing %> </BODY> </HTML> This was the final code to send the application forms data to Pepteller recrument department via e-mail.

[MODULE 3] LIVE INTERVIEW APPLICATION [ USING V.B. 6.0]

This is the final module of our project. This module has thrown light on the areas where we need to have some solid computer help background. This area is the live interview with computer. Now there is no need to think again about the data of any applicant after his/her interview. All the data regarding applicant can be accessed via this application if inserted while interviewing. This technique is very much convenient for the company members who need to access the information about the applicants and also about the company members who earlier faced the interview. Basically the application has been developed for the interviewer who take the interview of applicants. All information regarding applicant is saved via software while taking interview for the better analysis. The constraints has also been applied so that not everyone can access the software. The application is password protected and only the author can access it.

[ FRONT END ]
The front end of this application is divided into 2 parts. The first one is Password window and the second one will be the Main form as described earlier will be depicted only then when user insert correct login-id and password in password window.

[ THE PASSWORD FORM ]


The first screen is the password window asking the login id and password. If the id and password are correct the application will continue otherwise there will be an alarming message box.

[ THE MAIN FORM ]

The second screen of the project is the main window in which all the records regarding applicants will be accessed. This window will be displayed if the user of this application has inserted correct login id and password.

The options available in the main form are:1.Add new record 2.Save current record 3.Delete current record 4.Search particular record 5.Move first record 6.Move last record 7.Move next record 8.Move previous record 9.Exit from application

[ BUTTONS & CONSTRAINTS SPECIFICATION ]

When the user clicks on Add new button, all the fields gets blank and cursor moves onto the first text box. on the click of save button the data in the fields is saved as a new record, on click of delete the current is deleted. on the click of search button an input box is displayed. You have to just insert the name of the employee and all

the information regarding him would be displayed. Some pointers button are also available which points/move to the first, last, next, previous record accordingly. And finally an Exit button after pressing what you will come out of that application enviournment. Also if the user tries to do any mistakes like clicking on any button while having no record in the database or moving to any record which does not exist, a message box is displayed with all the error description so that user comes know what wrong he/she has done.

[ BACK END CODING OF MODULE 3 ]


[ CODING OF PASSWORD WINDOW ] Option Explicit Public LoginSucceeded As Boolean Private Sub cmdCancel_Click() 'set the global var to false 'to denote a failed login LoginSucceeded = False

Me.Hide End Sub Private Sub cmdOK_Click() 'check for correct password If txtPassword = "pass" And txtUserName = "nikki" Then 'place code to here to pass the 'success to the calling sub 'setting a global var is the easiest frmLogin.Visible = False Form1.Visible = True LoginSucceeded = True Me.Hide Else MsgBox "Invalid Password, try again!", , "Login" txtPassword.SetFocus SendKeys "{Home}+{End}" End If End Sub Private Sub Form_Load() End Sub

[ CODING OF MAIN FORM WINDOW ]


Private Sub Command1_Click() 'On Error Resume Next If Adodc1.Recordset.RecordCount = 0 Then MsgBox "NO RECORD IS THERE", , "ATTENTION PLESE" Exit Sub End If On Error Resume Next

Adodc1.Recordset.MoveFirst Adodc2.Recordset.MoveFirst Adodc3.Recordset.MoveFirst Adodc4.Recordset.MoveFirst Adodc5.Recordset.MoveFirst Adodc6.Recordset.MoveFirst End Sub Private Sub Command2_Click() On Error Resume Next If Adodc1.Recordset.RecordCount = 0 Then MsgBox "NO RECORD IS THERE", , "ATTENTION PLESE" Exit Sub End If Adodc1.Recordset.MoveNext Adodc2.Recordset.MoveNext Adodc3.Recordset.MoveNext Adodc4.Recordset.MoveNext Adodc5.Recordset.MoveNext Adodc6.Recordset.MoveNext If Adodc1.Recordset.EOF = True Then MsgBox "YOU ARE ON THE LAST RECORD", , "ATTENTION PLESE" Adodc1.Recordset.MoveLast Adodc2.Recordset.MoveLast Adodc3.Recordset.MoveLast Adodc4.Recordset.MoveLast Adodc5.Recordset.MoveLast Adodc6.Recordset.MoveLast End If End Sub

Private Sub Command3_Click() On Error Resume Next If Adodc1.Recordset.RecordCount = 0 Then MsgBox "NO RECORD IS THERE", , "ATTENTION PLESE" Exit Sub End If Adodc1.Recordset.MovePrevious Adodc2.Recordset.MovePrevious Adodc3.Recordset.MovePrevious Adodc4.Recordset.MovePrevious Adodc5.Recordset.MovePrevious Adodc6.Recordset.MovePrevious If Adodc1.Recordset.BOF = True Then MsgBox "YOU ARE ON THE FIRST RECORD", , "ATTENTION PLESE" Adodc1.Recordset.MoveFirst Adodc2.Recordset.MoveFirst Adodc3.Recordset.MoveFirst Adodc4.Recordset.MoveFirst Adodc5.Recordset.MoveFirst Adodc6.Recordset.MoveFirst End If 'On Error Resume Next End Sub Private Sub Command4_Click() On Error Resume Next

If Adodc1.Recordset.RecordCount = 0 Then MsgBox " THERE IS NO RECORD ", , "ATTENTION PLESE" Exit Sub End If Adodc1.Recordset.MoveLast Adodc2.Recordset.MoveLast Adodc3.Recordset.MoveLast Adodc4.Recordset.MoveLast Adodc5.Recordset.MoveLast Adodc6.Recordset.MoveLast End Sub Private Sub Command5_Click() End End Sub

Private Sub DELETE_Click() On Error Resume Next If Adodc1.Recordset.RecordCount = 0 Then MsgBox "NO RECORD IS THERE", , "ATTENTION PLESE" Exit Sub End If Adodc1.Recordset.DELETE Adodc2.Recordset.DELETE Adodc3.Recordset.DELETE Adodc4.Recordset.DELETE Adodc5.Recordset.DELETE Adodc6.Recordset.DELETE

Adodc1.Recordset.UPDATE Adodc2.Recordset.UPDATE Adodc3.Recordset.UPDATE Adodc4.Recordset.UPDATE Adodc5.Recordset.UPDATE Adodc6.Recordset.UPDATE If Not Adodc1.Recordset.EOF Then Adodc1.Recordset.MoveNext Adodc2.Recordset.MoveNext Adodc3.Recordset.MoveNext Adodc4.Recordset.MoveNext Adodc5.Recordset.MoveNext Adodc6.Recordset.MoveNext ElseIf Not Adodc1.Recordset.BOF Then Adodc1.Recordset.MovePrevious Adodc2.Recordset.MovePrevious Adodc3.Recordset.MovePrevious Adodc4.Recordset.MovePrevious Adodc5.Recordset.MovePrevious Adodc6.Recordset.MovePrevious Else MsgBox "THIS WAS THE LAST RECORD IN THE TABLE", , "ATTENTION PLEASE" End If text1(0).SetFocus MsgBox "THE RECORD HAS BEEN DELETED SUCCESSFULLY", , "ATTENTION PLEASE" End Sub

Private Sub Form_Load() Form1.Visible = False frmLogin.Visible = True End Sub Private Sub INSERT_Click() On Error Resume Next Adodc1.Recordset.AddNew Adodc2.Recordset.AddNew Adodc3.Recordset.AddNew Adodc4.Recordset.AddNew Adodc5.Recordset.AddNew Adodc6.Recordset.AddNew Dim i For i = 0 To 37 text1(i).Text = "" Next MsgBox "NOW INSERT FULL RECORD THEN CLICK SAVE BUTTON ", , "ATTENTION PLESE" text1(0).SetFocus End Sub Private Sub Picture2_Click() End Sub Private Sub search_Click() On Error GoTo SQLERROR If Adodc1.Recordset.RecordCount = 0 Then MsgBox "NO RECORD IS THERE", , "ATTENTION PLESE" Exit Sub

End If Dim i, cont Dim flag With Adodc1.Recordset cont = .RecordCount If cont <> 0 Then .MoveLast .MoveFirst End If i = InputBox("enter the name of candidate for search", search) cont = .RecordCount Adodc2.Recordset.MoveFirst Adodc3.Recordset.MoveFirst Adodc4.Recordset.MoveFirst Adodc5.Recordset.MoveFirst Adodc6.Recordset.MoveFirst For z = 1 To cont If .EOF = True Then MsgBox "this is the only record", , "ATTENTION PLESE" .MoveFirst text1(0) = .Fields("name_c").Value text1(1) = .Fields("test_held").Value text1(2) = .Fields("inter_held").Value text1(25) = .Fields("ot_remarks").Value text1(26) = .Fields("reference").Value text1(27) = .Fields("refer_date").Value text1(28) = .Fields("sign_inter").Value text1(29) = .Fields("call_issued").Value text1(30) = .Fields("app_issued").Value text1(31) = .Fields("post").Value text1(32) = .Fields("salary").Value text1(33) = .Fields("join_date").Value

text1(34) = .Fields("date").Value text1(35) = .Fields("ad_sign").Value With Adodc2.Recordset text1(3) = .Fields("height").Value text1(4) = .Fields("comp").Value text1(37) = .Fields("build").Value text1(5) = .Fields("specs").Value End With With Adodc3.Recordset text1(6) = .Fields("verygood").Value text1(7) = .Fields("good").Value text1(8) = .Fields("ok").Value text1(36) = .Fields("poor").Value text1(9) = .Fields("vpoor").Value End With With Adodc4.Recordset text1(10) = .Fields("verygood").Value text1(11) = .Fields("good").Value text1(12) = .Fields("ok").Value text1(13) = .Fields("poor").Value text1(14) = .Fields("vpoor").Value End With With Adodc5.Recordset text1(15) = .Fields("verygood").Value text1(21) = .Fields("good").Value text1(17) = .Fields("ok").Value text1(18) = .Fields("poor").Value text1(19) = .Fields("vpoor").Value End With

text1(0).SetFocus End If If .BOF = True Then MsgBox "this is the only record", , "ATTENTION PLESE" .MoveLast text1(0) = .Fields("name_c").Value text1(1) = .Fields("test_held").Value text1(2) = .Fields("inter_held").Value text1(25) = .Fields("ot_remarks").Value text1(26) = .Fields("reference").Value text1(27) = .Fields("refer_date").Value text1(28) = .Fields("sign_inter").Value text1(29) = .Fields("call_issued").Value text1(30) = .Fields("app_issued").Value text1(31) = .Fields("post").Value text1(32) = .Fields("salary").Value text1(33) = .Fields("join_date").Value text1(34) = .Fields("date").Value text1(35) = .Fields("ad_sign").Value With Adodc2.Recordset text1(3) = .Fields("height").Value text1(4) = .Fields("comp").Value text1(37) = .Fields("build").Value text1(5) = .Fields("specs").Value End With With Adodc3.Recordset text1(6) = .Fields("verygood").Value text1(7) = .Fields("good").Value text1(8) = .Fields("ok").Value text1(36) = .Fields("poor").Value text1(9) = .Fields("vpoor").Value

End With With Adodc4.Recordset text1(10) = .Fields("verygood").Value text1(11) = .Fields("good").Value text1(12) = .Fields("ok").Value text1(13) = .Fields("poor").Value text1(14) = .Fields("vpoor").Value End With With Adodc5.Recordset text1(15) = .Fields("verygood").Value text1(21) = .Fields("good").Value text1(17) = .Fields("ok").Value text1(18) = .Fields("poor").Value text1(19) = .Fields("vpoor").Value End With With Adodc6.Recordset text1(20) = .Fields("verygood").Value text1(16) = .Fields("good").Value text1(22) = .Fields("ok").Value text1(23) = .Fields("poor").Value text1(24) = .Fields("vpoor").Value End With text1(0).SetFocus End If ' COMPERISON STARTS HERE--> If Trim(UCase(i)) = Trim(UCase(.Fields("name_c").Value)) Then flag = True text1(0) = .Fields("name_c").Value

text1(1) = .Fields("test_held").Value text1(2) = .Fields("inter_held").Value text1(25) = .Fields("ot_remarks").Value text1(26) = .Fields("reference").Value text1(27) = .Fields("refer_date").Value text1(28) = .Fields("sign_inter").Value text1(29) = .Fields("call_issued").Value text1(30) = .Fields("app_issued").Value text1(31) = .Fields("post").Value text1(32) = .Fields("salary").Value text1(33) = .Fields("join_date").Value text1(34) = .Fields("date").Value text1(35) = .Fields("ad_sign").Value With Adodc2.Recordset text1(3) = .Fields("height").Value text1(4) = .Fields("comp").Value text1(37) = .Fields("build").Value text1(5) = .Fields("specs").Value End With With Adodc3.Recordset text1(6) = .Fields("verygood").Value text1(7) = .Fields("good").Value text1(8) = .Fields("ok").Value text1(36) = .Fields("poor").Value text1(9) = .Fields("vpoor").Value End With With Adodc4.Recordset text1(10) = .Fields("verygood").Value text1(11) = .Fields("good").Value text1(12) = .Fields("ok").Value

text1(13) = .Fields("poor").Value text1(14) = .Fields("vpoor").Value End With With Adodc5.Recordset text1(15) = .Fields("verygood").Value text1(21) = .Fields("good").Value text1(17) = .Fields("ok").Value text1(18) = .Fields("poor").Value text1(19) = .Fields("vpoor").Value End With With Adodc6.Recordset text1(20) = .Fields("verygood").Value text1(16) = .Fields("good").Value text1(22) = .Fields("ok").Value text1(23) = .Fields("poor").Value text1(24) = .Fields("vpoor").Value End With text1(0).SetFocus Exit Sub End If .MoveNext Adodc2.Recordset.MoveNext Adodc3.Recordset.MoveNext Adodc4.Recordset.MoveNext Adodc5.Recordset.MoveNext Adodc6.Recordset.MoveNext Next End With

If flag <> True Then MsgBox "No such record found", , "ATTENTION PLESE" End If SQLERROR: MsgBox Err.Description, , "ATTENTION!" End Sub Private Sub UPDATE_Click() If Adodc1.Recordset.RecordCount = 0 Then MsgBox "NO RECORD IS THERE", , "ATTENTION PLESE" Exit Sub End If Dim i For i = 0 To 2 If text1(i).Text = "" Then MsgBox "PLEASE INSERT ANY CORRECT VALUE" text1(i).SetFocus Exit Sub End If Next For i = 25 To 35 If text1(i).Text = "" Then MsgBox "PLEASE INSERT ANY CORRECT VALUE" text1(i).SetFocus Exit Sub End If Next Adodc1.Recordset.Fields("name_c").Value = text1(0)

Adodc1.Recordset.Fields("test_held").Value = text1(1) Adodc1.Recordset.Fields("inter_held").Value = text1(2) Adodc1.Recordset.Fields("ot_remarks").Value = text1(25) Adodc1.Recordset.Fields("reference").Value = text1(26) Adodc1.Recordset.Fields("refer_date").Value = text1(27) Adodc1.Recordset.Fields("sign_inter").Value = text1(28) Adodc1.Recordset.Fields("call_issued").Value = text1(29) Adodc1.Recordset.Fields("app_issued").Value = text1(30) Adodc1.Recordset.Fields("post").Value = text1(31) Adodc1.Recordset.Fields("salary").Value = text1(32) Adodc1.Recordset.Fields("join_date").Value = text1(33) Adodc1.Recordset.Fields("date").Value = text1(34) Adodc1.Recordset.Fields("ad_sign").Value = text1(35)

Adodc2.Recordset.Fields("height").Value = text1(3) Adodc2.Recordset.Fields("comp").Value = text1(4) Adodc2.Recordset.Fields("build").Value = text1(37) Adodc2.Recordset.Fields("specs").Value = text1(5) Adodc3.Recordset.Fields("verygood").Value = text1(6) Adodc3.Recordset.Fields("good").Value = text1(7) Adodc3.Recordset.Fields("ok").Value = text1(8) Adodc3.Recordset.Fields("poor").Value = text1(36) Adodc3.Recordset.Fields("vpoor").Value = text1(9) Adodc4.Recordset.Fields("verygood").Value = text1(10) Adodc4.Recordset.Fields("good").Value = text1(11) Adodc4.Recordset.Fields("ok").Value = text1(12) Adodc4.Recordset.Fields("poor").Value = text1(13) Adodc4.Recordset.Fields("vpoor").Value = text1(14) Adodc5.Recordset.Fields("verygood").Value = text1(15)

Adodc5.Recordset.Fields("good").Value = text1(21) Adodc5.Recordset.Fields("ok").Value = text1(17) Adodc5.Recordset.Fields("poor").Value = text1(18) Adodc5.Recordset.Fields("vpoor").Value = text1(19) Adodc6.Recordset.Fields("verygood").Value = text1(20) Adodc6.Recordset.Fields("good").Value = text1(16) Adodc6.Recordset.Fields("ok").Value = text1(22) Adodc6.Recordset.Fields("poor").Value = text1(23) Adodc6.Recordset.Fields("vpoor").Value = text1(24)

'On Error Resume Next Adodc1.Recordset.UPDATE Adodc2.Recordset.UPDATE Adodc3.Recordset.UPDATE Adodc4.Recordset.UPDATE Adodc5.Recordset.UPDATE Adodc6.Recordset.UPDATE MsgBox "All the records updated", , "ATTENTION PLESE" text1(0).SetFocus End Sub Private Sub Adodc1_Validate(Action As Integer, Save As Integer) Dim REPLY If text1(0).DataChanged Or text1(1).DataChanged Or text1(2).DataChanged Or text1(25).DataChanged Then REPLY = MsgBox("RECORD HAS BEEN CHANGED.WANT TO SAVE?", vbYesNo)

If REPLY = vbNo Then Save = False End If End If End Sub This was the final code of live interview application. So these were our all 3 modules of project on what we have made our all efforts. All the modules were there with all of there working description, there front end layouts, their working techniques, used tools and software and with the most important, their coding !

CONTRIBUTION OF MEMBERS

The power of unity is always known as the biggest power of world. Any work can be done in a much more efficient manner and quickly with more then one manpower. Working on the same concept this project has been developed and formally the credit goes to the active members of this project: ANKUR JOHRI SHIVANK GARG RAHUL GAUTAM

ABHISHEK SRIVASTAVA All the efforts have been shared at each movement of project development by the project members so it is difficult to measure the contribution of members. But finally we can say only that this application was the result of joint labor and minds.

MINIMUM REQUIREMENT FOR PROJECT


HARDWERE REQUIREMENTS

Hardware, in the simple language is the component that can be seen and touched by human. For any application to run on a computer system, there are some minimum hardware requirement. Same for our application the

minimum hardware requirements are:-

1Pentium III or any compatible to it 2845 motherboard 3Ram 128 MB 4A modem [ if want to surf the application on website ] 5And common devices like monitor, keyboard, mouse etc.

SOFTWERE REQUIREMTS

The first thing to do any task is the manner to perform it and need of resources to work on it. Same in a computer application, the manner to perform the task is well known by the developer and also by the live user. But when we come to the resources need, it is the need of minimum hardware and software.

So here we are going to discuss about the minimum software requirement for our project that is :6Windows 95/98 with personal web server [pws] or windows 2000/NT/XP with internet information [iis] or [pws]. 7Microsoft Visual studio [ Visual Basic and Visual Interdev ] 8Internet explorer 9Optionally Microsoft Frontpage and notepad .

BIBLOGRAPHY
The result of labor is always sweet. It is an old say but of very much use, Same on this concept the Application WEB DATABASE & E-MAIL PROCESSING SYSTEM has been developed. We are very much thankful to the writers who have written such type of wonderful books which helped us very much in this application development. The books are:1A.S.P. 3.0 UNLEASED [ *T. M. H.]

2MICROSOFT VISUAL INTERDEV IN 21 DAYS [T. M.H.] 3MASTRING VISUAL BASIC [ T.M.H. ] 4MASTRING V.B. SCRIPT [ T.M.H. ] 5HTML COMPLETE Also we would like to thanks to the company Microsoft for having such a great website with a powerful search engine which helped us too much in understanding and working on cdonts architecture of E-mail processing system.

Note:- TMH stands for- Tata McGraw Hill

Potrebbero piacerti anche