Beruflich Dokumente
Kultur Dokumente
PATRAKARITVISHWAVIDYALYA ,BHOPAL
STUDY CENTRE
Tata Institute of Technology Sidhi
(ISO 9001:2000, Institute)
CERTIFICATE
project work has not been submitted earlier for award of any degree or
carried out for the partial fulfillment of the requirements for the award
work has not been submitted earlier for award of any degree or
to our Chairman Mr. Rameshwar Patel for his invaluable all round
wholehearted co-operation.
Principal Mr. S.K. Joshi who has been a constant of inspiration to us.
Examiner’s Certificate
This is to certify that this student Madhur Nigam BACHELOR OF
COMPUTER APPLICATION IN INFORMATION TECHNOLOGY [BCA(VI)]
2008-09.
Signature Signature
(Internal Examiner) (External Examiner)
Date- Date-
provide a framework that enables the manager to make reasonable estimates of resources
cost and schedule. These estimate are made within a limited time frame at the beginning
In our project I can include PERT chart, cast and benefit analysis, which determine the
Software scope: -
scope. Software scope describes the data and control to be processed, function,
the scope are evaluated and in the same cases refined to provide more detail prior to the
beginning of estimation. Because both cost schedule estimates are functionally oriented,
processing and response time requirement constant identifies limits placed on the
In future I planed it developed this project in client server model or Ib based model so he
in real use.
hearing are seeing it in newspaper, on television and related media. And man I even have
hi-take special effects movies featuring real life teleconferencing, many a hyped up
hacker trying to break in into systems and the like all based on the net.
The Internet As I must have read are heard of some where is network of
networks. If I get to know that the computer is on the net, then I can be sure that it is in
some way are the other connected to all other computers on the net. Amongst
themselves, these computer can exchange information in the form of Ib pages are via E-
mail .are live chat sessions. The www, a part of a Internet is made up of millions of
pages each of each is called Ib page .the details of creating a Ib page and formatting it
about –you guessed it –a particular organization. The reason I distinguish these from
pure informational sites is their narrow focus. Their sole function is to describe the work
Political sites: -sites that has a political agenda to push isn’t limited to dealing with
particular candidates for certain offices in election years. Politics isn’t all about
election .in our definition; such sites also include those with any social agenda that
would be furthered by the passing of appropriate legislation.
Commercial sites: - this is the one simple unambiguous area in the taxonomy –if the
sites are created strictly out of a profit motive, then it’s a commercial site.
stored .it is a commonly used structured tool for displaying the logical aspects of the
system under study. Decision tables are used as a supplement when complex decision
DFD is a graphical representation of a system that shows data flow to from and
being system processing function that changed the data in some manner, and
A data flow diagram is nothing more than a network of related system function that
Flow chart:-
flow chart is a graphicle representation of program. A graphic picture of the
start
if psw is
correct
1.master book
2.transaction
3. reports
4. windows color
5. help
if
DrugEntry
if A
exit
A
If
selected item Drug Detail
Manipulation of record
if Exit
If
selected item Bill of Sell
Manipulation of record
if Exit
A
If
selected item Bill Of Purchase
Manipulation of record
if Exit
If
selected item Search Form
Manipulation of record
if Exit
A
If
selected item data report Show
Manipulation of record
Exit
End
Public Class LoginForm
Inherits System.Windows.Forms.Form
End Sub
End Sub
#End Region
End Sub
End Sub
#End Region
End Sub
Private Sub btnDelete_Click(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles btnDelete.Click
If (Me.BindingContext(objCMD, "DETAILS").Count > 0) Then
Me.BindingContext(objCMD,
"DETAILS").RemoveAt(Me.BindingContext(objCMD, "DETAILS").Position)
Me.objCMD_PositionChanged()
End If
End Sub
Private Sub btnAdd_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btnAdd.Click
Try
'Clear out the current edits
Me.BindingContext(objCMD, "DETAILS").EndCurrentEdit()
Me.BindingContext(objCMD, "DETAILS").AddNew()
Catch eEndEdit As System.Exception
System.Windows.Forms.MessageBox.Show(eEndEdit.Message)
End Try
Me.objCMD_PositionChanged()
End Sub
Private Sub btnUpdate_Click(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles btnUpdate.Click
Try
'Attempt to update the datasource.
Me.UpdateDataSet()
Catch eUpdate As System.Exception
'Add your error handling code here.
'Display error message, if any.
System.Windows.Forms.MessageBox.Show(eUpdate.Message)
End Try
Me.objCMD_PositionChanged()
End Sub
Private Sub btnLoad_Click(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles btnLoad.Click
Try
'Attempt to load the dataset.
Me.LoadDataSet()
Catch eLoad As System.Exception
'Add your error handling code here.
'Display error message, if any.
System.Windows.Forms.MessageBox.Show(eLoad.Message)
End Try
Me.objCMD_PositionChanged()
End Sub
Private Sub btnNavFirst_Click(ByVal sender As System.Object, ByVal
e As System.EventArgs) Handles btnNavFirst.Click
Me.BindingContext(objCMD, "DETAILS").Position = 0
Me.objCMD_PositionChanged()
End Sub
Private Sub btnLast_Click(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles btnLast.Click
Me.BindingContext(objCMD, "DETAILS").Position =
(Me.objCMD.Tables("DETAILS").Rows.Count - 1)
Me.objCMD_PositionChanged()
End Sub
Private Sub btnNavPrev_Click(ByVal sender As System.Object, ByVal
e As System.EventArgs) Handles btnNavPrev.Click
Me.BindingContext(objCMD, "DETAILS").Position =
(Me.BindingContext(objCMD, "DETAILS").Position - 1)
Me.objCMD_PositionChanged()
End Sub
Private Sub btnNavNext_Click(ByVal sender As System.Object, ByVal
e As System.EventArgs) Handles btnNavNext.Click
Me.BindingContext(objCMD, "DETAILS").Position =
(Me.BindingContext(objCMD, "DETAILS").Position + 1)
Me.objCMD_PositionChanged()
End Sub
Private Sub objCMD_PositionChanged()
Me.lblNavLocation.Text = ("RECORD:" +
(Me.BindingContext(objCMD, "DETAILS").Position + 1).ToString)
End Sub
Private Sub btnCancelAll_Click(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles btnCancelAll.Click
Me.objCMD.RejectChanges()
End Sub
Public Sub UpdateDataSet()
'Create a new dataset to hold the changes that have been made
to the main dataset.
Dim objDataSetChanges As pharma1.CMD = New pharma1.CMD
'Stop any current edits.
Me.BindingContext(objCMD, "DETAILS").EndCurrentEdit()
'Get the changes that have been made to the main dataset.
objDataSetChanges = CType(objCMD.GetChanges, pharma1.CMD)
'Check to see if any changes have been made.
If (Not (objDataSetChanges) Is Nothing) Then
Try
'There are changes that need to be made, so attempt to
update the datasource by
'calling the update method and
passing the dataset and any parameters.
Me.UpdateDataSource(objDataSetChanges)
objCMD.Merge(objDataSetChanges)
objCMD.AcceptChanges()
Catch eUpdate As System.Exception
'Add your error handling code here.
Throw eUpdate
End Try
'Add your code to check the returned dataset for any
errors that may have been
'pushed into the row object's error.
End If
End Sub
Public Sub LoadDataSet()
'Create a new dataset to hold the records returned from the
call to FillDataSet.
'A temporary dataset is used because filling the existing
dataset would
'require the databindings to be rebound.
Dim objDataSetTemp As pharma1.CMD
objDataSetTemp = New pharma1.CMD
Try
'Attempt to fill the temporary dataset.
Me.FillDataSet(objDataSetTemp)
Catch eFillDataSet As System.Exception
'Add your error handling code here.
Throw eFillDataSet
End Try
Try
'Empty the old records from the dataset.
objCMD.Clear()
'Merge the records into the main dataset.
objCMD.Merge(objDataSetTemp)
Catch eLoadMerge As System.Exception
'Add your error handling code here.
Throw eLoadMerge
End Try
End Sub
Public Sub UpdateDataSource(ByVal ChangedRows As pharma1.CMD)
Try
'The data source only needs to be updated if there are
changes pending.
If (Not (ChangedRows) Is Nothing) Then
'Open the connection.
Me.OleDbConnection1.Open()
'Attempt to update the data source.
OleDbDataAdapter1.Update(ChangedRows)
End If
Catch updateException As System.Exception
'Add your error handling code here.
Throw updateException
Finally
'Close the connection whether or not the exception was
thrown.
Me.OleDbConnection1.Close()
End Try
End Sub
Public Sub FillDataSet(ByVal dataSet As pharma1.CMD)
'Turn off constraint checking before the dataset is
filled.
'This allows the adapters to fill the dataset
without concern
'for dependencies betIen the tables.
dataSet.EnforceConstraints = False
Try
'Open the connection.
Me.OleDbConnection1.Open()
'Attempt to fill the dataset through the
OleDbDataAdapter1.
Me.OleDbDataAdapter1.Fill(dataSet)
Catch fillException As System.Exception
'Add your error handling code here.
Throw fillException
Finally
'Turn constraint checking back on.
dataSet.EnforceConstraints = True
'Close the connection whether or not the
exception was thrown.
Me.OleDbConnection1.Close()
End Try
End Sub
End Sub
Private Sub editPHONENO_KEYPRESS(ByVal sender As System.Object,
ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles
editPHONE.KeyPress
If e.KeyChar = Chr(13) Then
editMOBILENO.Focus()
End If
End Sub
Private Sub editMOBILENO_KEYPRESS(ByVal sender As System.Object,
ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles
editMOBILENO.KeyPress
If e.KeyChar = Chr(13) Then
editEMAIL_ADDERESS.Focus()
End If
End Sub
Private Sub editEMAILADDRESS_KeyPress(ByVal sender As
System.Object, ByVal e As System.Windows.Forms.KeyPressEventArgs)
Handles editEMAIL_ADDERESS.KeyPress
If e.KeyChar = Chr(13) Then
editREMARK.Focus()
End If
End Sub
Private Sub editSTATE_KeyPress(ByVal sender As System.Object,
ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles
editSTATE.KeyPress
If e.KeyChar = Chr(13) Then
editPHONE.Focus()
End If
End Sub
Private Sub editREMARK_KeyPress(ByVal sender As System.Object,
ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles
editREMARK.KeyPress
If e.KeyChar = Chr(13) Then
editOPENNING_BALANCE.Focus()
End If
End Sub
Private Sub editOPENINGBALANCE_KeyPress(ByVal sender As
System.Object, ByVal e As System.Windows.Forms.KeyPressEventArgs)
Handles editOPENNING_BALANCE.KeyPress
If e.KeyChar = Chr(13) Then
editDISTICT.Focus()
End If
End Sub
Private Sub editDISTICT_KeyPress(ByVal sender As System.Object,
ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles
editDISTICT.KeyPress
If e.KeyChar = Chr(13) Then
editPINCODE.Focus()
End If
End Sub
End If
End Sub
Private Sub editTINNO_KeyPress(ByVal sender As System.Object,
ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles
editTIN_NO.KeyPress
If e.KeyChar = Chr(13) Then
editCR_DAYS.Focus()
End If
End Sub
End If
End Sub
Private Sub editDRCR_KeyPress(ByVal sender As Object, ByVal e As
System.Windows.Forms.KeyPressEventArgs) Handles editDR_CR.KeyPress
If e.KeyChar = Chr(13) Then
editDL_NO.Focus()
End If
End Sub
End Sub
Private Sub editDL_NO_KeyPress(ByVal sender As Object, ByVal e As
System.Windows.Forms.KeyPressEventArgs) Handles editDL_NO.KeyPress
If e.KeyChar = Chr(13) Then
editLIMIT.Focus()
End If
End Sub
Private Sub editLIMIT_KeyPress(ByVal sender As Object, ByVal e As
System.Windows.Forms.KeyPressEventArgs) Handles editLIMIT.KeyPress
If e.KeyChar = Chr(13) Then
btnUpdate.Focus()
End If
End Sub
private Sub Button2_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs)
PD.PrinterSettings = New Printing.PrinterSettings
PD.Document = New Printing.PrintDocument
PD.Document.DocumentName = "c:\anjani\databse\customer.mdb"
PD.AllowPrintToFile = True
PD.AllowPrintToFile = True
PD.AllowSelection = True
PD.AllowSomePages = True
PD.ShowDialog()
PD.Document.Print()
End Sub
End Sub
End Sub
#End Region
End Sub
Private Sub TextBox1_KeyPress(ByVal sender As
System.Object, ByVal e As
System.Windows.Forms.KeyPressEventArgs) Handles
TXTCOMPANYNAME.KeyPress
If e.KeyChar = Chr(13) Then
TXTREPRESENTATIVE.Focus()
End If
End Sub
Private Sub TextBox2_KeyPress(ByVal sender As
System.Object, ByVal e As
System.Windows.Forms.KeyPressEventArgs) Handles
TXTREPRESENTATIVE.KeyPress
If e.KeyChar = Chr(13) Then
TXTSALESMAN.Focus()
End If
End Sub
Private Sub TextBox3_KeyPress(ByVal sender As
System.Object, ByVal e As
System.Windows.Forms.KeyPressEventArgs) Handles
TXTSALESMAN.KeyPress
If e.KeyChar = Chr(13) Then
TXTHEAD.Focus()
End If
End Sub
Private Sub TextBox4_KeyPress(ByVal sender As
System.Object, ByVal e As
System.Windows.Forms.KeyPressEventArgs) Handles
TXTHEAD.KeyPress
If e.KeyChar = Chr(13) Then
TXTREMARK.Focus()
End If
End Sub
End If
End Sub
End Sub
End Sub
END CODD