Different computers - different bugs ?
Hello all,
I'm stuck here (nothing new in this world).
I have a program, that runs fine on my computer (where I actually
developing C# Windows app), but appears to be buggy on another
computer.
Same Windows versions, same .NET Framework...
Is there something I am overlooking ?
Below I have a function code, which works on my computer, but does not
on another (which is not the only one):
// Autocomplete the combobox
private void cbMake_KeyPress(object sender,
System.Windows.Forms.KeyPressEventArgs e)
{
int position = 0;
if (e.KeyChar > 31)
{
position = cbMake.Text.Length;
this.cbMake.SelectedIndex = this.cbMake.FindString(this.cbMake.Text);
this.cbMake.Select(position, this.cbMake.Text.Length - position);
}
}
Am I missing something ?
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Andrzej WegierskiRank #1,729 · 877 reputationPosted May 4, 2004, 9:50 PM EDT
csharpcorner5 reputationPosted May 5, 2004, 5:01 AM EDT
Andrzej WegierskiRank #1,729 · 877 reputationPosted May 6, 2004, 12:35 AM EDT