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
C

CoderGirl42

@CoderGirl42
About
Posts
3
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Default path to Desktop with vista
    C CoderGirl42

    You should be able to just call %userprofile%\desktop without having the c:\ at the front. if you open your command prompt and type in %userprofile% it'll then give you an error message but it will expand the %userprofile% to it's actual value. Hope that helps

    C / C++ / MFC workspace

  • Console Applications
    C CoderGirl42

    Well, if you're concerned that your console window will close too quickly by running it with debugging (i.e. without prompting 'press any key to continue'). You can simply add a call to Console.Readline(); at the end of your Main function. This will keep your console window open until you press a key. for example:

        static void Main(string\[\] args)
        {
            //Do Work
    
            Console.Write("press any key to continue");
            Console.ReadLine(); //prevents console window from closing.
        }
    

    Hope that Helps!

    C# csharp visual-studio debugging beta-testing question

  • Catchy title needed
    C CoderGirl42

    Have you considered using "Free Beer" as the title?

    C# help
  • Login

  • Don't have an account? Register

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