Pilih Warna Kesukaan Anda

Rabu, 28 Desember 2011

Mengatasi masalah lisensi activex control pada VB.60

Tidak semua komponen yang ada pada Visual Basic merupakan komponen Enterprise Edition.
Ada beberapa komponen yang masuk dalam kategori Profesioanl Edition bahkan Learning Edition.

Mungkin diantara anda ada yang pernah menemukan pesan error sebagai berikut:

License Information For This Component Not Found. You Do Not Have An Appropriate License To Use This Functionality In The Design Environment.
Ketika anda akan menggunakan sebuah kontrol tertentu dalam project anda, atau

Compile Error : Permission Denied
Ketika anda melakukan Compiling project anda, atau

60: Method ~ of Object ~ failed
Ketika anda menggunakan Application Wizard, atau

Runtime Error ‘429? : ActiveX Component Can’t Create Object
Ketika anda mencoba running project anda

Semua pesan error diatas terjadi karena ada komponen yang tidak terregistrasi, untuk mengatasinya, anda bisa mengatasinya dengan download file VB6CLi.exe, melalui link dibawah ini :

VB6Cli.exe Fixes License Problems with Visual Basic 6.0

Setelah anda download berikutnya anda tinggal exekusi file VB6CLi.exe, namun sebelumnya pastikan aplikasi VB anda tidak sedang running. Jika proses eksekusi menampilkan pesan “Enterprise Design Licenses Have Been Installed Successfully”, maka anda telah sukses melakukan fixing komponen VB 6.0 anda, sebaliknya jika tidak berhasil akan menampilkan pesan error sebagai berikut :

Exit Code 0 : Licenses for that Edition were installed
Exit Code 1 : Microsoft Visual Basic 6.0 was not detected on this system
Exit Code 2 : Could Not Load A Support Utility Library
Exit Code 3,4 : At Least 1 Design License Was Not Properly Installed
Exit Code 5 : Unable To Install Any Design Licenses
Exit Code 6 : There Was An Unspecified Error With The VBC6 Utility

VB6CLi.exe bisa digunakan untuk fixing beberapa ActiveX control berikut

ActiveX Control FileName Version Edition
-------------------------------------------------------------------------

ADO Data Control 6.0 MSADODC.OCX 6.00.8171 L,P,EChart Control 6.0 MSCHRT20.OCX 6.00.8177 P,EComm Control 6.0 MSCOMM32.OCX 6.00.8169 P,ECommon Dialog Control 6.0 COMDLG32.OCX 6.00.8169 L,P,EData Bound List Controls 6.0 DBLIST32.OCX 6.00.8169 L,P,EDataGrid Control 6.0 MSDATGRD.OCX 6.00.8169 L,P,EDataList Controls 6.0 MSDATLST.OCX 6.00.8169 L,P,EDataRepeater Control 6.0 MSDATREP.OCX 6.00.8169 P,EFlexGrid Control 6.0 MSFLXGRD.OCX 6.00.8169 L,P,EHierarchical FlexGrid Control 6.0 MSHFLXGD.OCX 6.00.3005 L,P,EInternet Transfer Control 6.0 MSINET.OCX 6.00.8169 P,E
MAPI Controls 6.0 MSMAPI32.OCX 6.00.8169 P,EMasked Edit Control 6.0 MSMASK32.OCX 6.00.8169 P,EMultimedia Control 6.0 MCI32.OCX 6.00.8169 P,EPictureClip Control 6.0 PICCLP32.OCX 6.00.8169 P,ERemoteData Control 6.0 MSRDC20.OCX 6.00.8169 ERich Textbox Control 6.0 RICHTX32.OCX 6.00.8169 L,P,ESysInfo Control 6.0 SYSINFO.OCX 6.00.8169 P,ETabbed Dialog Control 6.0 TABCTL32.OCX 6.00.8169 L,P,EWindows Common Controls-3 6.0 COMCT332.OCX 6.00.8169 P,EWindows Common Controls 5.0 (SP2) COMCTL32.OCX 6.00.8022 L,P,EWindows Common Controls 6.0 MSCOMCTL.OCX 6.00.8177 L,P,EWindows Common Controls-2 5.0 (SP2) COMCT232.OCX 6.00.8022 L,P,EWindows Common Controls-2 6.0 MSCOMCT2.OCX 6.00.8177 L,P,EWinsock Control 6.0 MSWINSCK.OCX 6.00.8169 P,E

L = Learning Edition
P = Professional Edition
E = Enterprise Edition

Bagi anda yang suka menggunakan komponen Sheridan 3D Controls (THREED32.OCX) dan anda menemukan pesan error
License Information For This Component Not Found. You Do Not Have An Appropriate License To Use This Functionality In The Design Environment.
ketika anda akan menggunakannya pada form dalam project anda, gunakan file VBUSC.exe untuk melakukan fixing.

VBUSC.exe bisa didownload dari link berikut : VBUSC.EXE Provides Licensing for Discontinued Controls

Setelah anda download anda bisa langsung eksekusi dan jalankan aplikasi VB anda kembali dan bisa dipastikan pesan errornya tidak akan tampil kembali.

VBUSC.exe, merupakan file yang khusus untuk mengatasi lisensi pada kontrol-kontrol yang sudah discontunue, dalam arti kontrol-kontrol tersebut sudah tidak lagi didistribusikan pada versi-versi terbaru.

Beberapa kontrol yang masuk dalam kategori discontinue antara lain :

ActiveX Control Name Filename
------------------------------------------------
Desaware Animated Button Control ANIBTN32.OCXMicrohelp Gauge Control GAUGE32.OCXPinnacle-BPS Graph Control GRAPH32.EXEMicrosoft Grid Control GRID32.OCXMicrohelp Key State Control KEYSTA32.OCXMicrosoft Outline Control MSOUTL32.OCXOutrider SpinButton Control SPIN32.OCXSheridan 3D Controls THREED32.OCX

Semoga membantu...

Referensi :

http://www.google.co.id/

0 komentar:

Posting Komentar

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Hot Sonakshi Sinha, Car Price in India