CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2012
    Posts
    1

    String loop ouput in one messagebox

    Hi I'm a C# newbe so please bear with me ...
    I created a form with 2 textbox's for a user to enter :
    the first, 1 character.
    The second, a number from 1 to 5.
    after pressing the button, I want to print only one message box, that will contain
    the character as many times the user entered in the second message box.

    Ex,
    User input :
    1st messagebox : N
    2nd messagebox : 5

    one MessageBox output :

    N
    N
    N
    N
    N


    Thanks Alot,
    Allen

  2. #2
    Join Date
    Sep 2000
    Location
    FL
    Posts
    1,452

    Re: String loop ouput in one messagebox

    alleny,
    Welcome to the board. You will find that most people here are more than willing to help you out. As long as you...

    1. Try coding it yourself first.
    2. Explain what your issues are.
    3. And probably most important, Post your code.

    1 and 2, perfect.
    3, not so much.

    Could you please post the code you have so we can see what you are doing, and probably point out the Error of your ways. And when posting, please use code tags.

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