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. Adding window form to VC 6.0 MFC App

Adding window form to VC 6.0 MFC App

Scheduled Pinned Locked Moved C / C++ / MFC
c++csharpquestion
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.
  • Z Offline
    Z Offline
    zubair_ahmed
    wrote on last edited by
    #1

    I have a dialog based application in VC 6.0 MFC. I want to port in to VC++ 2005 with few additions. Additons are: 1- I need to add a window form to this MFC App, which will be the main form from where all other forms will be loaded on button click. 2- Add ADO.Net support to MFC Project. How can this be done?. Thanks in Advance.

    Z.A

    C 1 Reply Last reply
    0
    • Z zubair_ahmed

      I have a dialog based application in VC 6.0 MFC. I want to port in to VC++ 2005 with few additions. Additons are: 1- I need to add a window form to this MFC App, which will be the main form from where all other forms will be loaded on button click. 2- Add ADO.Net support to MFC Project. How can this be done?. Thanks in Advance.

      Z.A

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      zubair_ahmed wrote:

      1- I need to add a window form to this MFC App, which will be the main form from where all other forms will be loaded on button click.

      OK, so you need to change the main form. I'd say it's probably easier to do this in VC6 :-)

      zubair_ahmed wrote:

      2- Add ADO.Net support to MFC Project.

      OK, so you need to add C++/CLI support to your app. Then you can use .NET classes where-ever you like. The other issue is, VC6 is a bad C++ compiler, unless you've written very good code, expect to make changes before it compiles.

      Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

      Z 1 Reply Last reply
      0
      • C Christian Graus

        zubair_ahmed wrote:

        1- I need to add a window form to this MFC App, which will be the main form from where all other forms will be loaded on button click.

        OK, so you need to change the main form. I'd say it's probably easier to do this in VC6 :-)

        zubair_ahmed wrote:

        2- Add ADO.Net support to MFC Project.

        OK, so you need to add C++/CLI support to your app. Then you can use .NET classes where-ever you like. The other issue is, VC6 is a bad C++ compiler, unless you've written very good code, expect to make changes before it compiles.

        Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

        Z Offline
        Z Offline
        zubair_ahmed
        wrote on last edited by
        #3

        Should this be taken as solution :) ?

        Z.A

        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