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#
  4. when .net2003 solution is migrated to .net2005, controls are not as .net2005

when .net2003 solution is migrated to .net2005, controls are not as .net2005

Scheduled Pinned Locked Moved C#
csharpcom
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
    Ravikumar Patra
    wrote on last edited by
    #1

    Dear Friends I migrated my project to .net 2005 which was in .net 2003(windows application using C# language) When I run the solution the forms and the controls are as if it is still in .net2003 then I opened the files(all) and changed the versions from 1.0,1.3,etc to 2.0 till then I did not got the .net 2005 control appearance. What should I do. Please reply soon... My mail Id is rabindrapatra@gmail.com Thanks Rabindra Patra

    S 1 Reply Last reply
    0
    • R Ravikumar Patra

      Dear Friends I migrated my project to .net 2005 which was in .net 2003(windows application using C# language) When I run the solution the forms and the controls are as if it is still in .net2003 then I opened the files(all) and changed the versions from 1.0,1.3,etc to 2.0 till then I did not got the .net 2005 control appearance. What should I do. Please reply soon... My mail Id is rabindrapatra@gmail.com Thanks Rabindra Patra

      S Offline
      S Offline
      Stefan Troschuetz
      wrote on last edited by
      #2

      I guess you're looking for the Application.EnableVisualStyles method:

      static void Main()
      {
      Application.EnableVisualStyles();
      Application.Run(new Form1());
      }


      "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook

      www.troschuetz.de

      R 1 Reply Last reply
      0
      • S Stefan Troschuetz

        I guess you're looking for the Application.EnableVisualStyles method:

        static void Main()
        {
        Application.EnableVisualStyles();
        Application.Run(new Form1());
        }


        "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook

        www.troschuetz.de

        R Offline
        R Offline
        Ravikumar Patra
        wrote on last edited by
        #3

        I used "Application.EnableVisualStyles();" and is working fine Thanks for the quick reply. Rabindra

        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