Sabtu, 09 November 2013

mengenal visual basic 6.0 & contoh dasar membuat program pada visual basic

Mengenal Visual Basic 6.0
Bahasa Basic pada dasarnya adalah bahasa yang mudah di mengerti sehingga pemrograman di dalam bahasa Basic dapat dengan mudah dilakukan meskipun oleh orang yang baru belajar membuat program. Hal ini lebih mudah lagi setelah hadirnya Microsoft Visual Basic,yang dibangun dari ide untuk membuat bahasa yang sederhana dan mudah dalam pembuatan scriptnya (simple scripting language) untuk graphic user interface yang dikembangkan dalam system operasi Microsoft Windows.
Langkah-langkah cara membuka program Microsoft Visual Basic 6.0
1) Klik start
2) Buka All program
3) Pilih program microsoft Visual Basic 6.04)
Klik open untuk memulai membuat sebuah program
Maka akan muncul seperti dibawah ini:
Kemudian form1 bisa dilebarkan sesuai keinginan untuk menampilkan lebih jelas label yang akan dibuat,

Berikut ini cara membuat program Visual Basic 6.0
Pembuatan program aplikasi menggunakan Visual Basic 6.0 dilakukan dengan membuattampilan aplikasi pada form, kemudian diberi script program di dalam komponen-komponen yangdiperlukan. Form disusun oleh komponen-komponen yang berada di (Toolbox), dan setiapkomponen yang dipakai harus diatur propertinya lewat jendela (Property). Menu pada dasarnyaadalah operasional standar di dalam sistem operasi windows, seperti membuat form baru,membuat project baru, membuka project dan menyimpan project. Di samping itu terdapatfasilitas-fasilitas pemakaian visual basic pada menu   
Saya membuat program biodata saya di form1 dibawah ini, langkah pertama saya yaitu membuat kotak label sebanyak 7 label, kemudian disamping kanannya saya letakan 3 Textbox dan dibawahnya saya buat 1 command button. Lebih jelasnya lihat gambar dibawah:



Saya ingin merubah tulisan label 1-4 menjadi  :
1.       Label1= biodata
2.       Label2= input nama
3.       Label3= input kelas
4.       Label4= input npm
 


Dengan cara merubahnya di option properties è Caption = ubah nama label1 sesuai dengan keinginan. Misalnya saya ingin me-rename labe1 menjadi biodata. Seperti dibawah ini contohnya:

Begitu juga dengan label2,3&4 merubah input nama, npm & kelas caranya seperti diatas.
Selanjutnya mengosongkan 3 Text box tersebut dengan cara seperti ini:
.
Dan yang terakhir me-rename Command1 menjadi “OK”
Setelah selesai membuat yg diatas klik OK pada form1 tersebut.
Saya ingin menampilkan input nama, kelas dan npm di label 5, 6 dan 7.
Caranya ketik =                  Label5.Caption =  Text1. Text
                                 Label6.Caption = Text2. Text
                                 Label7.Caption = Text3.Text
Lebih jelasnya lihat gambar button (code)dibawah ini:

Kemudian klik start untuk melihat hasilnya, setelah melihat hasilnya. Saya ketik nama, kelas dan npm. Lalu saya tekan OK, dan akan muncul hasil program saya seperti dibawah ini:

PROFIL Chaelin_CL MY IDOL



Name: Lee Chae Rin (이채린)

English Name: Chae Lee | Faith Lee

Stage Name: CL

Position: Leader | Rapper | Vocal

D.O.B.: February 26, 1991

Height: 162cm (approx. 5'4")

Blood Type: A

Religion: Catholic

Hobbies: Coloring | Drawing | Writing Lyrics

Favorite Color(s): Black | White

Educational Background: -

Specialties: Dancing | Rapping | Singing | Japanese | French | English

First Stage Performance: SBS Gayo Daejun last December 29, 2007 with YG Family

 

 CL adalah salah satu member dari girlband terkenal di korea selatan, yaitu 2ne1.posisi CL di 2ne1 sebagai Leader dan rapper.. selain itu hal yang membuat saya sangat mengaggumi CL adalah fashion dia yang cetar membahana,...ettt !! tapi bukan cetar'ala syahrini yaah ? haha.. fashion CL yang sangat cool dan perfect banyak menginspirasi anak-anak blackjack alias nama fansclub dari girlband 2ne1.termasuk saya..yang begitu tergila-gila dengan CL.dari mulai baju..sepatu..& kacamata yang sering di pake CL saat perform..hampir 60% saya punya koleksi'nya loh... hehe ^_^ maklum,,anak k-pop .. alay-alay gimana gitu.. apalagi sejak CL membuat akun instagram resmi'nya yaitu @chaelin_cL para blakjack merasa semakin bisa meng update fashion" cL dari photo-photo yang CL upload setiap harinya,hmmm..saya jadi sering buka akun instagram saya,hanya untuk melihat photo terupdate dari CL.. udah ah,kalo ngomongin cL pasti gak ada habisnya... but CL is the baddest female..(cL says: not BAD meaning BAD but BAD meaning GOOD,you know?)





Lirik Lagu BAD BOY- Big Bang

BAD BOY

(english version)

I was too harsh that night
I didn’t know you would really leave
The words, “I’m sorry”, is too difficult for us that we take it to the end
Because I’m ill-tempered
We fight over stupid things numerous times a day
You take off crying, I look around and think,
‘She’ll come back tomorrow. She’ll definitely call me first in the morning’
Baby, I can’t, I’m so bad that I want to be good to you but it’s hard
Every day and night I’m so mean cuz I’m so real so I’m sorry (but I can’t change)
I’m the one you love but sorry I’m a bad boy
Yes, just leave me, good bye, you’re a good girl
The more time passes, the more you get to know me, only disappointments will remain but
Baby don’t leave me, I know you still love me
Why, yes, I’ll tell you the truth, I need you
My lay lay lay lay lady
My lay lay lay lay lady
You say that I’m different than other guys so it’s hard
You’re still like a young girl with a soft heart
For you, who is always smiling next to me, I’m still too young
With the excuse that I’m busy, I postpone our date
Because I’m sorry, because I’m frustrated, I turn my head
The bride in my dreams is just a friend now
Upset over the breakup, we are silent
Baby, I can’t, I’m so bad that I want to be good to you but it’s hard
Every day and night I’m so mean cuz I’m so real so I’m sorry (but I can’t change)
I’m the one you love but sorry I’m a bad boy
Yes, just leave me, good bye, you’re a good girl
The more time passes, the more you get to know me, only disappointments will remain but
Baby don’t leave me, I know you still love me
Why, yes, I’ll tell you the truth, I need you
My lay lay lay lay lady
My lay lay lay lay lady
Don’t say a thing
I act tough but I’m not inside
Don’t abandon me
You know that there’s no one who will understand me like you, baby
Oh you, come back to me ye ye ye
I’m the one you love but sorry I’m a bad boy
Yes, just leave me, good bye, you’re a good girl
The more time passes, the more you get to know me, only disappointments will remain but
Baby don’t leave me, I know you still love me
Why, yes, I’ll tell you the truth, I need you
My lay lay lay lay lady
My lay lay lay lay lady
I’m the one you love but sorry I’m a bad boy
Sorry I’m a bad boy, Sorry I’ma bad boy
Yes, just leave me, good bye, you’re a good girl
You’re a good girl, you’re a good girl (X2)

song: bad boy
by: Big Bang




lirik lagu WHO YOU - G DRAGON

WHO YOU
(english version)

Baby I love you, I say this but I don’t feel good at all I want you I need you, I sing but I don’t know why I feel bad, who you?
Congratulations, you already are meeting someone new I hope it works out, althought it’s a bit early If you’re happy, that’s all I want But I keep getting angry, baby who you?
Du du du oh-oh-oh-oh-oh [x2]
Baby I miss you, why do I keep thinking about you I can’t meet someone else, I don’t want to Whether I love you or hate you I can’t determine, everyday I’m still confused I don’t know why I feel bad, who you You keep showing up in front of me with your arms locked to his This isn’t right, are you kidding me? Oh my? Enough is enough A pair of dirty flowers bloomed by the street Instead of the expensive purse that I couldn’t get you Instead of shoes I bought a pillow, wet with tears uh why are you happy while I’m unfortunate Who you
Du du du oh-oh-oh-oh-oh (X2)
Baby I just want you back I want you back I want you back Baby I know it’s too late it just too late it’s just too late [x2]
I pray for fight, pray for a break-up I always pray for you to come back to me Every neighborhoods every streets I visit and tell people that you two aren’t doing well So lame and loser-ish, I’ve always been a loser I didn’t know, you’re the same, you bad girl I will treat you better, will you meet me? I won’t bother you, will you please come back to me?
Baby I hate you Baby I loved you Ma baby hate you Baby love you du du du du du who you?

song: who you
by: G Dragon

Lirik Lagu CROOKED - G DRAGON

CROOKED

(english version)


Nothing ever lasts forever
In the end, you changed
There is no reason, no sincerity
Take away such a thing as love
Tonight, I’ll be crooked

Leave me alone
I was alone anyway
I have no one, everything is meaningless
Take away the sugar-coated comfort
Tonight, I’ll be crooked

I scream and get dizzy
I vent out of boredom to other couples
I start fights for no reason like a town gangster
Sometimes, I purposely shake my leg, crookedly
The main characters of the movie called this world is you and me
A lonely island, lost and wandering
The empty streets are filled with those who are alone
Unlike my heart, the weather is so damn nice

I used to believe in you alone and I was happy
But like a joke, I am left alone
You used to promise me with your pinky finger
But in the end

Nothing ever lasts forever
In the end, you changed
There is no reason, no sincerity
Take away such a thing as love
Tonight, I’ll be crooked

Leave me alone
I was alone anyway
I have no one, everything is meaningless
Take away the sugar-coated comfort
Tonight, I’ll be crooked

I’ll put on thick eyeliner, use a whole can of hairspray
Leather pants, leather jacket with a frown
I want to hide my pain and become even more crooked
So you can feel sorry, I’ll spit toward the sky
You’re scared of my crude words and my rough eyes
But actually, I’m afraid, I want to go back but I have nowhere to go
I want to love but no one to love, what am I supposed to do?
I can’t turn it back

I used to believe in you alone and I was happy
But like a joke, I am left alone
You used to promise me with your pinky finger
But in the end

Nothing ever lasts forever
In the end, you changed
There is no reason, no sincerity
Take away such a thing as love
Tonight, I’ll be crooked

Leave me alone
I was alone anyway
I have no one, everything is meaningless
Take away the sugar-coated comfort
Tonight, I’ll be crooked

Will you not say anything for me tonight?
I didn’t know being alone would be this hard (I miss you)
Will you be my friend tonight?
On this good day, this beautiful day, this day where I miss you
Tonight, I’ll be crooked


song: crooked

by:G DRAGON

puisi

KELABU

sepi ini,
sunyi ini,
asa ini,
tak bertepi,

sendiri,
merenungi,
langkah ini,
tiada ku temui,

suara-suara itu,
mungkin menjauh..
tak bisa kutahan,
meredup , dan menjauh..

kelabu,
kelam rasa'ku
tiada menentu,
hingga lelahku

hanya kelabu,
yang terus mengiringi'ku
tiada harap,
tak berucap,

kelabu,
kelabu,...............



by: norma lisa