Dewinter
June 16th, 2002, 12:45 PM
Many Controls in VC.Net become unusable, like MsFlexGrid,DBGrid,CommonDialogs...
They all need Design-Time Licensing.
But If I install VC 6 and then uninstall it, those controls are usable again. I know there're something in the registry, Could any one tell me how to solve this problem without installing VC6???
dvn
June 17th, 2002, 07:01 AM
Could you tell the way you use to adding ActiveX control (for example MSHFlexGrid) to your project in VS.NET ?
Dewinter
June 17th, 2002, 10:33 AM
I just right click the mouse in the Dialog,choose "Insert ActiveX Controls" from the context menu,then select the right control.
I know the way is right, 'cause I have experience in VC6,and MSDN also recommends this way. The problem is not the way,but the controls themselves. MS KB Q155059 referred to this problem.
If you've installed VS6(Even you've uninstalled it now) , you'll never encounter this problem, but if you install VS.Net in a brand new environment, you may receive that annoying message box.
Microsoft says that those controls are just VS6's components,they are authorized and distributable only in VS6, VS.Net does not contain these controls' authorization, it just contains a few controls, most controls have been migrated to the the new .net assembly gallery which can only be accessed in the managed extension code.
My problem is how can I modify the registry to make those controls registered and usable in design time(regsvr32.exe does not works) without installing VS6.