Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by uscboy

  1. uscboy

    Problem with StringBuilder

    Hi John I just used the "record5.Append(' ',94);" and then Inserted the characters I wanted to. It worked fine. Oh, but one thing, "record5.Length('',94); " in the end does not work , however,if I use record5.Length=94; , it works. Thanks for your help.
  2. uscboy

    Problem with StringBuilder

    Hi John Thanks a lot for your reply. But if I try to set the length after all Inserts (which I had tried earlier), I am getting the SystemOutOfRange Exception cause by default the capacity is set to 16 characters. To counter this,I had set the Capacity to 94 and also did EnsureCapacity(94) to...
  3. uscboy

    Problem with StringBuilder

    Hello Group I have the following StringBuilder object code: //----Begin CODE---------- StringBuilder record5 = new StringBuilder(); record5.Length = 94; //Set length record5.Insert(0,"0520"); //Insert at position 0 record5.Insert(4,"4CCC"); record5.Insert(20,"20CCCC")...
  4. uscboy

    Easy Question.....VERY NEWBIE HERE!

    hi As Sacheson said C# is case sensitive. To use a MessageBox Class and the Show method, All you need to do is declare your box as: MessageBox.Show("Hello World"); Hope it works. - Another C# Newbie :)

Part and Inventory Search

Back
Top