Perancangan Aplikasi Kamus Peribahasa Bahasa Inggris
LAMPIRAN
Listing program Aplikasi kamus peribahasa bahasa inggris 1.
Form Main
Private Sub CmdAbout_Click() FrmDescribe.Show FrmMain.Hide End Sub Private Sub CmdAboutme_Click() FrmMe.Show FrmMain.Hide End Sub Private Sub CmdContent_Click() FrmContent.Show FrmMain.Hide End Sub Private Sub CmdExit_Click() pesan = MsgBox("Thank you for using Proverb Dictionary !!", vbInformation + vbOKOnly) End End Sub Private Sub Form_Load() Left = (Screen.Width - Width) \ 2 Top = (Screen.Height - Height) \ 6 End Sub 2.
Form Content
Private Sub CmdClear_Click() TxtProverb.Text = "" TxtMeaning.Text = "" TxtCari.Text = "" End Sub Private Sub CmdExit_Click() pesan = MsgBox("Are you sure want to Quit now?", vbInformation + vbYesNo, "Attention") If pesan = vbYes Then FrmMain.Show FrmContent.Hide End Sub Private Sub Form_Load() Left = (Screen.Width - Width) \ 2 Top = (Screen.Height - Height) \ 6
Me.Caption = App.Title InitConnection PopData (strTextSearch) End Sub Private Sub ListView_ItemClick(ByVal Item As MSComctlLib.ListItem) Dim intSelItem As Integer intSelItem = Item ListView.LabelEdit = lvwManual TxtProverb.Text = ListView.ListItems(intSelItem).ListSubItems(1).Text TxtMeaning.Text = ListView.ListItems(intSelItem).ListSubItems(2).Text
ID = ListView.ListItems(intSelItem).ListSubItems(3).Text End Sub Private Sub InitConnection() Dim conDBString As String conDBString = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" & App.Path & "\PROVERB.mdb;Persist Security Info=False" Set gAdoConn = New ADODB.Connection gAdoConn.ConnectionString = conDBString gAdoConn.Open End Sub Private Sub PopData(strTextSearch As String) Dim lstX As ListItem Dim strSQL As String Dim rs As ADODB.Recordset Dim intCounter As Integer If strTextSearch = "" Then strSQL = "select * from BARU Order by Proverb ASC" Else strSQL = "Select * from BARU Proverb " & _ "where Proverb like '%" & strTextSearch & "%' order by Proverb asc" End If
Set rs = New ADODB.Recordset rs.Open strSQL, gAdoConn, 3, 1 ListView.ListItems.Clear With rs If .RecordCount > 0 Then .MoveFirst intCounter = 1 While Not .EOF Set lstX = ListView.ListItems.Add(, , intCounter) lstX.ListSubItems.Add = Trim(!PROVERB) lstX.ListSubItems.Add = Trim(!Meaning) lstX.ListSubItems.Add = Trim(!ID) intCounter = intCounter + 1 .MoveNext Wend End If End With End Sub Private Sub Txtcari_Change() PopData (TxtCari.Text) TxtCari.SetFocus End Sub 3.
Form Describe
Private Sub CmdCont_Click() FrmContent.Show FrmDescribe.Hide End Sub Private Sub CmdExit_Click() FrmMain.Show FrmDescribe.Hide End Sub Private Sub Form_Load() Left = (Screen.Width - Width) \ 2 Top = (Screen.Height - Height) \ 6 End Sub 4.
Form Me
Private Sub CmdBack_Click() FrmMain.Show FrmMe.Hide End Sub Private Sub Form_Load() Left = (Screen.Width - Width) \ 2 Top = (Screen.Height - Height) \ 6 End Sub 5.
Modul
Public gAdoConn As ADODB.Connection Public Function SQLSafe(strValue As String) As String Dim strTemp1 As String strTemp1 = Replace(strValue, "'", "''") SQLSafe = strTemp1 End Function
List Database
Harvest predictions according to the weather.
its weakest link.
The strength of a group depends on each individual member.
8 A change is as good as a rest.
A change in routine is often as refreshing as a break or a holiday.
9 A dry March, a wet April and
a cool May fill barn and cellar and bring
much hay.
10 A fault confessed is half redressed.
A bad experience will make people stay away from certain things.
Confession is the beginning of forgiveness.
11 A flower blooms more than
once.
If you miss an occasion, you can avail of it at another time.
12 A fool and his money are soon
(easily) parted.
A foolish person usually spends money carelessly.
13 A fool at forty is a fool forever.
7 A chain is no stronger than
6 A burnt child dreads the fire.
BARU
Blaming the tools for bad workmanship is an excuse for lack of skill.
ID Proverb Meaning
1 A bad tree does not yield good
apples.
A bad parent does not raise good children.
2 A bad workman blames his
tools.
3 A bird in hand is worth two
Something difficult seems easier when it is done voluntarily.
in a bush.
It's better to keep what you have than to risk losing it by searching fo something
better.
4 A broken friendship may be
soldered but will never be sound.
Friendships can be rebuilt after a dispute but will never be as strong before.
5 A burden of one's own choice
is not felt.
If a person hasn't matured by the age of 40, they never will.
BARU
ID Proverb Meaning indeed.
15 A Someone friend to all is a friend to who is a friend to everyone makes none of them feel none. special.
16 A A friend's eye is a good real friend will tell you the truth. mirror.
17 A If good beginning makes a a task is carefully planned, there's a better chance that it will be good done
end. well.
18 A You good conscience is a sleep well when you have nothing to feel guilty about. soft pillow.
19 A Giving good example is the an example is better than giving advice. best sermon.
20 A It leopard cannot change is not possible for a bad or unpleasant person to become good or its pleasant.
spots.
21 A Really loaded wagon makes no wealthy don't talk about money. noise.
22 A A man is known by the person's character is judged by the type of people with whom they company spend
he keeps. their time.
23 A No monkey in silk is a matter how someone dresses, it's the same person underneath. monkey no less.
24 A A new broom sweeps newly‐appointed person makes changes energetically. clean.
25 A t problem shared is a will be easier to deal with a problem if you discuss it with someone problem
halved.
26 A rising tide lifts all boats Describes something that will be helpful to all.
27 A If rolling stone gathers no a person keeps moving from place to place, they gain neither friend moss. nor
possessions.
28 A A rotten apple spoils the dishonest or immoral person can have a bad influence on a group. barrel.
29 A Overcoming smooth sea never made adversity leads to competence. a skilled mariner.
30 A stitch in time saves nine. It's better to deal with a problem at an early stage, to prevent it from getting
worse.
31 A Correcting stumble may prevent a a small mistake may help you to avoid making a bigger on fall.
32 A One swallow does not make good event does not mean that everything is alright. the summer.
33 A A tree is known by its man is judged by his actions.
BARU
grief.
Time goes by slowly when you have nothing to do.
45 All good things come to those
who wait.
Patience brings rewards.
46 All is fair in love and war Things that are done in love or war can often be excused.
47 All that glitters is not gold. Appearances can be deceptive.
48 All things are difficult before
they are easy.
With practice things become easier.
49 All things grow with time ‐ except
As time goes by, grief subsides little by little.
44 All days are short to
50 All work and no play makes
Jack a dull boy.
Everybody needs a certain amount of relaxation. It is not good to wo all
the time.
51 All's well that ends well
There is a solution to everything even though there are doubts.
52 An apple a day keeps the doctor
away A small preventive treatment wards off serious problems.
53 An empty purse frightens away
friends.
When one's financial situation deteriorates, friends tend to disappea
Industry and long to Idleness.
People are undistinguished until they have made a name.
38 Actions speak louder than words.
ID Proverb Meaning fruit.
34 A watched pot never boils If you wait anxiously for something, it seems to take a long time.
35 A young idler, an old beggar
If you don't work, you won't have any money when you're old.
36 Absences makes the heart grow
fonder We
feel more affection for our relatives and friends when we are parted from them
37 Accidents will happen in the
best‐regulated families even
the most efficient organization is not infallible, it is used as a consolation for mistakes made
What a person actually does is more important that what they say they
43 All cats are grey in the dark.
will do.
39 Advice is cheap.
It doesn't cost anything to offer advice.
40 Advice is least heeded when
most needed.
When a problem is serious, people often do not follow the advice given.
41 Advisers run no risks.
It's easier to give advice than to act.
42 After dinner rest a while, after
supper walk a mile.
Today 'dinner' is usually called 'lunch', and 'supper' more often called 'dinner'.
54 An Englishman's home is An Englishman's home is a place where he feels safe, enjoys privacy
BARU
ID Proverb Meaning
his and castle. can do as he wishes.
55 An When idle brain is the devil's you work you avoid temptation. workshop.
56 An It ounce of prevention is is easier to prevent something from happening than to repair the worth damage
a pound of cure. or cure the disease later.
57 Anger When is the one thing you are angry, it is best not to speak or act immediately. made better by delay.
58 Any time means no time. If the date of an event remains vague, it will never happen.
59 April Something showers bring May bad or unpleasant today may bring good things in the flowers. future.
60 As You you make your bed you should choose carefully the person you marry. must lie upon it.
61 As You you sow, so shall you have to accept the consequences of your actions. reap
62 Ask There me no questions, I'll are subjects I'd rather not discuss. tell you no lies.
63 Bad People news travels fast. tend to circulate bad news (accidents, illness etc.) very quickly
64 Be Listen swift to hear, slow to carefully before speaking. speak
65 Beauty Different is in the eye of the people have different tastes. beholder.
66 Beauty is only skin deep. A person's character is more important than their appearance.
67 Better Be be alone than in careful in the choice of the people you associate with. bad company.
68 Better It's be the head of a better to be the leader of a small group than a subordinate in a dog bigger
then the tail of a lion. one.
69 Better It's flatter a fool than better to avoid disputes with stupid people. fight him.
70 Better Better late than never. late than never.
71 Better It's lose the saddle better to stop and accept a small loss, rather than continue and than risk
the horse. losing everything
72 Better It's safe than sorry better to be too careful than to be careless and regret it later.
73 Better It's the devil you know better to deal with somebody difficult but familiar, than change than and
the devil you risk dealing don't with know somebody worse.
74 Better Be to drink the milk careful not to destroy the source of your income or welfare. than to eat the cow.
BARU
When you work you avoid temptation.
A clean body is just as important as a pure soul
88 Clear moon, frost soon.
Clear moon, frost soon.
89 Clothes don't make the man.
Appearances can be deceiving.
90 Comparisons are odious We should not make comparisons between two people, because it is very
likely unjust to one or other of them
91 Constant occupation prevents
temptation.
92 Courtesy costs nothing there
going to be.
is nothing to be lost by behaving in courteous way
93 Cowl does not make the monk
The wearing of such a garment does not turn a man into a monk
94 Creaking gate hangs long Persons in weak health often live a long time
95 Crime doesn't pay
Criminals do not benefit from their actions.
96 Cross the cream where it is
shallowest Don't
make difficulties for yourself by doing things the hard way
97 Customs makes all things easy
87 Cleanliness is next to godliness.
86 Child is father of the man By studying the character of a child we can tell what short of a man h is
A person's background or education will eventually show.
ID Proverb Meaning
75 Better untaught than ill‐ taught
It's better not to be taught at all than to be taught badly.
76 Beware of Greeks bearing gifts
Don't trust your enemies
77 Birds of a feather flock together.
People of the same sort are usually found together.
78 Blood is thicker than water
Family relationships are stronger than relationships with other peopl
79 Blood will out.
80 Boys will be boys.
85 Charity begins at home. A person's first duty is to help and care for his own family.
Boys, and sometimes men, behave in a childish way from time to time.
81 Call no man happy till he is
dead life is bound to be so bad that no living person can ever be happy
82 Cast not the first stone before
condemning anyone who has done wrong, ask yourself whether your own conduct has been blameless
83 Catch as catch can
Get all you can by whatever means you have at your disposal
84 Catch not at the shadow and
lose the substance This
warns us against wasting time on trivial aspects of a matter
This means the same as practice makes perfect
BARU
ID Proverb Meaning
98 Dead A men tell no tales dead person cannot cause difficulties by revealing something that i would
be preferable to conceal.
99 Deeds, A not worst person is known and judged more by his actions than by what he says
100 Desires The are nourished by longer we are kept waiting for something, the more we want it delays
101 Diamond cuts diamond. Refers to two people equally matched in wit or cunning. 102 Diligence Hard is the mother of work brings rewards. good fortune. 103 Discontent Were
is the first step we all completely satisfied with the existing state of affairs, in there progress would be no progress 104 Discretion It
is the better is useless to take unnecessary risks. part
of valour 105 Distance When makes the heart you are separated from the person you love, your feelings are grow even
fonder. stronger. 106 Do This
as I do, not as I do is a tilt against those preachers who condemn in the pulpit the very things of which they themselves are guilty.
107 Dogs People of the same street from the same background have the same behaviour. bark alike.
108 Don't Don't bark if you can't complain if you can't enforce your point of view. bite.
109 Don't You count your chickens must not be too confident that something will be successful. before they're hatched. 110 Don't Don't
cut off your nose to do anything in a fit of temper that will injure only yourself spite your face 111 Don't Don't
cut the bough you endanger your own position by a hasty or thoughtless action. are
standing on 112 Don't Don't dig your grave with do something yourself which causes your own downfall. your own knife and fork. 113 Don't Don't judge a book by its judge by appearances. cover. 114 Don't Don't
make a mountain turn a trifling matter into a major disaster out of a molehill 115 Don't Don't
make a rod for your do anything that may get you into trouble later own back 116 Don't We
put the cart before should not get things back to front, but should deal with them in the their horse right order 117 Don't
ride the high horse Don't give yourself airs, don't be arrogant 118 Don't speak to the man at The driver of a car must give all his attention to his driving
BARU
There is an explanation for everything. 135 Everything
man is the architect of his own fortune.
Life is what you make it. 131 Every
oak must be an acorn Everything
has to have a small beginning, so don't be discourage by your own'smallness' 132 Every
path has its puddle. Progress is rarely without difficulty. 133 Every
rose has its thorn Every good thing has an unpleasant side.
134 Every why has a wherefore.
comes to him who waits
128 Every man for himself.
The person who is prepared to wait patiently usually gets what he wants
in the end 136 Everything in the garden is rosy.
Everything is satisfactory. 137 Everything
must have a beginning Every
mighty undertaking was very small when it started 138 Experience is the father of wisdom.
Experience and knowledge result in better judgement. 139 Facts
speak louder than words.
People show what they are really like by what they do, rather than by what
You must think of your own interests before the interests of others. 129 Every man has his price. Everyone's loyalty can be bought for a price. 130 Every
own advantage they say.
or west, home is best Wherever it is, and however far you may travel from it, there's no place like home 122 Easy
ID Proverb Meaning
the wheel 119 Don't
wash your dirty linen in public
We should not discuss matters in public especially if they are of a shameful
nature 120 Easier said than done.
Healthy, wealthy and wise.
What is suggested sounds easy but it is more difficult to actually do it 121 East
come, easy go.
127 Every law has a loophole The unscrupulous person can get round almost any rule regulation to his
Money obtained without difficulty is easily spent or lost. 123 Elbow
grease is the best polish.
Hard work gives the best results. 124 Empty
vessels make the most noise.
The least intelligent people are often the most talkative or noisy. 125 Every
ass likes to hear himself bray.
People like to listen to themselves talking. 126 Every
cloud has a silver lining There is a positive or hopeful side to every unpleasant situation.
BARU
ID Proverb Meaning
they say. 140 Familiarity Knowing breeds somebody very well may lead to a lack of respect for them. contempt 141 Fine No
words butter no amount of talking can replace action. parsnips. 142 First The
come, first served. first person in the line will be attended to first, those who arrive early get a better choice 143 First You
things first. should start with the most important duties or concerns. 144 Fool One me once, shame on should learn from one's mistakes. you;
fool me twice, shame on me.
145 Fools Inexperienced rush in where angels people act in situations that more intelligent people fear would
to tread avoid 146 Forced No kindness deserves doubt the doer of the kindness is thanked, but he does not no deserve
thanks to be if he has done it against his will 147 Forgive Let and forget bygones be bygones 148 Fortune
favours the bold the successful people in life are those who have the courage to try 149 Fortune opportunity knocks at least comes to everyone at least once, and when it does come once we
at every man's gate should seize it 150 Forwarned is forearmed if we are warned beforehand that something is going to happen we are
able to take all necessary steps in advance 151 full beware of courtesy, full of of a man who is too extravagantly polite, for he is probably craft trying
to cheat you 152 Gardens Nothing are not made by is achieved without effort. sitting in the shade. 153 give be
and take as ready to give as to take 154 Give we credit where credit is should acknowledge the good points of even those we dislike or due disapprove
of 155 Give Give someone an inch and someone a little and they will want more ‐ some people are they never will take a satisfied. mIle (or yard). 156 Give Give
someone enough someone enough time and freedom and they will get into rope trouble.
and they will hang themselves. 157 Give Even
the devil his due the very bad sometimes do a good deed, so we should recogniz the good points of others 158 God If
helps those who help you want to succeed ypu must make the effort yourself. themselves 159 God natural
made the country, scenery(God‐make) is better than man‐made object.
BARU
ID Proverb Meaning
and man made the town 160 Golden Money,
key opens every which overcomes for its possessors all the obtacles barring th door way to poorer folk 161 Good You
accounting makes will keep your friends if you avoid disputes over money. good friends. 162 Good A and quickly seldom well‐done job takes time. meet. 163 Good A
company on the journey on foot seems much longer when we make it alone than w road di is the shortest cut it with pleasant companions.
164 Good A husband makes a husband who treats his wife well is likely to be treated well in good return.
wife 165 Good It name is sooner lost takes a long time to build up a good reputation but this reputation than quickly
won lost by just one crime or piece of bad behaviour 166 Good wine needs no bush High‐quality goods need no advertising because people soon get to know
about them. 167 Grapes People
are sour who cannot get what they want are inclined to pretend that they never wanted it, in order to save face.
168 Grasp If all, lose all you are too greedy you will lose even what you have already 169 Great
city, great solitude In a large centre of civilization, where many thousands of people are going about their own affairs, we can feel lonely as if we were on a desert
island. 170 Great
minds think alike. Said when you express the same opinion as another person at the same time.
171 Great Large oaks grow from successful operations can begin in a small way. little acorns.
172 Grief If divided is made you share your grief it is easier to bear lighter
173 Growing He youth has a wolf is always hungry. in
his belly 174 Half You a loaf is better than should be grateful for something, even if it's not as much as you none. wanted.
175 Haste If makes waste. something is done too quickly, it may be done carelessly and need to
be redone. 176 Hatred
is a blind as love. A person who feels hatred does not see any qualities in the person he/she hates.
177 He If can who believes he you believe you can do something, you will be able to do it. can.
178 he People devil makes work for who have no work, or are idle, often get into or make trouble idle
hands 179 He A has enough who is happy person needs nothing more.
BARU
life deals you lemons, make lemonade.
long the night, the dawn will break
Bad things don't last forever. 192 Hunger is a good sauce. All food tastes good when you are hungry. 193 If
a camel gets his nose in a tent, his body will follow.
If you let something intrusive enter your life, your life will become difficult
194 If in February there be no rain,
'tis neither good for hay nor grain.
Plants and crops will grow badly if there is no rain in early spring. 195 If
You should make the best of a bad situation. 196 If
catches more flies than vinegar.
two ride a horse, one must ride behind.
When two people do something together, one will be the leader and
the other will be the subordinate. 197 If
wishes were horses, then beggars would ride.
Wishing alone is of no use; you must act as well. 198 If
you are patient in one moment of anger, you
will avoid 100 days of sorrow.
You can obtain more cooperation from others by being nice. 191 However
You call home the place where the people you love are. 189 Honesty is the best policy. It's always better to be honest. 190 Honey
who pays the piper calls the tune.
ID Proverb Meaning content.
180 He laughs best who laughs last.
Don't express your joy, or your triumph, too soon! 181 He
who hesitates is lost. If you delay your decision too long, you may miss a good opportunity 182 He who is everywhere is nowhere.
It's not good to do too many things at the same time. 183 He
who knows nothing, doubts nothing.
Knowledge leads us to make choices. 184 He
The person who provides the money for something should control how
is where the heart is.
it is spent 185 He who plays with fire gets
burnt.
If you behave in a risky way, you are likely to have problems. 186 He
who wills the end wills the means.
If you are determined to do something you will find a way. 187 Health
is better than wealth.
It's better to be in good health than to be rich. 188 Home
Avoid regrets by taking time to think before speaking or acting angril
BARU
ID Proverb Meaning
199 If If you chase two rabbits, you try to do two things at the same time, you won't succeed in you doing
will not catch either either of them. one. 200 Ignorance Possible
is bliss. interpretation: What you do not know causes no worry or sadness. 201 In If
for a penny, in for a you start something, it's better to spend the time or money pound. necessary to complete it.
202 In A the land of the blind, man of even limited ability has an advantage over a person who is the less
one‐eyed man is king. able. 203 In You times of prosperity have many friends when you have no difficulties. friends are plentiful. 204 It The is always darkest before most difficult time is just before a problem is solved. the
dawn 205 It never rains but it pours. Misfortunes usually come in large numbers.
206 It People takes all sorts to make a vary in character and abilities, and this is a good thing. world. 207 It's Don't
no use crying over spilt express regret for something that has happened and cannot be milk. remedied. 208 Jack If
of all trades is master you want to get on in the world you should concentrade on one of thing none and learn to do it well 209 Jam If
tommorrow and jam there is one day of the week that we enjoy more than the other six yesterday today but never jam never seems to be that day today