Sunteți pe pagina 1din 24

CHAPTER ONE

INTRODUCTION

1.1 BACKGROUND TO THE STUDY


Notepad is designed for users to create text that is not formatted and is very basic word processor
program you can almost describe as very basic version of Microsoft word, one of the main
advantages of Notepad is that it requires no training and you can start HTML straight away. It
comes free with every version of Windows which means you do not have to go through the hassle
of downloading the program. The program doesn’t take up much space on your laptop/desktop PC
and because it’s low specification software it means that it doesn’t take a long time to load.
(Wikipedia, 2017).
Notepad is a simple text editor for Microsoft Windows and a basic text-editing program which
enables computer users to create documents. It was first released as a mouse-based DOS program
in 1983, and has been included in all versions of Microsoft Windows since Windows 1.0 in 1985.
(Info-word, 2017).
Notepad was introduced in Windows 95, replacing Microsoft Write, which came with all previous
versions of Windows (version 3.11 and earlier). The source code to NotePad was also distributed
by Microsoft as a Microsoft Foundation Classes sample application with MFC 3.2 and later,
shortly before the release of Windows 95. It is still available for download from the MSDN
website.
The default font used in Windows 95 to Windows Vista was Arial 10; in Windows 7 it was changed
to Calibri 11. A similar word processor, also called NotePad, is supplied by some vendors on a
Windows CE pre-installation. It has simple functionality like its desktop OS cousin. The icon
resembles an early Microsoft Word icon.
Microsoft Corporation (/ˈmaɪkrəˌsɒft/, (Wells John, 2008) abbreviated as MS) is an American
multinational technology company with headquarters in Redmond, Washington. It develops,
manufactures, licenses, supports and sells computer software, consumer electronics, personal
computers, and services. Its best known software products are the Microsoft Windows line of
operating systems, the Microsoft Office suite, and the Internet Explorer and Edge web browsers.
Its flagship hardware products are the Xbox video game consoles and the Microsoft Surface tablet
lineup. As of 2016, it is the world's largest software maker by revenue, (Jones, Daniel et al., 2003)

1
and one of the world's most valuable companies. The word "Microsoft" is a portmanteau of
"microcomputer" and "software".
Microsoft was founded by Paul Allen and Bill Gates on April 4, 1975, to develop and sell BASIC
interpreters for the Altair 8800. It rose to dominate the personal computer operating system market
with MS-DOS in the mid-1980s, followed by Microsoft Windows. The company's 1986 initial
public offering (IPO), and subsequent rise in its share price, created three billionaires and an
estimated 12,000 millionaires among Microsoft employees. Since the 1990s, it has increasingly
diversified from the operating system market and has made a number of corporate acquisitions—
their largest being the acquisition of LinkedIn for $26.2 billion in December 2016, (Wareen, Tom
et al., 2016) followed by Skype Technologies for $8.5 billion in May 2011.
As of 2015, Microsoft is market-dominant in the IBM PC-compatible operating system market
and the office software suite market, although it has lost the majority of the overall operating
system market to Android. (Kiezer, Gregg et al., 2014) The company also produces a wide range
of other consumer and enterprise software for desktops and servers, including Internet search (with
Bing), the digital services market (through MSN), mixed reality (HoloLens), cloud computing
(Azure) and software development (Visual Studio).

1.2 STATEMENT OF PROBLEM

The main disadvantage of Notepad is that: -

 It is very simple software and its primary function is not for HTML, because it is not its
primary function it does not read the language and have intelligent answer’s to help out the
programmer with features such as auto fill.

 It also doesn’t have default templates to make your web design quicker.

 You also have to preview in a web browser which means you must save it as a HTML file.

1.3 AIMS AND OBJECTIVES

The main aim of this project is to design a notepad that will be able to automate the existing
notepad application for public uses.

Some of the objectives are listed below:

2
 To create a notepad that is very basic word processor program.

 To create a notepad that can run on any platform.

 To create a notepad that can edit, delete, save and print text.

 To create a notepad that is very similar to the windows notepad.

 To create more suitable platform for the notepad and should requires no training and to
start HTML straight away.

 To create an application that does not take up much space on your laptop/desktop PC and
