29
Gas Agency Manegment Index Table of Contents Page No. 1. Introduction 2 2. Design and Implementation 3 3. Data structure 9 4.Coding 12 5.Desing Forms 6. Requirements 14 Y.M.Ambajogai Page 1

Blood Report - Copy

Embed Size (px)

Citation preview

Page 1: Blood Report - Copy

Gas Agency Manegment

Index

Table of Contents Page No.

1. Introduction 2

2. Design and Implementation 3

3. Data structure 9

4. Coding 12

5. Desing Forms

6. Requirements 14

7. Conclusion 15

8. Bibliography

Y.M.Ambajogai Page 1

Page 2: Blood Report - Copy

Gas Agency Manegment

About US

The system shows us the work of the gas agency. It provides the connection of new gas refill.

And it also exchanges the full refill instead of empty refill. For that it has the customer all

information. It can also provide different tools related to the gas department. Like

regulators, hotplate, lighters, tubes etc.

For that it has to provide some information. The existing system is work like that. It

provides some information as a written data. It collect customer, stock, booking

information. The information is very useful for the system to work on it. The customer

information having such information like customer name, customer address, phone no or

the other connect no and it also give one id as a customer id. By that the data can enter. In

that we refer that customer have how many refill, when it issue, etc. The other information

is stock information in which we have the information of the stock related item. By that we

can know how many things we have? How many given?, etc. The stock is also very

important. The last information that we collect is the booking. In that we collect the

information of the booking statements. That customer name, when it orders for another

refill, etc.

After that we have to make some reports. The reports are also main feature. In that

reports we consider the all information and all that data. They are too important. In the

report the balance is also consider. So the reports are generally main concept in which we

include the entire agency’s work

Y.M.Ambajogai Page 2

Page 3: Blood Report - Copy

Gas Agency Manegment

IntiductionVisual Basic 6.0

Visual Basic is much more than a complier. It is a complete application development environment that, when used as intended to fully exploit the object oriented nature of C++ to create professional Windows application. In order to take advantage of these features, an understanding of C++ programming language and Microsoft Foundation Class (MFC) hierarchy is needed. This class hierarchy encapsulates the user interface portion of the Windows API, and makes it significantly easier to createWindows application in an object oriented way. This hierarchy is available and compatible with all versions of Windows.

Visual basics come in three categories: The visual basic learning edition

The visual basic professional edition

The visual basic enterprise edition

The visual basic learning edition is the introductory edition that lets you easily create windows applications. It comes with all the tools we need to build mainstream windows applications; most of the examples and the applications work in the learning edition.

The visual basics professional edition is for computer professional is for computer professional and includes advanced features such as tools to develop ActiveX and internet controls. Visual basics and web require the professional edition.

The graphical user interface name suggests uses illustrations for text which enables users to interact with an application. This feature makes it easier to comparison things in quicker and easier way.

Coding in GUI environment is quite or transient to traditional, linear programming method where the user use us guided through a linear path of execution and is limited to small set of operation. In GUI environment the no. of options open for the user is much greater allowing more freedom to the user and

Y.M.Ambajogai Page 3

Page 4: Blood Report - Copy

Gas Agency Manegment

developer. Feature such as easier comprehension, user friendliness, faster application development and may other aspects such as introduction to active-X technology and internet features make visual basic an interesting tool to work with.

Visual basic is developing form basic programming language. In 1970’s Microsoft started developing ROM based interpreted basics for the earlier microprocessor based computers.

In 1982 Microsoft’s Q-basic is revolutionized basic and was legitimized as a serious development language for the MS-DOS environment later on Microsoft’s co-operation created and enhanced version of Basic called the Visual basic for the windows.

Visual Basic 6.0 for the windows requires at least

Microsoft windows-95/98/NT/Me,

Processor: - Minimum Intel-80486 Microprocessor

RAM: - Minimum of 16 MB

A complete installation of the most powerful version of the visual basic 6.0 enterprise edition requires more than 25MB of hard-Disk space.

With Visual Basic we can create the following type of the application.

1. Standard Exe2. Active-X Exe, Active-X DLL3. Active-X control4. Active-X document Exe, Active-X document DLL5. VB application wizard6. VB wizard manager7. Data project8. DHTML application9. IIS-Application10. Add In classes11. VB enterprise edition control

