Jump to content
-Bantal Bucux-

Tolong Sy.. Project Chemistry - Vb6

Recommended Posts

Camni... kat sekola... sy n geng kene wat program.. utk chemistry.. tapi utk sbject IT la...

Kiteorg kene wat periodic table of element kat dlm vb..

contohnye bila click kat element kat dlm periodic table ni... satu form akan keluar...

utk bgi penerangan pasal elemet ni...

Masalahnya sekarang saye tak tau camne nak simpan all the information pasal element tu...

pastu nak call dia...

Cth mcm dlm web ni : http://www.webelements.com

Hope ad org bole tlg... :mellow:

Share this post


Link to post
Share on other sites

Hai Bantal Bucux...projek yang adik ingin bangunkan adalah projek yang paling mudah didalam Visual Basic (VB yang adik maksudkan). Adik boleh cari buku visual basic 6 dan rujuk bab 2 dan 3. Selain itu adik juga boleh merujuk pada laman web dibawah.

http://www.ilmukomputer.com

Ianya website dari pereka indonessia tetapi boleh membantu. Ye, selamat mencuba.

///Otai-otai malaysia yang lain, tolonglah bantu ye adik ni.

Share this post


Link to post
Share on other sites

Hohoho... Thx Mr.shafarrz....

jasa abg sentiasa dikenang.... ^_^

Abg.. satu lagi question 100% x tau nak wat...

1st Form - utk gambar Periodic table....

Setiap element tu ad link ke 2nd Form

2nd Form - Form dah siap ruang.. tapi nak kene guna sistem utk

call information pasal element yg kene click kat 1st Form..

Masalah -->

1) tak tau nak buat 2nd form call information element yg dah kene click

2) x nak buat byk2 form... sbb kalau nak buat setiap element datu form...

sampai abis sekolah pon tak siap... so nak gune satu tapi boleh manipulate.

Siapakah yang sudi membantu adik mu ini....

bagi cth coding utk call information...

Please.. :blush:

Share this post


Link to post
Share on other sites

kalo definition utk setiap element tu,kita ltk dlm file text,bleh?

nama file text tu plak cuma number je.so,kita cari filename textfile tu berdasarkan nama je la.

camni..

buat 2 form

kat form 1,ko buat satu button

copy button tu kat form 1 tu jgk.

waktu dia tanye samada nak buat array,ko klik yes.

bouble klik kat button 1

bila kuar tmpt nak ltk coding,taip ni..

With Form2

.func_in_form2 (Index)

.Show

End With

pastu kat form 2,ltk textbox.buat dia jd multiline.

kat coding dia,tambah ni..

Public Sub func_in_form2(passed_value As String)

Dim filetoopen As String

filetoopen = "" & "" & passed_value & ".txt" & ""

Open filetoopen For Input As #1

While Not EOF(1)

Line Input #1, temp

Text1 = Text1 & temp & vbCrLf

Wend

Close #1

End Sub

cara benda ni berfungsi nanti,bila ko klik kat button,button tu akan pass index dia kat form 2.so,kita guna index tu utk cari filename text file kita.ko bleh gak modify supaya tkr2 gambar.

jgn lupa buat file2 text utk diisi ngan definition psl element2 tu.nama2 file tu ko ltk number je la mcm 1.txt.... atau 2.txt...

utk tambah lagi button,ko copy je,pastu paste.

kalo xnak isi definition psl element2 tu kat file text,bleh gak ltk kat coding..guna la if else..

dah abis senang dah rasanye ni.try ye..

Share this post


Link to post
Share on other sites

Thx a lot sworn... :lol:

sy dah pikir cam mane nak wat bende ni... tapi info elemnt nak simpan kat databse

camne nak wat form tu call info dari data base... sbb dah try wat tapi asyik error...

bile carik kat ternet... semua format MS Access 97 nye... camne eh nak wat??

takan nak convert jadik lame punye?? pastu cam ne nak convert Ms access ni?

Maklum la bende ni x pernah berlaku dlm hidup ku... sob..

Share this post


Link to post
Share on other sites

Bila kau plan nak siapkan projek nie? memandangkan kau masih belum menguasai apa2 basic, nak pakai database tu ambik masa yg agak lama nak study. Aku rasa kau perlukan dlm 2 bulan nie utk fully understand and implement

Nanti aku buatkan demo supaya senang kau nak start. kalau start from scratch, lama..

Edited by Coisox

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...