Click here to Skip to main content
15,849,996 members
Home / Discussions / C#
   

C#

 
GeneralRe: how to release the COM server? Pin
Stephane Rodriguez.19-Oct-02 11:40
Stephane Rodriguez.19-Oct-02 11:40 
GeneralRe: how to release the COM server? Pin
CherezZaboro19-Oct-02 11:45
CherezZaboro19-Oct-02 11:45 
GeneralRe: how to release the COM server? Pin
Stephane Rodriguez.19-Oct-02 22:01
Stephane Rodriguez.19-Oct-02 22:01 
Generalcall a .Net exe from COM client Pin
Anonymous19-Oct-02 5:30
Anonymous19-Oct-02 5:30 
GeneralRe: call a .Net exe from COM client Pin
Stephane Rodriguez.19-Oct-02 6:23
Stephane Rodriguez.19-Oct-02 6:23 
GeneralRe: call a .Net exe from COM client Pin
Anonymous19-Oct-02 8:28
Anonymous19-Oct-02 8:28 
GeneralRe: call a .Net exe from COM client Pin
Stephane Rodriguez.19-Oct-02 8:34
Stephane Rodriguez.19-Oct-02 8:34 
GeneralFonts Pin
Substitute19-Oct-02 1:45
Substitute19-Oct-02 1:45 
I'm totally new to programming so don't expect me to know anything =)

I've been trying to write a simple program too list all the installed fonts in a simple list,

This I've accomplished with this code:

FontFamily[] fontFamilies;

InstalledFontCollection installedFontCollection = new InstalledFontCollection();

// Get the array of FontFamily objects.
fontFamilies = installedFontCollection.Families;
int count = fontFamilies.Length;
for(int j = 0; j < count; ++j)
{
listView1.Items.Add(fontFamilies[j].Name);
}

It adds lines to the listView1.

How would I now continue with my project and try to get the fonts to display in their own typeface, since they now are printed using the default system font.

Cheers
GeneralRe: Fonts Pin
Nick Parker19-Oct-02 2:40
protectorNick Parker19-Oct-02 2:40 
GeneralRe: Fonts Pin
Substitute19-Oct-02 4:25
Substitute19-Oct-02 4:25 
GeneralManipulate Access DB Pin
Venet19-Oct-02 0:27
Venet19-Oct-02 0:27 
GeneralRe: Manipulate Access DB Pin
Stephane Rodriguez.19-Oct-02 1:44
Stephane Rodriguez.19-Oct-02 1:44 
GeneralRe: Manipulate Access DB Pin
David Stone19-Oct-02 7:44
sitebuilderDavid Stone19-Oct-02 7:44 
GeneralRe: Manipulate Access DB Pin
Stephane Rodriguez.19-Oct-02 8:25
Stephane Rodriguez.19-Oct-02 8:25 
GeneralRe: Manipulate Access DB Pin
Stephane Rodriguez.19-Oct-02 8:31
Stephane Rodriguez.19-Oct-02 8:31 
GeneralExport C# appz Pin
Anonymous18-Oct-02 9:53
Anonymous18-Oct-02 9:53 
GeneralRe: Export C# appz Pin
Paul Riley18-Oct-02 9:59
Paul Riley18-Oct-02 9:59 
GeneralRe: Export C# appz Pin
Stephane Rodriguez.18-Oct-02 10:58
Stephane Rodriguez.18-Oct-02 10:58 
GeneralRe: Export C# appz Pin
Anonymous19-Oct-02 0:16
Anonymous19-Oct-02 0:16 
Questiongrabbing focus with a Pop-up? Pin
Dave Gustafson18-Oct-02 4:05
Dave Gustafson18-Oct-02 4:05 
AnswerRe: grabbing focus with a Pop-up? Pin
Paul Riley18-Oct-02 4:46
Paul Riley18-Oct-02 4:46 
GeneralRe: grabbing focus with a Pop-up? Pin
Dave Gustafson18-Oct-02 5:36
Dave Gustafson18-Oct-02 5:36 
GeneralRe: grabbing focus with a Pop-up? Pin
Paul Riley18-Oct-02 5:46
Paul Riley18-Oct-02 5:46 
GeneralRe: grabbing focus with a Pop-up? Pin
Dave Gustafson18-Oct-02 13:33
Dave Gustafson18-Oct-02 13:33 
GeneralRe: grabbing focus with a Pop-up? Pin
Paul Riley18-Oct-02 14:20
Paul Riley18-Oct-02 14:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.