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
N

NutSoft

@NutSoft
About
Posts
9
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • USA Budget Apending
    N NutSoft

    For those of us unable to comprehend how much money the USA spends, here is a visual representation of where the US $ goes... http://www.thebudgetgraph.com/poster/[^]

    The Lounge com

  • I HATE DVDs
    N NutSoft

    Sorry to hear that you're having such problems and I don't mean to gloat, but I seriously can't remember the last time I had a DVD coaster. I use bog standard blank media and I also use re-writeable DVDs (TDK) withouyt any problems whatsoever. My burner is from LG - Life's Good! I think with my previous burner the biggest issue was making sure I got the right type of DVD i.e. + or -, but my LG takes both sorts. If you are using DVDs only temporarily I would recommend buying a box of say 10 re-writebale's and just using those. Works for me. Cheers, Des F

    The Lounge css question

  • Monitor size question
    N NutSoft

    I have 2 LG 1730s LCD monitors with a native resolution of 1280 x 1024 running off a single graphics card, although one of them is through a KVM to a second PC. The big benefit for me is that they are jsut so calm for my eyes, it's really like looking at paper all day, no annoying flicker at all. I regularly use Adobe PhotoShop CS, and the great thing with having a second monitor is that you can stick all the tools on the second monitor and leave more real estate clear on the first monitor for actual image work. I also use UltraMon http://www.realtimesoft.com/ultramon/[^] which give me a second task bar on the second monitor, this means that the apps running in the second monitor only show up on that task bar and don't all hog the first task bar.

    The Lounge question

  • RAR vs ZIP
    N NutSoft

    Whilst I agree that WinZIP has the better user interface, you can't escape from the fact that there's a lot of RAR archives out there, so you need to at least be able to read them. I also use WinRAR to extract from ISO files - can you do that with WinZIP?

    The Lounge c++ visual-studio com architecture question

  • Fit programmer
    N NutSoft

    Finding time to fit in breaks is the difficult part; I work away from home so I also tend to stay in hotels and eat in restaurants a lot. I try to go swimming in the hotel pool when I can, and I always use the stairs rather than the lift. I walk at least 30 minutes/day and I have an exercise machine in my office at home which I occassionally use. When I'm not working I spend a lot of time with my 3 year old son - now that's exercise!

    The Lounge com

  • LEGO Is Cool
    N NutSoft

    I used to love Lego as a child and have fond memories of shooting my kid brother with a Lego crossbow (sadly only elastic for the bow and Lego rail track for the bolt), but now I think that K'nex is better.

    The Lounge csharp php html database com

  • How old did you start programming?
    N NutSoft

    In 1979 when I was 13 years old (at school) using Commodore PET and Basic. First owned a Sinclair ZX81 with 1KB memory and no storage media!

    The Lounge question

  • comboBox.SelectedItem/Index
    N NutSoft

    Now I see what you mean, I originally thought that no matter which of the duplicates you selected, you were only getting the object mapped to the first duplicate returned, but I think what you are saying is that when you go to the ComboBox, the selected object is the first of the duplicates in the list. I haven't a way around this yet, but at least I now understand the problem.

    .NET (Core and Framework) database help question

  • comboBox.SelectedItem/Index
    N NutSoft

    I looked at DisplayMember under the ComboBox entry in MSDN for VS2005 and there was an example program (for ListBoxes) which I subtley changed to be a ComboBox. I also modified the sample data to contain duplicate DisplayMember values. It seems to work perfectly as far as I can tell, but maybe I am missing your point? Just copy and paste all this code into a WindowsApplication. HTH - Des using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Collections; namespace WindowsApplication3 { public partial class Form1 : Form { //private ListBox ListBox1 = new ListBox(); // Just for our test private ComboBox ListBox1 = new ComboBox(); private TextBox textBox1 = new TextBox(); public Form1() { this.ClientSize = new Size(292, 181); this.Text = "ListBox Sample3"; ListBox1.Location = new Point(24, 16); ListBox1.Name = "ListBox1"; ListBox1.Size = new Size(232, 130); textBox1.Location = new Point(24, 160); textBox1.Name = "textBox1"; textBox1.Size = new Size(240, 24); this.Controls.AddRange(new Control[] { ListBox1, textBox1 }); // Populates the list box using DataSource. // DisplayMember is used to display just the long name of each state. ArrayList USStates = new ArrayList(); USStates.Add(new USState("Alabama", "AL")); USStates.Add(new USState("Washington", "WA")); USStates.Add(new USState("Washington", "W1")); // Duplicate DisplayMember USStates.Add(new USState("West Virginia", "WV")); USStates.Add(new USState("Wisconsin", "WI")); // Duplicate DisplayMember USStates.Add(new USState("Wisconsin", "W1")); USStates.Add(new USState("Wyoming", "WY")); ListBox1.SelectedValueChanged += new EventHandler(ListBox1_SelectedValueChanged); ListBox1.DataSource = USStates; ListBox1.DisplayMember = "LongName"; ListBox1.ValueMember = "ShortName"; } private void ListBox1_SelectedValueChanged(object sender, EventArgs e) { if (ListBox1.SelectedIndex != -1) textBox1.Text = ListBox1.SelectedValue.ToString(); } } public class USState { private string myShor

    .NET (Core and Framework) database help 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