Y.M.Ambajogai Page 4

Page 5: Blood Report - Copy

Gas Agency Manegment

Standard Exe: - Standard Exe project is a typical application. Most of the application in this std. exe project is of user interactive.

Active-X Exe, Active-X DLL: This type of the project is available with the professional addition Active-X components are OLE automation servers.

Active-X components are basic code building components they don’t have a visible interface and that can add special functionality to our applications

Active-X control: - This types of the project also a feature of the professional addition. We can develop our own active-X control. Active-X control such as text box or command button control is the basic element of the user interface. If the active-X controls that comes with the visual; basic don’t provide the functionality user need then we can build our own customer controls

Active-X document Exe, Active-X document DLL: - The active-X documents are in essence visual basic applications that can run the environment of the container that supports hyper linking.

VB application wizard: - The application wizard the user through the steps of setting of the skeleton of a new application. .modifying the skeleton code created by the wizard is just as difficult as developing our own application from the scratch, if not more.

VB wizard manager: - The wizard manager lets us build our own wizard. It is a sequence of the windows that collect information from the user after the user fields out all the windows the wizard proceeds to build an application, install software, or carry out an automatic operation for the end use.

Data project: This is a feature of the enterprise edition and it doesn’t corresponds to new project type it’s identical to the standard exe project type but it automatically adds the control that are used in accessing databases to the tool box. It also adds the database active-x designers to the project explorer window.

DHTML application: - VB 6.0 allows user to build a DHTML pages that can be displayed in the browsers window on the client computer. Even with the

Y.M.Ambajogai Page 5

Page 6: Blood Report - Copy

Gas Agency Manegment

visual basic’s tools we can design DHTML pages without a basic understanding DHTML.

IIS-Application:- VB 6.0 allows to build applications they are run on the web server and interact with clients over the internet with the IIS

Add in classes: - We can create our own add INS for the visual basics IDE. Add INS is special commands we can add to the visual basic menu. To do so select this type of the project. This topic is advanced

VB enterprise edition control: - It simply carets a new slandered exe projects and loads all the tools of the enterprise addition of the visual basic.

Microsoft provides an efficient C++ library called Microsoft Foundation Library that sits on top of any of the Windows API’s. It greatly reduces the amount of code that must be written to create a Windows program. It also provides all the advantages normally found in C++ programming, such as inheritance and encapsulation.

MFC is a large and extensive C++ class hierarchy that makes Windows application that makes Windows application development significantly easier. The advantage of using MFC and C++ as opposed to directly accessing the Windows API from a C program is the MFC already contains and encapsulates all the “boiler plate” code that all Windows program written in C must contain. The hierarchy contains thousands and thousands of lines of correct, optimized and robust Windows code. Many of the member functions that we call invoke code that would have take weeks to write. In this way MFC tremendously accelerates the project development cycle.

Y.M.Ambajogai Page 6

Page 7: Blood Report - Copy

Gas Agency Manegment

About MS- Access

DATABASEA database management, or DBMS, gives the user access to their data and

helps them transform the data into information. Such database management systems include dBase, paradox, IMS, and MS- Access. These systems allow users to create, update and extract information from their database.

A database is a structured collection of data. Data refers to the characteristics of people, things and events. MS- Access stores each data item in its own fields. In MS- Access, the fields relating to a particular person, thing or event are bundled together to form a single complete unit of data, called a record (it can also be referred to as raw or an occurrence). Each record is made up of a number of fields. No two fields in a record can have the same field name.

During an MS- Access Database design project, the analysis of your business needs identifies all the fields or attributes of interest. If your business needs change over time, you define any additional fields or change the definition of existing fields.

MS- Access TablesMS- Access stores records relating to each other in a table. Different tables

are created for the various groups of information. Related tables are grouped together to form a database.Advantages of RDBMS

Redundancy can be avoided Inconsistency can be eliminated Data can be Shared Standards can be enforced Security restrictions ca be applied Integrity can be maintained

Y.M.Ambajogai Page 7

Page 8: Blood Report - Copy

Gas Agency Manegment

