GOOGLE SEARCH

Monday, March 14, 2011

COM 211 ASSIGNMENT............. (Submit with 20 leaves)

EXPLANATION OF THE IDE COMPONENTS OF THE OOBASIC  PROGRAM INTERFACE   

The Integrated Development Environment (IDE)

One of the most significant changes in Visual Basic 6.0 is the Integrated Development Environment (IDE). IDE is a term commonly used in the programming world to describe the interface and environment that we use to create our applications. It is called integrated because we can access virtually all of the development tools that we need from one screen called an interface. The IDE is also commonly referred to as the design environment, or the program.
Tha Visual Basic IDE is made up of a number of components
  • Menu Bar
  • Tool Bar
  • Project Explorer
  • Properties window
  • Form Layout Window
  • Toolbox
  • Form Designer
  • Object Browser
In previous versions of Visual Basic, the IDE was designed as a Single Document Interface (SDI). In a Single Document Interface, each window is a free-floating window that is contained within a main window and can move anywhere on the screen as long as Visual Basic is the current application. But, in Visual Basic 6.0, the IDE is in a Multiple Document Interface (MDI) format. In this format, the windows associated with the project will stay within a single container known as the parent. Code and form-based windows will stay within the main container form.
Figure 1 The Visual Basic startup dialog box
The Visual Basic startup dialog box

Menu Bar

This Menu Bar displays the commands that are required to build an application. The main menu items have sub menu items that can be chosen when needed. The toolbars in the menu bar provide quick access to the commonly used commands and a button in the toolbar is clicked once to carry out the action represented by it.

Toolbox

The Toolbox contains a set of controls that are used to place on a Form at design time thereby creating the user interface area. Additional controls can be included in the toolbox by using the Components menu item on the Project menu. A Toolbox is represented in figure 2 shown below.
Figure 2 Toolbox window with its controls available commonly.
Toolbox window with its controls available commonly.
Control
Description
Pointer Provides a way to move and resize the controls form
PictureBox Displays icons/bitmaps and metafiles. It displays text or acts as a visual container for other controls.
TextBox Used to display message and enter text.
Frame Serves as a visual and functional container for controls
CommandButton Used to carry out the specified action when the user chooses it.
CheckBox Displays a True/False or Yes/No option.
OptionButton OptionButton control which is a part of an option group allows the user to select only one option even it displays mulitiple choices.
ListBox Displays a list of items from which a user can select one.
ComboBox Contains a TextBox and a ListBox. This allows the user to select an ietm from the dropdown ListBox, or to type in a selection in the TextBox.
HScrollBar and VScrollBar These controls allow the user to select a value within the specified range of values
Timer Executes the timer events at specified intervals of time
DriveListBox Displays the valid disk drives and allows the user to select one of them.
DirListBox Allows the user to select the directories and paths, which are displayed.
FileListBox Displays a set of files from which a user can select the desired one.
Shape Used to add shape (rectangle, square or circle) to a Form
Line Used to draw straight line to the Form
Image used to display images such as icons, bitmaps and metafiles. But less capability than the PictureBox
Data Enables the use to connect to an existing database and display information from it.
OLE Used to link or embed an object, display and manipulate data from other windows based applications.
Label Displays a text that the user cannot modify or interact with.

Project Explorer

Docked on the right side of the screen, just under the tollbar, is the Project Explorer window. The Project Explorer as shown in in figure servres as a quick reference to the various elements of a project namely form, classes and modules. All of the object that make up the application are packed in a project. A simple project will typically contain one form, which is a window that is designed as part of a program's interface. It is possible to develop any number of forms for use in a program, although a program may consist of a single form. In addition to forms, the Project Explorer window also lists code modules and classes.
Figure 3 Project Explorer
Property window

Properties Window

The Properties Window is docked under the Project Explorer window. The Properties Window exposes the various characteristics of selected objects. Each and every form in an application is considered an object. Now, each object in Visual Basic has characteristics such as color and size. Other characteristics affect not just the appearance of the object but the way it behaves too. All these characteristics of an object are called its properties. Thus, a form has properties and any controls placed on it will have propeties too. All of these properties are displayed in the Properties Window.

Object Browser

