Click here to Skip to main content
15,902,763 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to modify file summary (title, subject etc...) Pin
Pete O'Hanlon12-Oct-07 3:53
mvePete O'Hanlon12-Oct-07 3:53 
AnswerRe: How to modify file summary (title, subject etc...) Pin
Justin Perez12-Oct-07 4:18
Justin Perez12-Oct-07 4:18 
AnswerRe: How to modify file summary (title, subject etc...) Pin
Whytespot12-Oct-07 6:19
Whytespot12-Oct-07 6:19 
QuestionChanging font in a console application Pin
DanSteeve12-Oct-07 3:23
DanSteeve12-Oct-07 3:23 
AnswerRe: Changing font in a console application Pin
Luc Pattyn12-Oct-07 4:21
sitebuilderLuc Pattyn12-Oct-07 4:21 
GeneralRe: Changing font in a console application Pin
ChrisKo12-Oct-07 10:34
ChrisKo12-Oct-07 10:34 
GeneralRe: Changing font in a console application Pin
Luc Pattyn12-Oct-07 11:10
sitebuilderLuc Pattyn12-Oct-07 11:10 
AnswerRe: Changing font in a console application Pin
ChrisKo12-Oct-07 10:31
ChrisKo12-Oct-07 10:31 
As far as I know, the only fonts allowed for Consoles is controlled by the following registry entry.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Console\TrueTypeFont

Once the font has been added there, a reboot is required. But then, I have no clue how you actually change the font being used, but there's gotta be a Win32 API call somewhere you can p/invoke. I think Luc's examples might help you locate that.

Also, in the registry entry, it's not logical because the entry you're likely to see is:
0 REG_SZ Lucinda Console

You'd think oh, I just need to add:
1 REG_SZ Consolas

Nope, WRONG! You would add
00 REG_SZ Consolas

and a third one would be:
000 REG_SZ Courier

Yep, real intuitive. Mad | :mad:
QuestionAdding Columns in DataGrid at run time Pin
aloktambi12-Oct-07 3:00
aloktambi12-Oct-07 3:00 
AnswerRe: Adding Columns in DataGrid at run time Pin
Justin Perez12-Oct-07 3:22
Justin Perez12-Oct-07 3:22 
GeneralRe: Adding Columns in DataGrid at run time Pin
aloktambi12-Oct-07 3:36
aloktambi12-Oct-07 3:36 
GeneralRe: Adding Columns in DataGrid at run time Pin
Justin Perez12-Oct-07 3:41
Justin Perez12-Oct-07 3:41 
GeneralRe: Adding Columns in DataGrid at run time Pin
aloktambi12-Oct-07 3:52
aloktambi12-Oct-07 3:52 
GeneralRe: Adding Columns in DataGrid at run time Pin
Justin Perez12-Oct-07 3:56
Justin Perez12-Oct-07 3:56 
GeneralRe: Adding Columns in DataGrid at run time Pin
Dave Kreskowiak12-Oct-07 4:40
mveDave Kreskowiak12-Oct-07 4:40 
GeneralRe: Adding Columns in DataGrid at run time Pin
Dan Neely12-Oct-07 7:42
Dan Neely12-Oct-07 7:42 
GeneralRe: Adding Columns in DataGrid at run time Pin
Dave Kreskowiak12-Oct-07 7:44
mveDave Kreskowiak12-Oct-07 7:44 
JokeRe: Adding Columns in DataGrid at run time Pin
TJoe19-Oct-07 8:07
TJoe19-Oct-07 8:07 
GeneralRe: Adding Columns in DataGrid at run time Pin
Manuel F. Hernandez13-Oct-07 7:44
Manuel F. Hernandez13-Oct-07 7:44 
GeneralRe: Adding Columns in DataGrid at run time Pin
jhwurmbach15-Oct-07 1:58
jhwurmbach15-Oct-07 1:58 
GeneralRe: Adding Columns in DataGrid at run time Pin
W Balboos, GHB19-Oct-07 3:53
W Balboos, GHB19-Oct-07 3:53 
GeneralRe: Adding Columns in DataGrid at run time Pin
Jesse Chunn21-Oct-07 5:09
Jesse Chunn21-Oct-07 5:09 
GeneralRe: Adding Columns in DataGrid at run time Pin
W Balboos, GHB23-Oct-07 0:50
W Balboos, GHB23-Oct-07 0:50 
GeneralRe: Adding Columns in DataGrid at run time Pin
Mikkel Toudal Kristiansen1-Nov-07 0:08
Mikkel Toudal Kristiansen1-Nov-07 0:08 
AnswerRe: Adding Columns in DataGrid at run time Pin
Maximilien12-Oct-07 9:40
Maximilien12-Oct-07 9:40 

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.