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
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Upgrade MFC project to VS.Net 2003

Upgrade MFC project to VS.Net 2003

Scheduled Pinned Locked Moved C / C++ / MFC
csharpc++visual-studiocomhelp
3 Posts 2 Posters 0 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.
  • R Offline
    R Offline
    Rainer Mangold
    wrote on last edited by
    #1

    Hello, I am just trying to upgrade a MFC project to VS.Net 2003. In this project I have an ActiveX Control for which I created a wrapper class using menu "Project | Add to project | Components and Controls" in VC6. After selecting the correct control this created or recreated the corresponding wrapper class to use the control in an MFC-Dialog. May be I am stupid, but I can't find the corresponding command in VS.Net 2003.:mad::confused::mad::confused: Any help to find this silly command is very much appreciated:) Rainer

    M 1 Reply Last reply
    0
    • R Rainer Mangold

      Hello, I am just trying to upgrade a MFC project to VS.Net 2003. In this project I have an ActiveX Control for which I created a wrapper class using menu "Project | Add to project | Components and Controls" in VC6. After selecting the correct control this created or recreated the corresponding wrapper class to use the control in an MFC-Dialog. May be I am stupid, but I can't find the corresponding command in VS.Net 2003.:mad::confused::mad::confused: Any help to find this silly command is very much appreciated:) Rainer

      M Offline
      M Offline
      Mike Dimmick
      wrote on last edited by
      #2

      Right-click the Toolbox, choose Add/Remove Items from the menu. In the Customize Toolbox dialog that appears, choose the COM Components tab. Check the box alongside any components or controls you want to reference in the project. Drop any desired controls onto your dialog resource. When you add a member variable for the control (right-click the control and choose Add Member Variable), VS.NET prompts you for the files for the wrapper class, along with the other information. Alternatively you can simply right-click the dialog resource and choose Insert ActiveX Control (which, for some reason, produces an entirely different dialog).

      R 1 Reply Last reply
      0
      • M Mike Dimmick

        Right-click the Toolbox, choose Add/Remove Items from the menu. In the Customize Toolbox dialog that appears, choose the COM Components tab. Check the box alongside any components or controls you want to reference in the project. Drop any desired controls onto your dialog resource. When you add a member variable for the control (right-click the control and choose Add Member Variable), VS.NET prompts you for the files for the wrapper class, along with the other information. Alternatively you can simply right-click the dialog resource and choose Insert ActiveX Control (which, for some reason, produces an entirely different dialog).

        R Offline
        R Offline
        Rainer Mangold
        wrote on last edited by
        #3

        Mike Dimmick wrote: When you add a member variable for the control (right-click the control and choose Add Member Variable), VS.NET prompts you for the files for the wrapper class, along with the other information. I noticed this context menu element, but did not expect to (re)create the wrapper class here. Thanks a lot for your help:) Rainer

        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