because it’s low specification software it means that it doesn’t take a long time to load. i.e.
it should not be time consuming.

 To design an error prone notepad in computation of word and text wrapping.

1.4 MOTIVATIONS

Notepad for windows will solve the problem faced by the existing notepad such as:

 Inadequate line spacing for typing

 Inability to redo some mistake while typing

 No ability for change case (i.e. upper or lower case)

 No background color

1.5 SCOPE OF THE STUDY

This project is a notepad application for windows.

This solution will help the student by providing the following.

 Provide a more platform for the student with easy handling of notepad while using HTML.

 To come free with every version which means you do not have to go through the hassle of
downloading the program.

3
 It is written in java language so it can run on any platform.

 It is portable and easy to use

1.6 DEFINITION OF TERMS

Notepad: - is a simple text editor for Microsoft Windows and a basic text-editing program which
enables computer users to create documents.

Note: - a diplomatic missive or written communication or a piece of paper money; bank note

Notebook: - a book in which notes or memoranda are written.

Windows: - a rectangular area on a computer terminal or screen containing some kind of user
interface, displaying the output of an allowing input for one of a number of simultaneously running
computer processes.

4
CHAPTER TWO

LITERATURE REVIEW

2.1 BACKGROUND HISTORY TO NOTEPAD AND RELATED WORKS

Microsoft introduced Multi-Tool Notepad, a mouse-based text editor written by Richard


Brodie, with the $195 Microsoft Mouse in May 1983 at the Spring COMDEX computer expo in
Atlanta. Also introduced at that COMDEX was Multi-Tool Word, designed by Charles Simonyi
to work with the mouse. Most watching Simonyi's demonstration had never heard of a mouse.
(Wallace, James; Erickson, Jim, 1992).
Microsoft released the Microsoft Mouse in June 1983, and the boxed mouse and Multi-
Tool Notepad began shipping in July. Initial sales were modest, as there was little one could do
with it except run the three demonstration programs included in the box (a tutorial, practice
application and Notepad) or program interfaces to it. The Multi-Tool product line began with
expert systems for the Multiplan spreadsheet. On the suggestion of Rowland Hanson, who also
convinced Bill Gates to change the name "Interface Manager" to "Windows" before the release of
Windows 1.0, the Multi-Tool name was killed by the time Word shipped in November 1983,
Hanson's rationale was that "the brand is the hero". People didn't associate the stand-alone name
Multi-Tool with Microsoft, and Hanson wanted to make Microsoft the hero, so the Microsoft name
replaced "Multi-Tool". (Manes, Stephen; et al., 1993).

2.2 FEATURES OF NOTEPAD

Notepad is a common text-only (plain text) editor. The resulting files typically saved with the .txt
extension have no format tags or styles, making the program suitable for editing system files to
use in a DOS environment and, occasionally, source code for later compilation or execution,
usually through a command prompt. It is also useful for its negligible use of system resources;
making for quick load time and processing time, especially on under-powered hardware. Notepad
supports both left-to-right and right-to-left based languages. Unlike WordPad, Notepad does not
treat newlines in Unix- or classic Mac OS-style text files correctly. Notepad offers only the most
basic text manipulation functions, such as finding text. Only newer versions of Windows include
an updated version of Notepad with a search and replace function. However, it has much less

5
functionality in comparison to full-scale editors. (Petri Daniel et al, 2015).
In all versions of Windows, Notepad uses a built-in window class named EDIT and the maximum
file size that Notepad can open is dependent on operating system limitations on the size of the
EDIT window class, with the limit being different for each version of Windows. Due to the
operating system limit of the EDIT window class, the Notepad version shipped with Windows 3.0,
Windows 3.1 and Windows 3.11 could not open files larger than 54 KB (kilobytes) and Microsoft
recommended not to open files larger than 45 KB, with the official workaround advice provided
by Microsoft being "Use another text editor", but this limit was extended to 64 KB in Windows 95
(and remained the same in Windows 98 and Windows Me). On the Notepad version shipped with
Windows XP the limit was 32 MB (megabytes) with the application displaying the message "The
file is too large for Notepad. Use another editor to edit the file" if the user attempted to open a file
larger than 32 MB. Newer versions of Notepad can open files at least up to 58 MB (megabytes) in
size, and on Windows 8.1 the Notepad application is able to open files at least as large as 512 MB
(megabytes) but fails to open 1 GB (gigabyte) files displaying the same message that Windows
XP users would see ("The file is too large for Notepad. Use another editor to edit the file").
However, on all 32-bit versions of Windows, there is a 2 GB (gigabytes) limit imposed on the
maximum memory of all single-process 32-bit programs and thus on 32-bit machines no single-
process text editor such as Notepad can open files larger than 2 gigabytes. (Petri Daniel et al,
2015).
Up to Windows 95, Fixedly was the only available display font for Notepad. Windows NT 4.0 and
98 introduced the ability to change this font. As of Windows 2000, the default font was changed
to Lucida Console. The font setting, however, only affects how the text is shown to the user and
how it is printed, not how the file is saved to disk. The default font was changed to Consolas on
Windows 8.
Up to Windows Me, there were almost no keyboard shortcuts and no line-counting feature. Starting
with Windows 2000, shortcuts for common tasks like new, open and save were added, as well as
a status-bar with a line counter (available only when word-wrap is disabled).
In the Windows NT-based versions of Windows, Notepad can edit traditional 8-bit text files as
well as Unicode text files (both UTF-8 and UTF-16, and in case of UTF-16, both little-endian and
big-endian).
Notepad also has a simple built-in logging function. Each time a file that starts with .LOG is

6
opened, the program inserts a text timestamp on the last line of the file.
Notepad accepts text from the Windows clipboard. When clipboard data with multiple formats is
pasted into Notepad, the program only accepts text in the CF_TEXT format. This is useful for
stripping embedded font type and style codes from formatted text, such as when copying text from
a web page and pasting into an email message or other WYSIWYG text editor. Formatted text can
be temporarily pasted into Notepad, and then immediately copied again in stripped format to paste
into the other program.
Notepad can print files, but doesn't print correctly if Word Wrap is turned on. Headers, footers,
and margins can be set and adjusted when preparing to print a file under Page Setup. The date, file
name, and other information can be placed in the headers and footers with various codes consisting
of an ampersand ('&') followed by a letter. (Chen Raymond, 2007).

2.3 UNICODE DETECTIONS

The Windows NT version of Notepad, installed by default on Windows 2000 and Windows XP,
has the ability to detect Unicode files even when they are missing a byte order mark. To do this, it
utilizes a Windows API function called IsTextUnicode(). (Chen Raymond, 2017). However, this
function is imperfect, incorrectly identifying some all-lowercase ASCII text as UTF-16. As a
result, Notepad interprets a file containing a phrase like "aaaa aaa aaa aaaaa" ("4-3-3-5") as two-
byte-encoded Unicode text file and attempts to display it as such. If a font with support for Chinese

is installed, nine Chinese characters (桴獩愠灰挠湡戠敲歡) display. Otherwise, it displays

squares instead of Chinese characters. Some people misinterpreted this issue for an Easter egg.
Many phrases that fit the pattern (including "this app can break" and "bush hid the facts") appeared
on the web as hoaxes. Windows expert Raymond Chen correctly attributed it to the Unicode
detection algorithm. This issue was resolved in Windows Vista and newer versions of Notepad.

2.4 DRAWBACKS OF EXISTING NOTEPAD APPLICATION

 Since Notepad lacks advanced formatting functionality, many people find its simple,
minimalistic user interface (whose look has never changed since Windows 3.1 and whose
menus were last altered in Windows XP, when "Format" and "View" replaced "Search")
faster and easier to use for basic text operations.

7
 The MS-DOS Editor, especially as updated in Windows 95, where it became an MDI
application, also provides many features never offered by Notepad.

 There are many third-party replacements for Notepad with additional functionality,
including both free software (e.g. Notepad++ and Notepad2) and freeware (e.g. TED
Notepad).

 Notepad lacks many features available in other text editors, basic features such as Unix-
format newlines, block-select, and MDI, and it lacks full support for line wrapping.

 Notepad being a basic text editor, advanced features are also missing: syntax coloring, code
folding, regular expressions, macros, support of code pages and color schemes.

2.5 ADVANTAGES OF THE PROPOSED NOTEPAD APPLICATION

 Notepad does not require a lock on the file it opens, so it can open files already opened by
other processes, users, or computers, whereas WordPad cannot.
 The proposed system will automate all the flaws of the existing notepad including adding
the features in other competing software such as MS DOS Editor.
 The application doesn’t take up much space on your laptop/desktop PC and because it’s
low specification software it means that it doesn’t take a long time to load. i.e. it should
not be time consuming.
 Error prone in computation of word and text wrapping.
 Ability to change the page color just like the likes of Microsoft word.
 Ability to open more than one Notepad at a time.
 It can open files larger than 1 GB.
 It has more font than the existing windows Notepad

8
CHAPTER THREE

RESEARCH AND DESIGN METHODOLOGY

3.1 RESEARCH METHODOLOGY

In the course of developing this project, we engaged in a consultative research mode so as to gather
enough requirements and data items to be used. We focused in using a direct interview and
participating discussion among one another for effective project justification, and also, we
downloaded sampled projects over the internet at www.seminar+projects.com

3.1.1 ONLINE CONSULTATION: Since its very complex to determine the outlook without
seeing a sampled related design, I consult the internet to extract and download sampled project so
as to support the design process and also gather historical source of some progressive notepad for
every window.

3.2 DESIGN METHODOLOGY

While executing the design process, some tools are preferentially chosen for the system
development with reasons to justify why these tools are selected. An Object Oriented
Programming Language called C# was used alongside with .Net Framework. The program will
save and open files as well as have close and new functions and the C# swing to the interface that
will make it more user friendly than the existing notepad. The windows form application will lead
to our form class which will contain the Notepad Extra code.

3.2.1 C# OVERVIEW

C# is a modern, general-purpose, object-oriented programming language developed by Microsoft


and approved by European Computer Manufacturers Association (ECMA) and International
Standards Organization (ISO).
C# was developed by Anders Hejlsberg and his team during the development of .Net Framework.
C# is designed for Common Language Infrastructure (CLI), which consists of the executable code
and runtime environment that allows use of various high-level languages on different computer
platforms and architectures.

The following reasons make C# a widely used professional language:

9
 It is a modern, general-purpose programming language

 It is object oriented.

 It is component oriented.

 It is easy to learn.

 It is a structured language.

 It produces efficient programs.

 It can be compiled on a variety of computer platforms.

 It is a part of .Net Framework.

3.2.2 .NET FRAMEWORK

The .Net framework is a revolutionary platform that helps you to write the following types of
applications:

 Windows applications
 Web applications
 Web services

The .Net framework applications are multi-platform applications. The framework has been
designed in such a way that it can be used from any of the following languages: C#, C++, Visual
Basic, Jscript, COBOL, etc. All these languages can access the framework as well as
communicate with each other.
The .Net framework consists of an enormous library of codes used by the client languages such
as C#. Following are some of the components of the .Net framework:

 Common Language Runtime (CLR)


 The .Net Framework Class Library
 Common Language Specification
 Common Type System
 Metadata and Assemblies
 Windows Forms

10
 ADO.Net
 Windows Presentation Foundation
 Windows Communication Foundation (WCF)
 LINQ

3.3 SYSTEM ARCHITECTURE

This architecture describes all the process taken in developing this Notepad for windows the
system is divided into two main part and the parts are; the main and the design phase. The main
phase shows how the file in a notepad are created and how to save, delete, and open file in notepad.
In the design phase the form, richtextbox, the menustrip area will accept input from user and
monitor the process of saving files in the system memory.

User Interface

Main

Create File Open, and Save

Creation of Notepad

Design
System
Core C#
Memory
Saved File
Form

Richtextbox and
menustrip

Notepad Created
Fig 1: SYSTEM ARCHITETCURE

11
3.4 SYSTEM FLOWCHART

Start

Click on
Notepad

File Edit Format Help

About
New

Fig 2. NOTEPAD EXTRA FLOWCHART

12
CHAPTER FOUR

IMPLEMENTATION AND RESULT

4.1 SYSTEM REQUIREMENTS


The system compatibility requirement for executing this software is considered on two
requirement specifications.
4.1.1 Hardware Requirement Specifications

The following are the hardware specifications for the designed application:

 787MHz or Higher Intel Premium Processor.


 512Mb Memory (RAM) or Higher.
 VGA 800 x 600, 256 color.
 Uninterrupted Power Supply
 Hard Disk Storage of 20GB Minimum.

4.1.2 Software Requirement Specifications


 Windows XP, Vista or higher version 32bit.
 Apache Tomcat (2.0 and above version).
 Reliable and licensed Antivirus software like Avast.
 Mysql database Server (Xampp or Wamp).
 Mysql ODBC Connector (3.5 and above version).

4.2 TESTING
After implementation and sometimes during design, the application must be subjected to testing
varieties which are:

i. Alpha Test: This means self or in-house test of designed application for any
syntactic bugs or exceptions. It is done by the programmers during the design
completion.
ii. Delivery Test: This application will be released to the store used as a case study
for testing to see the suitability of usage.

13
iii. Audit Test: This test is likewise to be chosen in preference to beta test depending
on the department’s choice concordance with the programmer. It is achieved while
the program designer establishes a scheduled training to the department of study.

4.3 INTERFACE SCREENSHOT

Fig 3. View of Notepad Extra with line numbers

14
Fig 4. This is the File Menu

This is the File menu. Notice a couple of things about this menu. Notice the "..." at the end of
several selections. This indicates that selecting these items will take you to a dialog box that will
allow you to carry out that operation.
New - This will start a new document. If you are currently working on a document that you haven't
saved, the system will prompt you to save the old document before starting a new one.

Open - This allows you to bring an existing document into Notepad to view and/or edit it.

Save - If you are making modifications to an existing file, Save will put the changes back into the
file after confirming that you really want to make the changes. If the file you are working on is a
new file, Save works the same as Save As....

15
Save As - brings up a dialog box similar to the Open dialog box above. In Notepad you get to save
the file wherever you want, but the best place would be in My Documents. It's easy enough to
change folders and save a file anywhere on the system you want.

Page Setup... - The Page Setup... dialog box allows you to customize some of the things you see
when you print your document. For example, you can change the size of your paper, customize
the header and footer on each page as well as the margin at the top, bottom and either edge of the
paper.

Print- This is a standard print operation. It brings up the Print dialog window where you can
modify the printer information.

Exit - This shuts down Notepad. If the file you've been working on has not been saved, you will
be prompted to save the file before Notepad exits.

16
Fig 5. Edit Menu with Convert Case
The Edit menu contains those functions that allow you to manipulate the information you have on
the screen. In this case, there are four items that appear dim in the menu. The reason for this is that
these items are not available at the present time. In most cases, you have to have something selected
for these items to work. Windows does a pretty good job of communicating with you to tell you
what you can and cannot do

Undo - Notepad does have a rather neat feature called the Undo. In essence, this is your Oops
button. If you make a mistake and suddenly say "Oops", you can select the Undo and reverse
whatever it was you just did. Unless I'm mistaken, the Undo item will only work on the most recent
change you've made to your document.

Cut - Again, this item is only available if you have something selected in your document.
Otherwise you have nothing to Cut. You can select some piece of your document by holding down
the left mouse button and dragging across the letters/words/sentences that you want to select. Your

17
selection will have white letters and a blue background. Now you will be able to Cut this selection.
Cut removes the selected text from your document and puts it on the Clipboard. The information
is not totally deleted, but is being held in case you want to put it somewhere else.

Copy - Copy is very similar to Cut. The only difference is that with Copy, your selected text is not
removed from the document. Instead, a copy of your selected text is placed on the Clipboard for
you to use later.

Paste - Once you have some text on the Clipboard (using either Cut or Copy above), you can move
to wherever you would like to put this text and Paste it back into your document. In other words,
the combination of Cut and Paste allows you to move text around within your document while the
combination of Copy and Paste allows you to duplicate information.

Delete - When you Delete text from your document, it is gone. If you do this by accident, you can
use the Undo function to bring it back, but otherwise it is gone. Delete does not place the selected
text on the Clipboard.

Find... - As you've already seen, this function opens a dialog box that allows you to enter the text
you want to search for along with a couple of pieces of information to help Notepad perform the
search. If the text is found, it will be selected ready for you to Cut, Copy or overtype.

Find Next - This function simply repeats a previous Find.... This is useful if you have the same
text in several different place within your document.

