Results 1 to 4 of 4

Thread: Default Command adding. And I'am back :)

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 2002
    Location
    Belgium
    Posts
    167

    Default Command adding. And I'am back :)

    First of all nice to see that this site is still running( for a long time now, many years ;-) ).
    You guys help me allot of learning new thing and figuring new things out, so without you guys I could not make it so far.
    I even selled my first program.

    So My question is, is it posible to automaticly add a namespace.class.methode on every new console program that I make?

    like the comments you get when you create a new application.

    I would like to add this:
    string sWaitForKeyPress = System.Console.Read();

    I have try adding it to this file: C:\Program Files\Microsoft Visual Studio .NET 2003\VC#\CSharpProjectItems\NewCSharpFile.cs

    but then i only get it when i add a new sourcefile to the project.

    Note: I just started learning c# .net

    edit: I know when you press: crtl + f5 yes get 'press any key to continue'
    but i wan't it when i'm debugging
    Last edited by Teckniel; Nov 23rd, 2005 at 08:28 AM.

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Default Command adding. And I'am back :)

    You can create your own project templates very easily in VS 2005. I'm not sure if the same thing can be done in VS.NET 2003 but I don't think so, although I've never tried.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Aug 2002
    Location
    Belgium
    Posts
    167

    Re: Default Command adding. And I'am back :)

    oke i'm gonne check it out i will let you know

  4. #4

    Thread Starter
    Addicted Member
    Join Date
    Aug 2002
    Location
    Belgium
    Posts
    167

    Re: Default Command adding. And I'am back :)

    Found it Thanks to you
    gonne write a small tut for it thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width