Home
Jason L. Froebe
Me :)
Recent Entries 
14th-Jul-2006 03:32 pm - VC# 2003 - listBox woes
blue man
Visual C# 2003, with latest .NET 1.1 SDK patch.

I've created a simple test app containing a list box and a button.  When the button is clicked on, it adds three items to the listBox and refreshes.  I can see the refresh, but no text is viewable.  Yes, the text is black on white.  I've highlighted an entry to show that the text just isn't showing up.

Anyone have any idea?  I've tried with and without the Refresh() - which should be called automatically by EndUpdate() anyways.


private void button1_Click(object sender, System.EventArgs e)
{
listBox1.Items.Clear();

listBox1.BeginUpdate();
listBox1.Items.Add("test1");
listBox1.Items.Add("test2");
listBox1.Items.Add("test3");
listBox1.EndUpdate();
listBox1.Refresh();
}

blue man

Create a Simple, Reusable Infrastructure for Public Key Encryption Using VB.NET
When using public key encryption, you're vulnerable to tricks dreamed up by untrusted sources, including subtle altering of encrypted messages. In this article you'll learn to foil them using a message hash and new cryptographic classes included in the .NET Framework. Design and implement your own public key cryptography infrastructure and test it with a VB.NET WinForms tester application.
This page was loaded Jul 6th 2009, 4:30 pm GMT.