CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2002
    Posts
    4

    Controls Problem

    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???
    Last edited by Dewinter; June 17th, 2002 at 11:42 AM.

  2. #2
    Join Date
    Mar 2000
    Posts
    24
    Could you tell the way you use to adding ActiveX control (for example MSHFlexGrid) to your project in VS.NET ?

  3. #3
    Join Date
    Jun 2002
    Posts
    4
    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.
    Last edited by Dewinter; June 17th, 2002 at 11:44 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured