Current time: 11-14-2018, 02:09 PM Stay in touch via Twitter Facebook RSS Feed
Ada Baiknya anda baca Peraturan Forum ForNesia Disini Dan Disitu Sebelum Terlambat!
System Registration Forums Mulai Kedepan Sewaktu waktu akan Di Tutup.
Silahkan Dibaca Mengenai Auto Pruning User . Agar tidak ada pertanyaan lagi tentang kehilangan akses forum.



[Ask] cara membuat multy host di vb

06-21-2014 05:01 PM cara membuat multy host di vb
#1


ardisyaputra Away
HunteR
HunteR
*

Posts: 42
Joined: Apr 2014

Reputation:

FCoin: 2.00ƒc
misi master dkk
bisa ajarin saya cara buat multy host di vb 6 menggunakan combobox ?

ardisyaputra, proud to be a member of ForNesia Family since Apr 2014.
01-04-2015 06:01 PM RE: cara membuat multy host di vb
#2


babelpatcher Away
Banned
Banned

Posts: 103
Joined: Jun 2014

FCoin: 2.00ƒc
kan gampang om..
tinggal ADD ITEM via Jendela Properties
atau
Code:
via Code:
combo1.add item "Bug1"
combo1.add item "Bug2"
combo1.add item "Bug3"

lalu bisa pake if:
Code:
dim payload as string
if trim(combo1.text) = "Bug1" then
    payload = ...
elseif trim(combo1.text) = "Bug2" then
    payload = ...
else
    payload = ...
end if

atau pake case:
Code:
dim strbug as string, payload as string
strbug = trim(combo1.text)
if len(strbug) then
    select case strbug
         case "bug1"
              payload = ....
         case "bug2"
              payload = ...
          case else
              payload = ...
    end select
else
   msgbox "Pilih Host nya dulu Bos!"
end if
(This post was last modified: 01-04-2015 06:04 PM by babelpatcher.)




Search thread:


[-]
Advertisement