CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Page 1 of 7 1234 ... LastLast
Results 1 to 15 of 91
  1. #1
    Join Date
    Dec 2009
    Posts
    109

    Looking to develope skills

    I have knowledge of programing with C#. But i'm not sure about how I can better my skills in this programming language. Can anyone suggest me a point to start? Or, if anyone requires any help with their projects, please let me know.
    Thnaks.

  2. #2
    Join Date
    Jun 2008
    Posts
    2,477

    Re: Looking to develope skills

    Write more code. The best way to learn is to do. Think of an interesting problem and solve it.

  3. #3
    Join Date
    Dec 2009
    Location
    Malta (GMT +1)
    Posts
    21

    Re: Looking to develope skills

    Hey Dragster93

    if you really want to improve your skill, check out what you think you can't do, and try to do it.

    This way you will research some stuff, learn and improve your skill. Just recently I learned how to correctly connect to SQL using LINQ and do whatever I want to the SQL stuff. I know there is way more to learn but this is how I learn, 1 thing at a time, master it and then move to the next thing

    Hope this helps you,
    ClayC

  4. #4
    Join Date
    Dec 2009
    Posts
    109

    Re: Looking to develope skills

    Quote Originally Posted by ClayC View Post
    Hey Dragster93

    if you really want to improve your skill, check out what you think you can't do, and try to do it.

    This way you will research some stuff, learn and improve your skill. Just recently I learned how to correctly connect to SQL using LINQ and do whatever I want to the SQL stuff. I know there is way more to learn but this is how I learn, 1 thing at a time, master it and then move to the next thing

    Hope this helps you,
    ClayC
    Yes indeed it did help out A LOT!!!! =)
    Thank You ClayC and BigEd781!!! =)

    Hey could you guys help me out???
    I'm gonna start out by creating all kiddish stuff in the starting because it's be a few months since I created a prgram. For each of the programs that I develope, if you guys have any suggestions, then feel free to post them!!!!
    I will post the description of each program that I develope.

  5. #5
    Join Date
    Dec 2009
    Location
    Malta (GMT +1)
    Posts
    21

    Re: Looking to develope skills

    hmmm, to get back on track you might want to start by doing a calculator. This should take an hour or so, just so you don't feel rusty anymore. Then you should move on to maybe a basic windows media player thing.

    that should get you going well, but it all depends on the time you have and also the final project, if I knew those I could help you out alot more

    ClayC

  6. #6
    Join Date
    Dec 2009
    Posts
    109

    Smile Re: Looking to develope skills

    Quote Originally Posted by ClayC View Post
    hmmm, to get back on track you might want to start by doing a calculator. This should take an hour or so, just so you don't feel rusty anymore. Then you should move on to maybe a basic windows media player thing.

    that should get you going well, but it all depends on the time you have and also the final project, if I knew those I could help you out alot more

    ClayC
    Well at the moment, I've got all the time in the world because I'm currently searching for a job as a C# Software Developer so until I get the job, I'm gonna be free all the time! Ofcourse, I'm not gonna spend all the 24 hours of my day doing programming only!

    And yes, you could'nt be more right! A claculator should'nt take more than an hour or so. I shall start with that only. Thanks for the idea! =)

    Btw, the WMP might be a little tricky because this is the first time I'm making a media player. Or maybe I feel that it might be complicated because I've never made one before! :P

    I shall start working on the calculator at night and will post a message over here when I'm done.

    As far as the final project is concerned, I have 2 objectives - Better my skills in overall C# Software Developement, Better my skills in XNA Game Developement using C#.

    The overall C# Software Development is my main concern because I need to better my skills if I ever hope to get a job as a Software Developer. (Especially in the place where I live!!! )

    The game developeent is just like a side project that I wish to do. But if I could get a job a game developer, IT WOULD BE AWESOME! =)

  7. #7
    Join Date
    Dec 2009
    Location
    Malta (GMT +1)
    Posts
    21

    Re: Looking to develope skills

    Well the media player can get really frastrating to create as it requires lots of steps etc.. but the one I said is pretty straight forward stuff.

    A couple of buttons, maybe a couple of labels, and some events, have a folder dialog so people can select the folder they wanna focus on and then in a list box show all the files in that folder.

    on double click for the list box just check the selected and throw the data to the windows media player control. basically axWindowsMediaPlayer1.URL = folder + file;

    I think that doing the media player will get you started again, then maybe add more stuff to it, like an sql database, let them add the songs to it and have a library, playlists, etc...

    When you're at that point I might have some more ideas for you :P

    basically I am trying to get you going on every single aspect, basics, advanced etc... cause if you find a job, you don't wanna be rusty there
    and I am 100% sure the last thing you need after work is to do programming :P

    anyways wish you all the best and good luck finding the job
    ClayC

  8. #8
    Join Date
    Dec 2009
    Posts
    109

    Re: Looking to develope skills

    Quote Originally Posted by ClayC View Post
    Well the media player can get really frastrating to create as it requires lots of steps etc.. but the one I said is pretty straight forward stuff.

    A couple of buttons, maybe a couple of labels, and some events, have a folder dialog so people can select the folder they wanna focus on and then in a list box show all the files in that folder.

    on double click for the list box just check the selected and throw the data to the windows media player control. basically axWindowsMediaPlayer1.URL = folder + file;

    I think that doing the media player will get you started again, then maybe add more stuff to it, like an sql database, let them add the songs to it and have a library, playlists, etc...

    When you're at that point I might have some more ideas for you :P

    basically I am trying to get you going on every single aspect, basics, advanced etc... cause if you find a job, you don't wanna be rusty there
    and I am 100% sure the last thing you need after work is to do programming :P

    anyways wish you all the best and good luck finding the job
    ClayC
    Thanks a lot ClayC!!!
    I shall do as you said. And once I've reached to that point I shall post a message here.
    Once again, thanks for your time and help!!!

  9. #9
    Join Date
    Dec 2009
    Location
    Malta (GMT +1)
    Posts
    21

    Re: Looking to develope skills

    Any time

  10. #10
    Join Date
    Dec 2009
    Posts
    109

    Re: Looking to develope skills

    yo clayc, my apologies for the late reply....I had to download Visual C# Express Edition 2008 since I lost my Visual Studio 2005 DVD....The first download was ****! And after that, everything just started to go downhill! But anyways, I'm back on track now....

    So, now I'm having a small problem in that Calculator you told me to create.

    Here's my code:

    public partial class Form1 : Form
    {
    int num1, num2;
    Form1 frmCalc = new Form1();

    public Form1()
    {
    InitializeComponent();
    }

    private void Form1_Load(object sender, EventArgs e)
    {

    }

    private void btn_0_Click(object sender, EventArgs e)
    {

    frmCalc.txt_Calc.Text = "0";
    }
    }

    While compiling, it throws an exception saying "An unhandled exception of type 'System.StackOverflowException' occurred in WindowsFormsApplication1.exe"

    When I checked online, the help said that this usually means that your calling something that was used to call the thing that you're using now. So basically, infinite loop.
    Please help.

  11. #11
    Arjay's Avatar
    Arjay is offline Moderator / EX MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    13,490

    Re: Looking to develope skills

    You are running out of stack space because you creating new instances of the form within it self.

    Code:
     
    public partial class Form1 : Form
    {
      int num1, num2;
      Form1 frmCalc = new Form1();
     
    ...
    }
    When the program starts you create an instance of the form in the application.Run command. The form gets instantiated but since one of it's fields is an instance of itself, it tries to create another Form1 instance, which creates an instance of itself and keeps on going until it runs out of stack space.

    The bottom line: just comment out the line in red above.

  12. #12
    Join Date
    Dec 2009
    Posts
    109

    Re: Looking to develope skills

    Thanks for explaining that to me Arjay! It really helped in clearing my doubt!
    Actually the reason why I created that object was so that I can access the control located in 'Form1'.
    But I just realised how stupidly I was doing things in the wrong way! :P

  13. #13
    Join Date
    Dec 2009
    Posts
    109

    Re: Looking to develope skills

    Ok, now I've got another small problem.

    Here's my code:

    public partial class Form1 : Form
    {
    int num1, num2;

    public Form1()
    {
    InitializeComponent();
    }

    private void Form1_Load(object sender, EventArgs e)
    {

    }

    private void btn_0_Click(object sender, EventArgs e)
    {
    txt_Calc.Text = "0";
    }

    private void btn_1_Click(object sender, EventArgs e)
    {
    txt_Calc.Text = "1";
    }

    private void btn_2_Click(object sender, EventArgs e)
    {
    txt_Calc.Text = "3";
    }

    private void btn_3_Click(object sender, EventArgs e)
    {
    txt_Calc.Text = "4";
    }

    private void btn_5_Click(object sender, EventArgs e)
    {
    txt_Calc.Text = "5";
    }

    private void btn_6_Click(object sender, EventArgs e)
    {
    txt_Calc.Text = "6";
    }

    private void btn_7_Click(object sender, EventArgs e)
    {
    txt_Calc.Text = "7";
    }

    private void btn_8_Click(object sender, EventArgs e)
    {
    txt_Calc.Text = "8";
    }

    private void btn_9_Click(object sender, EventArgs e)
    {
    txt_Calc.Text = "9";
    }

    private void btn_add_Click(object sender, EventArgs e)
    {
    int.TryParse(txt_Calc.Text, out num1);
    MessageBox.Show(num1.ToString());

    }
    }

    With this code I'm able to click on each NUMBERED button and display it's value in the textbox. But each time I click on another NUMBERED button, the previous value in the textbox gets replaced by the current number. So basically, I can only enter one number.
    Please help.

  14. #14
    Join Date
    Nov 2009
    Posts
    34

    Re: Looking to develope skills


  15. #15
    Join Date
    Dec 2009
    Posts
    109

    Re: Looking to develope skills

    Quote Originally Posted by saldous View Post
    THANKS DUDE!!!!
    this is just what i needed!!!!

Page 1 of 7 1234 ... LastLast

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

Featured