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

Posted on 2005-04-23
Last Modified: 2010-04-24

 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...
Question by:ahit
    1 Comment
    LVL 16

    Accepted 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).

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    The following diagram presents a diamond class hierarchy: As depicted, diamond inheritance denotes when two classes (e.g., CDerived1 and CDerived2), separately extending a common base class (e.g., CBase), are sub classed simultaneously by a fourt…
    In Easy String Encryption Using CryptoAPI in C++ ( I described how to encrypt text and recommended that the encrypted text be stored as a series of hexadecimal digits -- because cyphertext may…
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    7 Experts available now in Live!

    Get 1:1 Help Now