Resolve | control | Problems in view of the previous period of time trapped in the Microsoft control licensing issues, and the Internet is also difficult to find solutions to the problem, the two-day forum has also been a netizen in the question similar to the issue, special writing this article to treat vckbase you netizens.
As we all know, for the common OCX control, we publish, use the installation software to copy to the target machine and then register (or manually copy and then register with Regsvr32) on it.
However, some of the controls provided by Microsoft, such as the Microsoft ADO Control,microsoft Datagrid control, and so on, are often found in the development of the machine with good, but using the normal release process, published to the target machine, there will be " No registration category "prompts, the software is not available, and so on.
The reason is that Microsoft, in order to prevent its software from being illegally released, as a result, the licensing mechanism (license) has been added; logically, only the development environment needs permission, and in the context of the target code, the application can be used normally, but it cannot be opened by other development tools; Why is it contrary to Microsoft's original idea? I don't know. Let's get down to business and talk about how to solve the problem.
First, you must find out where the license information is stored, and tell you that it is in the hkey_classes_root\licenses directory. Next, you need to know which control is using what registration information, and under a directory EXTRAS\VB6 controls of the Vs.net installation disk, there is a registration file VB6Controls.reg that records the license information for most of the VB6 controls, the following is the contents of this file:
REGEDIT
Hkey_classes_root\licenses = licensing:copying The keys may be a violation of established copyrights.
Masked Edit Control 6.0 license key
hkey_classes_root\licenses\bc96f860-9928-11cf-8afa-00aa00c00905 = Mmimfflflmqmlfffrlnmofhfkgrlmmfmqkqj
Chart Control 6.0 (OLE DB) license key
HKEY_CLASSES_ROOT\LICENSES\12B142A4-BD51-11D1-8C08-0000F8754DA1 = AADHGAFABAFAJHCHNBCHEHFAMBFBBACHMFMB
Common Dialog Control 6.0 license key
hkey_classes_root\licenses\4d553650-6abe-11cf-8adb-00aa00c00905 = Gfjmrfkfifkmkfffrlmmgmhmnlulkmfmqkqj
ADO Data Control 6.0 (OLE DB) license key
hkey_classes_root\licenses\c4145310-469c-11d1-b182-00a0c922e820 = Konhqhioohihphkouimonhqhvnwiqhhhnjti
Common Controls-3 6.0 License key
hkey_classes_root\licenses\38911da0-e448-11d0-84a3-00dd01104159 = MCPCKCHCDCHJCJCCLIDCGCGCHDQDCJHCOJPD
Windows Common Controls-2 5.0 (SP2) license key
HKEY_CLASSES_ROOT\LICENSES\9E799BF1-8817-11CF-958F-0020AFC28C3B = Uqpqnqkjujkjjjjqwktjrjkjtkupsjnjtoun
Windows Common Controls License key
hkey_classes_root\licenses\57cbf9e0-6aa7-11cf-8adb-00aa00c00905 = Aahakhchghkhfhaamghhbhbhkbpgfhahlfle
Data Bound Grid Control 5.0 (SP3) license key
HKEY_CLASSES_ROOT\LICENSES\556C75F1-EFBC-11CF-B9F3-00A0247033C4 = XYBIEDOBRQSPRBIJAEGCBISLRSIUCFJDHISL
Data Bound List Controls 6.0 license key
hkey_classes_root\licenses\096efc40-6abf-11cf-850c-08002b30345d = Knsgigmnmngnmnigthmgpninrmumhgkgrlrk
Internet Transfer Control 6.0 license key
hkey_classes_root\licenses\78e1bdd1-9941-11cf-9756-00aa00c00908 = Yjrjvqkjlqqjnqkjvprqsjnjvkuknjpjtoun
Multimedia Control 6.0 License key
hkey_classes_root\licenses\b1efccf0-6ac1-11cf-8adb-00aa00c00905 = Qqkjvqpqmqjjpqjjvpqqkqmqvkypoqjquoun
Chart Control 6.0 License key
Hkey_classes_root\licenses\7c35ca30-d112-11cf-8e72-00a0c90f26f8 = WHMHMHOHMHIORHKOUIMHIHIHWIWINHLOSMSL
Windows Common Controls-2 6.0 license key
HKEY_CLASSES_ROOT\LICENSES\4F86BADF-9F77-11D1-B1B7-0000F8753F5D = Iplpwpnippopupiivjrioppisjsjlpiiokuj
Windows Common Controls 6.0 license key
HKEY_CLASSES_ROOT\LICENSES\ED4B87C4-9F76-11D1-8BF7-0000F8754DA1 = Knlggnmntgggrninthpgmnngrhqhnnjnslsh
Comm Control 6.0 License key
hkey_classes_root\licenses\4250e830-6ac2-11cf-8adb-00aa00c00905 = Kjljvjjjoquqmjjjvpqqkqmqykypoqjquoun
DataGrid Control 6.0 (OLE DB) license key
Hkey_classes_root\licenses\cde57a55-8b86-11d0-b3c6-00a0c90aea82 = Ekpkhddkjkekpdjkqemkfkldoeoefkfdjfqe
DataList Control 6.0 (OLE DB) license key
HKEY_CLASSES_ROOT\LICENSES\A133F000-CCB0-11D0-A316-00AA00688B10 = Cibbcimbpihbbbbbnhdbeidiocmcbbdbgdoc
PictureClip Control 6.0 License key
hkey_classes_root\licenses\6fb38640-6ac7-11cf-8adb-00aa00c00905 = Gdjkokgdldikhdddpjkkekgknesjikdkoioh
Rich TextBox Control 6.0 license key
hkey_classes_root\licenses\dc4d7920-6ac8-11cf-8adb-00aa00c00905 = IOKOUHLOOHROJHHHTNOOIOKOMIWNMOHOSMSL
Sheridan Tab Control License key
hkey_classes_root\licenses\190b7910-992a-11cf-8afa-00aa00c00905 = gclclcejjcmjdcccoikjlcecoioijjcjnhng
SysInfo Control 6.0 License key
HKEY_CLASSES_ROOT\LICENSES\E32E2733-1BC5-11D0-B8C3-00A0C90DCA10 = KMHFIMLFLMMFPFFMSGFMHMIMNGTGHMOFLHSG
Winsock Control 6.0 License key
hkey_classes_root\licenses\2c49f800-c2dd-11cf-9ad6-0080c7e7b78d = Mlrljgrlhltlngjlthrligklpkrhllglqlrk
Usually we just import this file into the target machine's registry to solve the problem of control authorization that is bothering us. However, in my use of the process found that there are two problems:
This is not accurate annotation information, that may be labeled as a control license, but with this license is not, do not know whether Microsoft intentionally or wrong, such as FlexGrid Control 6.0 license should be: hkey_classes_root\licenses\ 72e67120-5959-11cf-91f6-c2863c385e30=ibcbbbebqbdbciebmcobmbhifcmciibblgmf
The license information is incomplete, that is, there are some control's license information that is not in this file at all;
So what do we do? Distressed ing .... A pat on the head, yes, now that we know where it is in the registry, and in the development of the machine to make normal, why not directly from the development machine to the entire licenses directory of the registration information are exported, and then imported to the target machine, both easy, but also not afraid of a slip through the wall: Oh, we all understand it?
First write articles, mistakes are unavoidable, please correct me. Also, this article is only for learning and exchange use, hope will not violate Microsoft's copyright.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.