Replace - This function allows you to locate some text within your document and replace it with
some other text. It even has the ability to perform its function globally through the document, but
be careful of using this as it can get you into trouble. For example, suppose you wanted to replace
"eat" with "ate" globally throughout a document. This function would do it, but it would also
change "eaten" to "ateen", "cheat" to "chate" and "defeat" to "defate".

Select All - If there is something you want to do with all the text in your document at the same
time, all you have to do is select the Select All function and your entire document will be selected.
Now you can either Cut or Copy all the text to your Clipboard.

Time/Date - The Time/Date function is a neat feature of Notepad Extra. Some people like to keep
a journal and in a journal, you might want to have the date and time as part of the document.

18
Obviously, you can type in the date and time, but with the Time/Date function, Notepad Extra will
automatically insert the date and time like this: 7:47 AM 2/27/98.

Convert Case to – These enables the user to convert from lower case to upper case and vice versa.

Fig. 6 Format Menu


Word Wrap - In some cases, you may want the text you type to appear on the same line, but most
of the time, you'd like to be able to see all the text on the screen at the same time. If you only have
a little bit of information, you might be able to enlarge the Notepad window to see all the text.
Another way of handling this is to select the Word Wrap function. This will take words that don't
fit in the Notepad window and wrap them down to the next line. A check mark appears when word
wrap is turned on. Wrapping text enables you to see all the text on the line, but it doesn't affect
the way text appears when it is printed.

19
Font... - This allows you to change the font used to display the file you have open. It doesn't change
the font of the file itself. It simply allows you to view/edit files using whatever font you wish.

Background Color – These allows you to change the background color of the Notepad Extra. It
doesn’t change the color of the font.

Font Color – These allows the user to change the color of the font.

Selected Font color – These only changes the highlighted or selected font or text.

Fig. 7 View Menu

This menu only contains one item, Status Bar which will place an extra line at the bottom of the
Notepad Extra window to keep you informed of what has or will be done as you work in Notepad
Extra.

20
Fig. 8 Help Menu

Most programs in Windows have a Help menu that provides information about using that particular
program. The Help menu may not answer all your questions about a program, but I would
encourage you to explore what is there before you look elsewhere. Most companies marketing
software today are providing more Help and less hardcopy documentation.

About Notepad - The function of the about for any program is simply to let you know the group
of student who developed Notepad Extra using their respective matric number and also the name
of the supervisor. Here's what our version of About Notepad Extra looks like:

21
Fig. 9 About Notepad Extra Option

Fig. 10 Features in the Format Menu

22
CHAPTER FIVE

SUMMARY, RECOMMENDATION, AND CONCLUSION

5.0 SUMMARY

This Project focuses on Automated Notepad for Windows. It involves designing a look alike but
automated notepad application that can been executed on windows and any other operating system.
The application consists of more features, more than the existing notepad applications in use. The
programming language used to design this application is Visual Studio 2015(C#).

5.1 CONCLUSION

The project have been successfully implemented and tested and meets the objectives and aims
specified in chapter one. The result of this project has revealed that Automated Notepad can
produce essential work rate and more line space for typing, background colour, additional font
style, word rapping etc., it will be able to run on any platform and it also has Line number.

5.2 RECOMMENDATION

Notepad for Windows is no doubt an efficient system for automating the existing Notepad
application. In this age of technology, such application is needed to keep the efficiency of Notepad
and to interest user in using notepad.

23
REFERENCE
1. Chen, Raymond (2007). "The Notepad file encoding problem, redux
2. Gosling, James; McGilton, Henry (1996). "The Java Language Environment
3. Jones, Daniel (2003) [1917]. Peter Roach, James Hartmann and Jane Setter, eds. English
Pronouncing Dictionary
4. Keizer, Gregg (2014). "Microsoft gets real, admits its device share is just 14%".
Computerworld. IDG.
5. Manes, Stephen; et al. (Paul Andrews) (1993). Gates. Doubleday.
6. Wallace, James; Erickson, Jim (1992). Hard Drive. Wiley. pp. 238–244
7. Wells, John C. (2008). Longman Pronunciation Dictionary (3rd ed.). Longman. ISBN 978-
1-4058-8118-0.
8. Petri, Daniel (2015). "Tip for Opening Large Text Files in Windows"

24

S-ar putea să vă placă și