The Object Browser allows us to browse through the various properties, events and methods that are made available to us. It is accessed by selecting Object Browser from the View menu or pressing the key F2. The left column of the Object Browser lists the objects and classes that are available in the projects that are opened and the controls that have been referenced in them. It is possible for us to scroll through the list and select the object or class that we wish to inspect. After an object is picked up from the Classes list, we can see its members (properties, methods and events) in the right column.
A property is represented by a small icon that has a hand holding a piece of paper. Methods are denoted by little green blocks, while events are denoted by yellow lightning bolt icon.
Object naming conversions of controls (prefix)
Form -frm
Label-lbl
TextBox-txt
CommandButton-cmd
CheckBox -chk
OptionButton -opt
ComboBox -cbo
ListBox-lst
Frame-fme
PictureBox -pic
Image-img
Shape-shp
Line -lin
HScrollBar -hsb
VScrollBar -vsb
Related Topics

Tuesday, January 25, 2011

EARN CASH READING E-MAILS

FREE REGISTRATION
Earn $5.00 per mail
$5,000. 00 payout
Tested and Trusted

CLICK BANNER BELOW TO REGISTER




Tuesday, October 19, 2010

THE ANSI STANDARD FLOWCHART SYMBOLS WITH LABEL


Production Activity Symbols
Rectangle - denotes an activity or operation. This symbol is used when an item or input is changed, through a computer, machine, or manual operation. A short description of the activity performed is contained within the rectangle
Decision
Diamond - denotes a decision point. This symbol is used when there is a decision to be made in the process. The process flow branches off in two or more directions at the decision point. The branch followed depends on the result of the decision. A short description of the decision to be made is contained within the diamond. The branches from the decision point are labelled with the valid results of the decision (e.g., Yes or No, True or False).
Direction
Arrow - denotes the order of steps within the process. It is used to connect the activities and decisions through the process.

Activity
Rectangle with Curved Base - denotes paper-based output from a process, such as a report. A label is placed within the symbol to describe the report.
Inspection Activity Symbols
Large Circle - denotes a point where the process is stopped for the purpose of review, inspection, quality control, or approval. A short description of the inspection point is contained in the circle.
Transportation Activity Symbols
Zigzagged Arrow - denotes transmission of data, such as electronic data transmission, fax, or telephone call.
Fat Arrow - denotes physical movement of output between locations (e.g., to or from the warehouse). A short description of the movement is contained within the arrow.
Storage Activity Symbols
Triangle - denotes that the output is placed in a controlled storage, requiring authorization for removal (e.g., waiting for an order to be placed). A short description of the reason for storage is contained within the triangle.
Rounded-End Rectangle - denotes a delay where the output or person performing the process must wait before proceeding with the next activity. This often requires the output to be placed in temporary storage. A short description of the reason for the delay is place within the rounded-end rectangle.

Documentation Symbols
Elongated Circle - denotes the beginning and end of the process.
Small Circle - denotes that the flowchart is continued on/from another page. The small circle contains a letter for identification of the two parts of the flowchart.
Open Rectangle connected to a flowchart symbol by a dotted line - denotes supplemental information or annotations to the flowchart.



Thursday, October 14, 2010

DEFINITION OF DATA TYPE AND ITS OPERATION IN QBASIC

DEFINITION OF DATA TYPE
- A data type in a programming language is a set of data with values having predefined characteristics. Examples of data types are: integer, floating point unit number, character, string, and pointer. Usually, a limited number of such data types come built into a language. The language usually specifies the range of values for a given data type, how the values are processed by the computer, and how they are stored.


OPERATIONS OF DATA TYPE DURING PROGRAMMING
With object-oriented programming JAVA, a programmer can create new data types to meet application needs. Such an exercise as known as "data abstraction" and the result is a new class of data. Such a class can draw upon the "built-in" data types such as number integers and characters. For example, a class could be created that would abstract the characteristics of a purchase order. The purchase order data type would contain the more basic data types of numbers and characters and could also include other
object
defined by another class. The purchase order data type would have all of the inherent services that a programming language provided to its built-in data types.
Languages that leave little room for programmers to define their own data types are said to be strongly-typed languages.



OPERATIONS OF DATA-TYPE IN QBASIC:
The computer can hold data in memory. The programmer must tell the computer what type of data to hold. This is called a data type.

Data Types in QBasic:
String.........Text and characters    
Example of a String Data Type: This line is an example of a string
Integer.......Non-floating-point numbers from -32,768 to 32,767
Examples of an Integer Data Type:  67, -34, -100, 203, 1022, -1, 0
Long..........Non-floating-point numbers from -2,147,483,648 to 2,147,483,647
Examples of a Long Data Type: 560005, 3, -2, 0, -867000, 14, 8, -10
Single........Floating-point numbers from -3.37x10^38 to 3.37x10^38
Examples of a Single Data Type: 4.3, 25.4567, -35.87, 0.35, -3.14
Double......Floating-point numbers from -1.67x10^308 to 1.67x10^308
Examples of a Double Data Type: 745663.90596, -98.12, 4859903.094491
It is possible to make your own data type, but we are not going to cover how to do that until later in this tutorial series.

Variables:
Variables are a name that is given to the data. The name must not start with a number or character that is not a letter. Also, the name of the variable must not be a reserved name like
PRINT, INPUT, LET, ABS, BEEP, etc.
There are two ways to declare a variable in QBasic. The first is to put a data type symbol after the name
$ String
% Integer
& Long
! Single
# Double

The flowing program gives and example of declaring variables.
CLS
Header$ = “This is an example program on declaring variables”
Num1% = 5
Num2% = 6
Num3& = 45000
Num4& = 54000
Num5! = 4.5
Num6! = 6.76
Num7# = 56000.25
Num8# =  89000.34
PRINT Header$
PRINT Num1% + Num2% +Num3&
PRINT Num6! / Num5!
PRINT Num8# + Num2%
PRINT Num4& / Num1%
The output will be:
This is an example on declaring variables
45011
1.502222
89006.34
10800
Code Download:  PROT4_1.BAS
Lets try the other way of declaring variables. This method should be used instead of the other method because Visual Basic and other BASIC languages tend to use this method. Becoming accustom to this way will help the transition from QBasic to Visual Basic. Create a new file and try this out:
DIM Num1 AS INTEGER
DIM Num2 AS LONG
DIM Num3 AS SINGLE
DIM Num4 AS DOUBLE
DIM Header AS STRING
CLS
Header = “This is another example program on declaring variables”
Num1 = 5
Num2 = 56000
Num3 = 45.635
Num4

Wednesday, October 13, 2010

LIST OF COMPUTER APPLICATION SOFTWAYS AND THEIR USES

1 MICROSOFT WORD: This is a word processing application software used in word publishing, typing documents.
2. MICROSOFT EXCEL: Spreed sheet application for financial accounting and calculations.
3. MICROSOFT POWERPOINT: Document/project presentation in a slide shows using projector.
4. MICROSOFT FRONTPAGE: Web designing application for HTML web sites and web base.
5. MICROSOFT OUTLOOK: For email management for large and big organisations.
6. MICROSOFT PUBLISHER: For the publishing of Journals, brochures, and Magazines.
7. MICROSOFT DOS: For Command Line Interface utilities when remotely accessing devices in a network and system components.
8. MICROSOFT ONENOTE: Digital jotter application for making short notes and remarks.
9. MICROSOFT VBasic: Graphics oriented programming language used in designing, running, and writing a programme.
10. MICROSOFT VBasic.NET: Advanced online based form of VBasic, used in producing programmes that run in a network.
11. MICROSOFT INTERNET EXPLORER: Internet web browser software used in accessing files online.
12. MOZILA FIREFOX: An internet web browser software.
13. OPERA: Internet browser application software, for accessing files online.
14. COREL-DRAW: Graphics design for decorations, certificates, cards and barnners.
15. PRINT ARTIST: For designing greeting cards and envelopes.
16. PAINT BRUSH: For digital drawing and designing in a canvas.
17. TOOBOOM: For cartoon production and video effects also known as firm tricks.
18. MICROSOFT PHOTOSHOP: For picture editing and high quality resolutional images.
19. MULT-MEDIA PLAYER: For playing movies, musics, audio recordings in a computer.
20. MICROSOFT ACCESS: For database management in a large and small enterprise.
21. CISCO PACKET TRACER: Network sumulator for network designing, implementation and maintenance.
22. DREAM WEAVER: Web designing software for designing websites that run with php.
23. SPSS- STATISTICAL PACKAGE for SOCIAL SCIENCE: For analysing statistical data in any document making it available within a short time for business marketing and implementation.
24...... Check back letter
 LIST IS STILL TO BE UPDATED IN THE NEXT 24 HOURS

THE DIFFERENCES BETWEEN INTERNET, EXTRANET AND ETHERNET
Extranet:
It is a private network that uses internet protocols,network connectivity, and possibly the public telecommunication system to
securely share part of an organization's information or operations with
suppliers, vendors, partners, customers or other businesses. An
extranet can be viewed as part of a company's Intranet that is extended to users outside the company, usually via the Internet.

Internet:
It is a global system of interconnected computer networks that use the standardized Internet Protocol Suite (TCP/IP) to serve billions of users worldwide.

Intranet
It is a private network that uses Internet protocols to securely share any part of an organization's information or operational systems within that organization.

An intranet is a private computer network that uses Internet technologies to securely share any part of an organization's information or operational systems with its employees. Sometimes the term refers only to the organization's internal website, but often it is a more extensive part of the organization's computer infrastructure and private websites are an important component and focal point of internal communication and collaboration.
An intranet is built from the same concepts and technologies used for the Internet, such as client-server computing and the Internet Protocol Suite (TCP/IP). Any of the well known Internet protocols may be found in an intranet, such as HTTP (web services), SMTP (e-mail), and FTP (file transfer). Internet technologies are often deployed to provide modern interfaces to legacy information systems hosting corporate data.
An intranet can be understood as a private version of the Internet, or as a private extension of the Internet confined to an organization. The first intranet websites and home pages began to appear in organizations in 1990 - 1991. Although not officially noted, the term intranet first became common-place inside early adaptors, such as universities and technology corporations, in 1992.
Intranets differ from extranets in that the former are generally restricted to employees of the organization while extranets may also be accessed by customers, suppliers, or other approved parties. Extranets extend a private network onto the Internet with special provisions for access, authorization and authentication (see also AAA protocol).

LIST OF NETWORK PROTOCOLS AVAILABLE

Wiki: List of network protocols
This is a list of network protocols, categorized by their nearest Open Systems Interconnection (OSI) model layers. Many of these protocols, however, are originally based on the Internet Protocol Suite (TCP/IP) and other models and they often do not fit neatly into OSI layers.
  1. REDIRECT Template:OSI model
Contents:
1. Layer 1 protocols (Physical Layer)
2. Layer 1+2 protocols
3. Layer 2 protocols (Data Link Layer)
4. Layer 2+3 protocols
5. Layer 1+2+3 protocols
6. Layer 3 protocols (Network Layer)
7. Layer 3 protocols (Network Layer management)
8. Layer 3.5 protocols
9. Layer 3+4 protocol suites
10. Layer 5 protocols (Session Layer)
11. Other protocols
12. Layer 7 protocols (Application Layer)
13. Protocol description languages
14. See also
15. Further reading
16. External links

1. Layer 1 protocols (Physical Layer)

  • ADSL Asymmetric Digital Subscriber Line
  • ISDN Integrated Services Digital Network
  • PDH Plesiochronous Digital Hierarchy
  • RS-232, a serial line interface originally developed to connect modems and computer terminals
  • SDH Synchronous Digital Hierarchy
  • SONET Synchronous Optical NETworking
  • Modem standards/ITU V-Series Protocols used to communicate between analog modems over voice telephone lines.
  • ITU-T G.hn Physical Layer

2. Layer 1+2 protocols

  • Ethernet
  • GFP ITU-T G.7041 Generic Framing Procedure
  • OTN ITU-T G.709 Optical Transport Network also called Optical Channel Wrapper or Digital Wrapper Technology

3. Layer 2 protocols (Data Link Layer)

4. Layer 2+3 protocols

  • ATM Asynchronous Transfer Mode
  • Frame relay, a simplified version of X.25 welcome
  • MPLS Multi-protocol label switching
  • [[X.2

5. Layer 1+2+3 protocols

  • MTP Message Transfer Part
  • NSP Network Service Part

6. Layer 3 protocols (Network Layer)

  • CLNP Connectionless Networking Protocol
  • EGP Exterior Gateway Protocol
  • EIGRP Enhanced Interior Gateway Routing Protocol
  • ICMP Internet Control Message Protocol
  • IGMP Internet Group Management Protocol
  • IGRP Interior Gateway Routing Protocol
  • IPv4 Internet Protocol version 4
  • IPv6 Internet Protocol version 6
  • IPSec Internet Protocol Security
  • IPX Internetwork Packet Exchange
  • SCCP Signalling Connection Control Part
  • AppleTalk DDP

7. Layer 3 protocols (Network Layer management)

8. Layer 3.5 protocols

  • HIP Host Identity Protocol

9. Layer 3+4 protocol suites

10. Layer 5 protocols (Session Layer)

  • 9P Distributed file system protocol developed originally as part of Plan 9
  • NCP NetWare Core Protocol
  • NFS Network File System
  • SMB Server Message Block
  • SOCKS "SOCKetS"

11. Other protocols

12. Layer 7 protocols (Application Layer)

  • ADC, A peer-to-peer file sharing protocol
  • AFP, Apple Filing Protocol
  • BACnet, Building Automation and Control Network protocol
  • BitTorrent, A peer-to-peer file sharing protocol
  • BOOTP, Bootstrap Protocol
  • CAMEL, an SS7 protocol tool for the home operator
  • Diameter, an authentication, authorization and accounting protocol
  • DICOM includes a network protocol definition
  • DICT, Dictionary protocol
  • DNS, Domain Name System
  • DHCP, Dynamic Host Configuration Protocol
  • ED2K, A peer-to-peer file sharing protocol
  • FTP, File Transfer Protocol
  • Finger, which gives user profile information
  • Gnutella, a peer-to-peer file-swapping protocol
  • Gopher, a hierarchical hyperlinkable protocol
  • HTTP, Hypertext Transfer Protocol
  • IMAP, Internet Message Access Protocol
  • Internet Relay Chat (IRC)
  • ISUP, ISDN User Part
  • XMPP, an instant-messaging protocol
  • LDAP Lightweight Directory Access Protocol
  • MIME, Multipurpose Internet Mail Extensions
  • MSNP, Microsoft Notification Protocol (used by Windows Live Messenger)
  • MAP, Mobile Application Part
  • NetBIOS, File Sharing and Name Resolution protocol - the basis of file sharing with Windows.
  • NNTP, News Network Transfer Protocol
  • NTP, Network Time Protocol
  • NTCIP, National Transportation Communications for Intelligent Transportation System Protocol
  • POP3 Post Office Protocol Version 3
  • RADIUS, an authentication, authorization and accounting protocol
  • Rlogin, a UNIX remote login protocol
  • rsync, a file transfer protocol for backups, copying and mirroring
  • RTP, Real-time Transport Protocol
  • RTSP, Real-time Transport Streaming Protocol
  • SSH, Secure Shell
  • SISNAPI, Siebel Internet Session Network API
  • SIP, Session Initiation Protocol, a signaling protocol
  • SMTP, Simple Mail Transfer Protocol
  • SNMP, Simple Network Management Protocol
  • SOAP, Simple Object Access Protocol
  • STUN, Session Traversal Utilities for NAT
  • TUP, Telephone User Part
  • Telnet, a remote terminal access protocol
  • TCAP, Transaction Capabilities Application Part
  • TFTP, Trivial File Transfer Protocol, a simple file transfer protocol
  • WebDAV, Web Distributed Authoring and Versioning
  • DSM-CC Digital Storage Media Command and Control

13. Protocol description languages

14. See also

15. Further reading

16. External links

Wednesday, September 15, 2010

WILL END ALL SUFFERING! WHEN? HOW?

“How Long . .  . Must I Cry for Help?”

“I just want the pain to stop!” wept Jayne. She had cancer, and it was spreading through her body. How her family and friends wished they could simply remove her disease and her agony! They prayed to God to help her. Would he listen? Did he care?
A sick woman in pain GOD is aware of the condition of the human family. His Word, the Bible, says: “All creation keeps on groaning together and being in pain together.” (Romans 8:22) God knows that there are hundreds of millions of people who, like Jayne, are in pain every day, be it physical, emotional, or mental. God sees the 800 million people who go to bed hungry every night, the millions of others who suffer from domestic violence, and the many parents who fret about the future and the welfare of their children. Have you ever wondered whether God will take action? Surely, since we want to help our loved ones, would not God want to help the human family, his creation?
If you have asked those same questions, you are not alone. Over 2,600 years ago, a faithful man, Habakkuk, felt as many today do, and he asked God: “How long, O Jehovah, must I cry for help, and you do not hear? How long shall I call to you for aid from violence, and you do not save? Why is it that you make me see what is hurtful, and you keep looking upon mere trouble? And why are despoiling and violence in front of me, and why does quarreling occur, and why is strife carried?” (Habakkuk 1:2, 3) Habakkuk, a Hebrew prophet, witnessed shocking acts of mindless violence and aggression in his day. Today, such acts are everyday news that appalls compassionate people.
Did God belittle Habakkuk’s concerns? No. He listened to Habakkuk’s sincere questions and then comforted and encouraged the distressed man. Jehovah God fortified Habakkuk’s faith with a promise that He will end suffering. God’s message of hope can reassure you too, as it did Jayne and her family. The following articles will answer these questions: How can we be sure that God really cares about us? What will God do to end suffering, and when?

EXTRACTED www.watchtower.org