Conflicting requirements can be balance Data independence can be achieved.

Disadvantages of DBMSA significant disadvantage of the DBMS system is cost. In addition to the

cost of purchasing of developing the software, the hardware has to be upgraded to allow for the extensive programs and the workspace required for their execution and storage. While centralization reduces duplication, the lack of duplication requires that the database be adequately backed up so that in case of failure the data can be recovered.

Features of MS- ACCESS (RDBMS)MS- ACCESS is the leading database management system (DBMS) because

it is the only Database that meets the uncompromising requirements of today’s most demanding information systems. From complex decision support systems (DSS) to the most rigorous online transaction processing (OLTP) application, even application that require simultaneous DSS and OLTP access to the same critical data, MS- Access leads the industry in both performance and capability.MS- ACCESS is a truly portable, distributed, and open DBMS that delivers unmatched performance, continuous operation and support for every database. MS- ACCESS RDBMS is high performance fault tolerant DBMS which is specially designed for online transactions processing and for handling large database application. MS- ACCESS with transactions processing option offers two features which contribute to very high level of transaction processing throughput.

Y.M.Ambajogai Page 8

Page 9: Blood Report - Copy

Gas Agency Manegment

Data-flow-diagram

Y.M.Ambajogai Page 9

MAIN FORM

Username and password

exit

Donar search

Blood detail

username passsword

Page 10: Blood Report - Copy

Gas Agency Manegment

E-R DIAGRAMS

Y.M.Ambajogai Page 10

Main form

About Stock

Registration

exit

Comm. Booking

About LPG About

Comm

Name

Income

Ph-no

addres

nameSr.No.

B.O.D

Booking

LPG Booking

Add

Price with Dep

NameAdd

Price

Price

Page 11: Blood Report - Copy

Gas Agency Manegment

TABLES

Blood

bid bcaty hb bstock brate

1o+ 12 10 $100.00

2a+ 10 12 $125.00

3o- 12 25 $175.00

Donardid dname dadd dphone dcaty ddate daccept

1Ashwini ambajogai 245631a+ 10/26/2012Koli

2Rupali ambajogai 236514b+ 10/28/2012Kulkarni

4Pranita ambajogai 245861o+ 10/30/2012Tandale

Y.M.Ambajogai Page 11

Page 12: Blood Report - Copy

Gas Agency Manegment

Forms and Coding

Y.M.Ambajogai Page 12

Page 13: Blood Report - Copy

Gas Agency Manegment

Y.M.Ambajogai Page 13

Page 14: Blood Report - Copy

Gas Agency Manegment

Y.M.Ambajogai Page 14

Page 15: Blood Report - Copy

Gas Agency Manegment

Y.M.Ambajogai Page 15

Page 16: Blood Report - Copy

Gas Agency Manegment

Coading

(1)Private Sub Command1_Click()If (Text1.Text = "Gas Agency" And Text2.Text = "PREM") ThenUnload MeForm2.ShowElseMsgBox ("please enter a correct username and password")End IfEnd Sub

Private Sub Command2_Click()EndEnd Sub

(2) Private Sub Command1_Click()Form4.ShowEnd Sub

Private Sub Command2_Click()Form1.ShowEnd Sub(3) Private Sub Command1_Click()Unload MeForm3.ShowEnd Sub

Private Sub Command2_Click()Unload MeForm5.ShowEnd Sub

Private Sub Command3_Click()

Y.M.Ambajogai Page 16

Page 17: Blood Report - Copy

Gas Agency Manegment

Unload MeForm6.ShowEnd Sub

Private Sub Command4_Click()Unload MeForm7.ShowEnd Sub(4) Private Sub Command1_Click()Data1.Recordset.DeleteData1.RefreshEnd Sub

Private Sub Command2_Click()Form4.ShowEnd Sub

Private Sub Command5_Click()'Data1.Recordset.UpdateMsgBox ("Record Saved")End Sub

Private Sub Command6_Click()Data1.Recordset.AddNewEnd Sub

Private Sub Command7_Click()Data1.Recordset.EditEnd Sub

Private Sub Text11_KeyPress(KeyAscii As Integer)If KeyAscii < 45 Or KeyAscii > 75 Then

Y.M.Ambajogai Page 17

