Senin, 04 Juli 2011

Mengatasi masalah lisensi ActiveX Control pada Vb 6.0

Mengatasi masalah lisensi ActiveX Control pada Vb 6.0

Author: Administrator · Published: November 26, 2008 · Category: Pemrograman VB

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 pembaca 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 menggukan 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 :
http://support.microsoft.com/default.aspx?scid=kb;en-us;194751
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,E
Chart Control 6.0                   MSCHRT20.OCX    6.00.8177      P,E
Comm Control 6.0                    MSCOMM32.OCX    6.00.8169      P,E
Common Dialog Control 6.0           COMDLG32.OCX    6.00.8169    L,P,E
Data Bound List Controls 6.0        DBLIST32.OCX    6.00.8169    L,P,E
DataGrid Control 6.0                MSDATGRD.OCX    6.00.8169    L,P,E
DataList Controls 6.0               MSDATLST.OCX    6.00.8169    L,P,E
DataRepeater Control 6.0            MSDATREP.OCX    6.00.8169      P,E
FlexGrid Control 6.0                MSFLXGRD.OCX    6.00.8169    L,P,E
Hierarchical FlexGrid Control 6.0   MSHFLXGD.OCX    6.00.3005    L,P,E
Internet Transfer Control 6.0         MSINET.OCX    6.00.8169      P,E
MAPI Controls 6.0                   MSMAPI32.OCX    6.00.8169      P,E
Masked Edit  Control 6.0            MSMASK32.OCX    6.00.8169      P,E
Multimedia Control 6.0                 MCI32.OCX    6.00.8169      P,E
PictureClip Control 6.0             PICCLP32.OCX    6.00.8169      P,E
RemoteData Control 6.0               MSRDC20.OCX    6.00.8169        E
Rich Textbox Control 6.0            RICHTX32.OCX    6.00.8169    L,P,E
SysInfo Control 6.0                  SYSINFO.OCX    6.00.8169      P,E
Tabbed Dialog Control 6.0           TABCTL32.OCX    6.00.8169    L,P,E
Windows Common Controls-3 6.0       COMCT332.OCX    6.00.8169      P,E
Windows Common Controls 5.0 (SP2)   COMCTL32.OCX    6.00.8022    L,P,E
Windows Common Controls 6.0         MSCOMCTL.OCX    6.00.8177    L,P,E
Windows Common Controls-2 5.0 (SP2) COMCT232.OCX    6.00.8022    L,P,E
Windows Common Controls-2 6.0       MSCOMCT2.OCX    6.00.8177    L,P,E
Winsock 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 : http://support.microsoft.com/kb/q195353/
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.OCX
Microhelp Gauge Control             GAUGE32.OCX
Pinnacle-BPS Graph Control          GRAPH32.EXE
Microsoft Grid Control              GRID32.OCX
Microhelp Key State Control         KEYSTA32.OCX
Microsoft Outline Control           MSOUTL32.OCX
Outrider SpinButton Control         SPIN32.OCX
Sheridan 3D Controls                THREED32.OCX

Tidak ada komentar:

Posting Komentar