PC Review


Reply
Thread Tools Rate Thread

Continuous bad luck

 
 
m.wolfe
Guest
Posts: n/a
 
      12th May 2009
Y'all

Seems like I can't make any of the examples work. Here's one I've tweaked.
The listbox is actually much larger than need be. However, clicking, keying
and slamming my keyboard haven't resulted in any text on the listbox. Your
help appreciated.

m.wolfe

namespace fontFamilyExample
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}


private void listBox1_SelectedIndexChanged(object sender, EventArgs e)
{
//listBox1.Width = 200;
//listBox1.Location = new Point( 40, 120 );
foreach (FontFamily oneFontFamily in FontFamily.Families)
{
listBox1.Items.Add( oneFontFamily.Name );
}
}
}
}

I realize authors many times insert logic errors into their code to make you
think. However it looks to me, after tooling with them, that the program
should run. I have used small examples, like the one given here. I have
installed .Net 3.5 SP1 and use VS 2008. This particular example is copied
from the local help system and tooled a bit.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Continuous bad luck m.wolfe Microsoft C# .NET 6 13th May 2009 10:08 AM
Selecting non-continuous records in a continuous form wvaughan Microsoft Access VBA Modules 2 3rd Jun 2008 12:29 PM
Continuous subform per continuous form element capkrugers@gmail.com Microsoft Access Forms 0 19th Jul 2006 07:10 PM
Am i out of luck!!!! Jim Microsoft Outlook 0 9th Nov 2004 09:23 PM
Me and my bad luck.. What can I do??????? Carlos Arruda DIY PC 6 8th Jul 2004 05:08 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:21 AM.