Ah, thanks a lot, I understand now, I actually did get close to that, but I tried OR NOT Bold, not And Not bold... but I get it now, its all working now. I think this is the last question I have to do with fonts. I have a listbox that adds all fonts on the system to a listbox:
For Each fntFont As FontFamily In FontFamily.Families
cmbFontFace.Items.Add(fntFont.Name)
Next
And then I have it so whenever something changes the font preview changes, but theres a problem.
Private Sub cmbFontFace_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmbFontFace.SelectedIndexChanged
lblFontPreview.Font = New Font(cmbFontFace.Text, lblFontPreview.Font.Size, lblFontPreview.Font.Style, GraphicsUnit.Point)
End Sub
That runs fine, but there are a few fonts that when I select them, they dont support regular style, or bold style, or italic style, or whatever, and the program closes. I could not figure out how to do any checking in that last bit of code to see if not only the font exists, but what styles it supports, and if its generaly useable at all, I looked through the fontfamily. properties and couldnt find anything of help, so do you know of a way I can check what it supports?