• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 216
  • Last Modified:

Adding a Grid ActiveX Control to the Dialog Editor (Visual c++ 6.0)

 i am working on the Visual c++ 6.0 now a  days. i want to insert
 built in ActiveX controls like Calendar or Grid Controls.
 when i go to Project --> Add to Project ->Components and Controls,
 The Gallery Folder doesn't show me any built in controls. i read that
 we can import the controls. i have also tried to register those ontrols
 at command prompt through regsvr32 command, but never succeeded.
  tell me

    1. where to find those controls ?  bcoz i have searched Grid
       control and calendar, but culdn't find it anywehere in my
       hard drive.
    2. how can i import controls in my application?
      plz tell me whether i have to reinstall my Visual c again
      or have to download those controls from somewhere ... i m
      using win98 operating system...

       Looking for an early response ..
       Thanks in advance...
1 Solution
1. Open OLE/COM object viewer from 'Tools' menu. Then expand the 'Controls' tree item. There you should find the 'Calendar control' if you have any. Click on it and see what dll/ocx it is in.

2. From the resource editor rightclick on the dialog and choose 'Insert ActiveX control...' and 'Add control'. Browse to the ocx/dll tou need (see above).

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now