Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Visual Studio problems - please help!

Visual Studio problems - please help!

Scheduled Pinned Locked Moved C / C++ / MFC
visual-studiocsharpcomdockerhelp
4 Posts 3 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    Cam
    wrote on last edited by
    #1

    When I use the menu command Project>Add to Project>Components and Controls VS opens the gallery window as it should, but it is empty. No ActiveX controls are listed. I checked the path, and it is opening into the 'Gallery' folder. So, in my attempts to figure out what the heck is up, I tried to add a (known) ActiveX control from my C:\WINNT\SYSTEM32 folder. Visual Studio complained that the control was not registered. So, I fired up the ActiveX Control Test Container to check out what controls are registered. The Test Container listed quite a few controls; all of the controls that should be listed in my Gallery window. Anyway, as I see it, this all proves one thing...the ActiveX controls are all registered correctly on my computer, but for some reason Visual Studio doesn't know how to find them...any suggestions? I'm running Windows2000, and I have the latest VS update, for all that's worth. Thank you very much for any help, I'd really like to have this functioning like usual.:(( ~Cam Desautels

    A 1 Reply Last reply
    0
    • C Cam

      When I use the menu command Project>Add to Project>Components and Controls VS opens the gallery window as it should, but it is empty. No ActiveX controls are listed. I checked the path, and it is opening into the 'Gallery' folder. So, in my attempts to figure out what the heck is up, I tried to add a (known) ActiveX control from my C:\WINNT\SYSTEM32 folder. Visual Studio complained that the control was not registered. So, I fired up the ActiveX Control Test Container to check out what controls are registered. The Test Container listed quite a few controls; all of the controls that should be listed in my Gallery window. Anyway, as I see it, this all proves one thing...the ActiveX controls are all registered correctly on my computer, but for some reason Visual Studio doesn't know how to find them...any suggestions? I'm running Windows2000, and I have the latest VS update, for all that's worth. Thank you very much for any help, I'd really like to have this functioning like usual.:(( ~Cam Desautels

      A Offline
      A Offline
      Alvaro Mendez
      wrote on last edited by
      #2

      This is a good question. It's happened to me in the past as well and I've never known why. I hope someone has an answer. Regards, Alvaro

      P 1 Reply Last reply
      0
      • A Alvaro Mendez

        This is a good question. It's happened to me in the past as well and I've never known why. I hope someone has an answer. Regards, Alvaro

        P Offline
        P Offline
        Prem Kumar
        wrote on last edited by
        #3

        Hi Search for the following topic in MSDN, It might be of some help. "Reusing Code Topics"

        C 1 Reply Last reply
        0
        • P Prem Kumar

          Hi Search for the following topic in MSDN, It might be of some help. "Reusing Code Topics"

          C Offline
          C Offline
          Cam
          wrote on last edited by
          #4

          Yes, i had actually checked out a number of these topics, but I did find something interesting:

          The Gallery regenerates links to registered ActiveX controls every time you open it, based on the current state of the registry. This has certain implications: If you delete a link to a registered ActiveX control, the link will still appear the next time you open the Gallery. If you delete a registered ActiveX control (.OCX or .DLL file), but do not unregister it, the link will still appear the next time you open the Gallery. Of course the link will be inoperative. If you copy an ActiveX control to your machine, but do not register the file, the link does not appear because the Gallery does not recognize the control.

          ...anyway, the important part is that the list is regenerated from the registry. I figured as much, but that doesn't explain the problem...grr...

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups