Buat 1 Class Module "cItemData" kemudian tambahkan syntax berikut dalam class module tersebut :
****************************************** Option Explicit Public Name As String Public Value As String -------------------------------------------------------------------- Sebenarnya sih gak perlu, karena isi dari classmodule ini hanya deklarasi variable yang bisa dideklarasikan sendiri di class module "cWmi", tapi daripada ngubah2 program, mending lakukan aja deh... sori banyak yang kelupaan soalnya aku cari2 contoh program ini di arsip contoh2 programku yang sudah lama banget gak aku buka, jadi harus "metani". Sebenarnya source code seperti ini buuaaannyyyaaakk banget di internet kok kalo kita mau cari2. Semoga membantu Best Regards, Dhani Aristyawan, S.Kom. EDP Supervisor PT. ALP Petro Industry ( AGIP ) Jl. Raya Kebonsari Ds Legok - Pasuruan 67155 Telp : 0343 - 853308 Fax : 0343 - 853307 _____ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of kakung Sent: Friday, December 01, 2006 8:06 AM To: [email protected] Subject: Re: Balasan: RE: Balasan: RE: [indoprog-vb] Nomor Seri Processor Mas, kalo errornya : "Dim p_objColItem As cItemData" User-defined type not defined gimana ya solusinya? tks ----- Original Message ----- From: Dhani Aristyawan ( EDP ) To: indoprog-vb@ <mailto:indoprog-vb%40yahoogroups.com> yahoogroups.com Sent: Thursday, November 30, 2006 5:12 PM Subject: RE: Balasan: RE: Balasan: RE: [indoprog-vb] Nomor Seri Processor Oopss, sori lupa lagi .. hehehe Seharusnya cWmi itu adalah Class Module ( bukan module ) Best Regards, Dhani Aristyawan, S.Kom. EDP Supervisor PT. ALP Petro Industry ( AGIP ) Jl. Raya Kebonsari Ds Legok - Pasuruan 67155 Telp : 0343 - 853308 Fax : 0343 - 853307 _____ From: indoprog-vb@ <mailto:indoprog-vb%40yahoogroups.com> yahoogroups.com [mailto:indoprog-vb@ <mailto:indoprog-vb%40yahoogroups.com> yahoogroups.com] On Behalf Of Andristyanto Sagitta Pratama Sent: Thursday, November 30, 2006 4:21 PM To: indoprog-vb@ <mailto:indoprog-vb%40yahoogroups.com> yahoogroups.com Subject: Balasan: RE: Balasan: RE: [indoprog-vb] Nomor Seri Processor Mas ak dapat error baru. Aku dah tambahin referencesnya tapi muncul error di modul selain cWmi pada perintah : private m_objWmi as cWmi errornya berkata : a module is not valid type maksudnya error tersebut gimana mas ? Makasih ya mas atas jawabannya. "Dhani Aristyawan ( EDP )" <[EMAIL PROTECTED] <mailto:dhania%40agip.co.id> co.id> wrote: O iya sorry lupa, Coba anda tambahkan References melalui menu "Project | References", cari "Microsoft WMI Scripting V 1.2 Library" atau kalau gak ada, Browse aja ke file : "C:\Windows\System32\WBem\Wbemdisp.TLB", tapi seharusnya ada Semoga membantu Best Regards, Dhani Aristyawan, S.Kom. EDP Supervisor PT. ALP Petro Industry ( AGIP ) Jl. Raya Kebonsari Ds Legok - Pasuruan 67155 Telp : 0343 - 853308 Fax : 0343 - 853307 _____ From: indoprog-vb@ <mailto:indoprog-vb%40yahoogroups.com> yahoogroups.com [mailto:indoprog-vb@ <mailto:indoprog-vb%40yahoogroups.com> yahoogroups.com] On Behalf Of Igit Syah Riza Sent: Thursday, November 30, 2006 1:02 PM To: indoprog-vb@ <mailto:indoprog-vb%40yahoogroups.com> yahoogroups.com Subject: Re: Balasan: RE: [indoprog-vb] Nomor Seri Processor Ikutan nimbrung boleh ?... Aku dah nyoba, tapi ada masalah di "SWbemObjectSet" pesannya user-defined type not defined. kenapa yaa ? mungkin ada reference yang kurang... salam igit ----- Original Message ----- From: Andristyanto Sagitta Pratama To: indoprog-vb@ <mailto:indoprog-vb%40yahoogroups.com> yahoogroups.com Sent: Thursday, November 30, 2006 11:53 AM Subject: Balasan: RE: [indoprog-vb] Nomor Seri Processor Ok mas tak coba dulu yah.. --------------------------------- Kunjungi halaman depan Yahoo! Indonesia yang baru! [Non-text portions of this message have been removed] [Non-text portions of this message have been removed] [Non-text portions of this message have been removed] --------------------------------- Sekarang dengan penyimpanan 1GB http://id.mail. <http://id.mail.> <http://id.mail. <http://id.mail.yahoo.com/> yahoo.com/> yahoo.com/ [Non-text portions of this message have been removed] [Non-text portions of this message have been removed] [Non-text portions of this message have been removed] [Non-text portions of this message have been removed]