Page 18: Blood Report - Copy

Gas Agency Manegment

If KeyAscii <> 13 ThenMsgBox "only use numaric value"End IfEnd IfEnd Sub

Private Sub Text15_KeyPress(KeyAscii As Integer)If KeyAscii < 45 Or KeyAscii > 75 ThenIf KeyAscii <> 13 ThenMsgBox "only use numaric value"End IfEnd IfEnd Sub

Private Sub Text8_KeyPress(KeyAscii As Integer)If KeyAscii < 45 Or KeyAscii > 75 ThenIf KeyAscii <> 13 ThenMsgBox "only use numaric value"End IfEnd IfEnd Sub

Private Sub Text9_KeyPress(KeyAscii As Integer)If KeyAscii < 45 Or KeyAscii > 75 ThenIf KeyAscii <> 13 ThenMsgBox "only use numaric value"End IfEnd IfEnd Sub(5) Private Sub Command1_Click()Form8.ShowEnd Sub

Y.M.Ambajogai Page 18

Page 19: Blood Report - Copy

Gas Agency Manegment

Private Sub Command2_Click()Form9.ShowEnd Sub

Private Sub Command5_Click()Form4.ShowEnd Sub(6) Dim i As IntegerPrivate Sub Command1_Click()Data1.Recordset.MoveFirstFor i = 1 To 10000If Text1.Text <> Label10.Caption ThenData1.Recordset.MoveNextIf Data1.Recordset.EOF = True ThenMsgBox " record not found"End IfElseExit ForEnd IfNext iEnd Sub

Private Sub Command2_Click()Data2.Recordset.AddNewLabel11.Caption = Text1.TextLabel12.Caption = Text3.TextLabel13.Caption = Text8.TextLabel14.Caption = Text9.TextLabel15.Caption = Text2.TextLabel18.Caption = Text4.TextLabel16.Caption = Text5.Text

Y.M.Ambajogai Page 19

Page 20: Blood Report - Copy

Gas Agency Manegment

Label17.Caption = Text6.Text

End Sub

Private Sub Command3_Click()Form4.ShowEnd Sub(7) Private Sub Command4_Click()Data1.Recordset.AddNewEnd Sub

Private Sub Command5_Click()Form4.ShowEnd Sub(8) Private Sub Command1_Click()Form4.ShowEnd Sub

Private Sub Label2_Click()DataReport2.ShowEnd Sub

Private Sub Label3_Click()DataReport1.Show

End Sub(8)

Y.M.Ambajogai Page 20

Page 21: Blood Report - Copy

Gas Agency Manegment

CONCLUSION

Hence here we conclued that our project the VB.NET language is used to design form.we are worked on the Gas Agency Management Project. There are many Gas Agency Management Softwares present in the world. Generally the Gas Management project is based on the previous old platforms, like C++, Foxpro, Lotus, etc.but there are many disadvatages wherever used i.e.very old and low speed in advanced technology world. It is necessary to change this project. Hence our project is based on the VB.Net because it is advaced software. It is easy to understand and work than any other software. In this project the database management playe very important role. We have cerated Gas Agency management project without rerational database management system. We have used MS-Access as a data base.

Future Scope

The project has met the standards required to work at Online Recruitment

system. If the business logic remains same the project can be ported to any other institute with minor changes in the working procedure of the project. The project can be used as an availability to develop a project for a different company with different business logic wherein the commonalties in certain areas remain the same at any business level. By using the common features in future development the development time as well as the cost of development can be decreased considerably.

Y.M.Ambajogai Page 21

Page 22: Blood Report - Copy

Gas Agency Manegment

Requirements

HardwareProcessor : Intel Pentium or moreRam : 256MB or moreCache : 512 KBHard disk : 20 GB hard disk recommended for primary partition.

SoftwareOperating system : All editions: Window2000 or later of windows Frontend Software : Visual Studio 2005 standard edition Backend Software : MS- Access

Y.M.Ambajogai Page 22

Page 23: Blood Report - Copy

Gas Agency Manegment

Bibliography

1. Software Engineering - Roger Pressman

2. VB Programming - Steven Holzner

3. MSDN 2005

Y.M.Ambajogai Page 23