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
H

hristo1977

@hristo1977
About
Posts
11
Topics
5
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • newbie: I want to sort a listbox, not the smallest value first!
    H hristo1977

    Hi! I load names and values into a listbox. I sorted the listbox. Is there anyway to make the highest value to appear first? I should work as a highscore board. Only the 10 best scores should be displayed. Any suggestions? namn is name and procent is the score: while ((line = sr.ReadLine()) != null) { for (int i = 0; i < 1; i++) { varden = line.Split(' '); Procent = Convert.ToDouble(varden[0]); Namn = varden[1]; listBox1.Items.Add(Procent + " " + Namn); listBox1.Sorted = true; } }

    Newbie untill I die! :-)

    C# question

  • Parameter not valid??
    H hristo1977

    Hi! The resource is there! :-( But I still get that damn message.

    Newbie untill I die! :-)

    C# csharp visual-studio question learning

  • newbie: sort values in a text.txt and display by name?
    H hristo1977

    peter 0,333333333333333 peter 1,33333333333333 thats how its look like

    Newbie untill I die! :-)

    C# tutorial question

  • newbie: sort values in a text.txt and display by name?
    H hristo1977

    Hi! I have a textfile which contains Name and Value (each name has a value). I want to display ONLY the names in a listbox. And it should be the names with the 10 highest scores. The highest score first... I do know how to fill the listbox with all the names. But I cant get around to the other...any suggestions?

    Newbie untill I die! :-)

    C# tutorial question

  • Parameter not valid??
    H hristo1977

    Hi! Moved my project from school to my home PC using a USB. Done that many times and it have worked. Now I get this message: Parameter is not valid. C:\Documents and Settings\Peter\Mina dokument\Visual Studio 2005\Projects\Bamse\Bamse\Form2.Designer.cs 111 0 And it points to this line: this.picBoxPase.BackgroundImage = global::Bamse.Properties.Resources.påse; The resource "påse" is in my project folder. Any ideas?

    Newbie untill I die! :-)

    C# csharp visual-studio question learning

  • Newbie: How to use a variable from a different form?
    H hristo1977

    Yes, I have thougth about that...but I only have one variable...so I think its a little to much work for only one.

    Newbie untill I die! :-)

    C# tutorial question

  • Newbie: How to use a variable from a different form?
    H hristo1977

    public static string textBoxText = ""; that one was missing, well it was not decleared where you had put it, thanks!

    Newbie untill I die! :-)

    C# tutorial question

  • Newbie: How to use a variable from a different form?
    H hristo1977

    Hi! I have a textbox where I write my namn and click OK. Then a another form loads up. Then my name should appear in a label. But I cant seem to reach my variable (name) from form1 to use it in form2. Any suggestions?

    Newbie untill I die! :-)

    C# tutorial question

  • Newbie! Search a string for a specific character?
    H hristo1977

    Thanks a lot, Himango!

    Newbie untill I die! :-)

    C# question

  • Newbie! Search a string for a specific character?
    H hristo1977

    hi, and thanks for your fast answer. Im trying to program a calculator and you should not be able to hit "." multiple times in a row. So if I take this code: string k = label1.Text; int r; r = label1.Text.IndexOf(k); if (r != -1) { label1.Text += "."; MessageBox.Show("bla"); } And paste in under, for example, the button 9, I still get the msgbox! That should not happend, shouild it? Because now, there are no "." in the string...or Im missing someting here?

    Newbie untill I die! :-)

    C# question

  • Newbie! Search a string for a specific character?
    H hristo1977

    Hi! This dont seem to work, any ideas? (Im sure you have lots of ideas, but remember Im a newbie) label1.Text += "."; string k = label1.Text; int r; r = label1.Text.IndexOf(k); if (r > 0) { MessageBox.Show("bla"); } so, r is never above 0 despite that the string contains a "."

    Newbie untill I die! :-)

    C# question
  • Login

  • Don't have an account? Register

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