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

C#

 
GeneralRe: pass value from sub form to parent form Pin
madEG21-Nov-07 8:47
madEG21-Nov-07 8:47 
GeneralRe: pass value from sub form to parent form Pin
Kristian Sixhøj21-Nov-07 8:58
Kristian Sixhøj21-Nov-07 8:58 
GeneralRe: pass value from sub form to parent form Pin
madEG21-Nov-07 9:05
madEG21-Nov-07 9:05 
GeneralRe: pass value from sub form to parent form Pin
Kristian Sixhøj21-Nov-07 9:07
Kristian Sixhøj21-Nov-07 9:07 
AnswerRe: pass value from sub form to parent form Pin
Skippums21-Nov-07 9:05
Skippums21-Nov-07 9:05 
AnswerRe: pass value from sub form to parent form Pin
DaveyM6921-Nov-07 9:19
professionalDaveyM6921-Nov-07 9:19 
GeneralRe: pass value from sub form to parent form Pin
Anthony Mushrow21-Nov-07 10:06
professionalAnthony Mushrow21-Nov-07 10:06 
QuestionHow to check/compare type of font used in txt/rtf Pin
shea85121-Nov-07 8:16
shea85121-Nov-07 8:16 
Hi. I'm having trouble using streamwriter on certain files because those files contain chinese characters. I can fix my problem, but only in a way that it'll work correctly for one or the other, but not both at the same time.

The main issue is that I need to write to files that do not contain chinese, and files that do contain chinese. These files are mixed together, and at times there can be 500+ files. The only way to tell them apart that I can think of is to check if the file uses a certain font.

The files that contain chinese characters display them using the SimSun font. The files that do not have chinese characters do not use the SimSun font.

How can I check a file to see if it uses a certain type of font? I just need pointed in the right direction. I've tried messing around with iTextSharp but it doesn't seem to be able to read files, just write to them.
AnswerRe: How to check/compare type of font used in txt/rtf Pin
Anthony Mushrow21-Nov-07 8:25
professionalAnthony Mushrow21-Nov-07 8:25 
GeneralRe: How to check/compare type of font used in txt/rtf Pin
shea85121-Nov-07 8:31
shea85121-Nov-07 8:31 
QuestionHow can I catch the Mouse Click? Pin
Khoramdin21-Nov-07 7:56
Khoramdin21-Nov-07 7:56 
AnswerRe: How can I catch the Mouse Click? Pin
Not Active21-Nov-07 8:51
mentorNot Active21-Nov-07 8:51 
GeneralRe: How can I catch the Mouse Click? Pin
Khoramdin21-Nov-07 8:56
Khoramdin21-Nov-07 8:56 
GeneralRe: How can I catch the Mouse Click? Pin
Not Active21-Nov-07 10:08
mentorNot Active21-Nov-07 10:08 
GeneralRe: How can I catch the Mouse Click? Pin
Khoramdin21-Nov-07 12:21
Khoramdin21-Nov-07 12:21 
Questionhow I can insert image into sqlserver database with c# Pin
yemen_programmer21-Nov-07 7:04
yemen_programmer21-Nov-07 7:04 
Questionhow I can insert image into sqlserver database with c# Pin
yemen_programmer21-Nov-07 6:54
yemen_programmer21-Nov-07 6:54 
AnswerRe: how I can insert image into sqlserver database with c# Pin
Giorgi Dalakishvili21-Nov-07 7:03
mentorGiorgi Dalakishvili21-Nov-07 7:03 
AnswerRe: how I can insert image into sqlserver database with c# [modified] Pin
Khoramdin21-Nov-07 8:44
Khoramdin21-Nov-07 8:44 
QuestionCreate Shortcut in C# for Vista Pin
Phoen2521-Nov-07 6:30
Phoen2521-Nov-07 6:30 
AnswerRe: How to Open Url Pin
Anthony Mushrow21-Nov-07 6:04
professionalAnthony Mushrow21-Nov-07 6:04 
Question[Message Deleted] Pin
Shani Aulakh21-Nov-07 5:43
Shani Aulakh21-Nov-07 5:43 
AnswerRe: C#: Method help Pin
Judah Gabriel Himango21-Nov-07 5:59
sponsorJudah Gabriel Himango21-Nov-07 5:59 
AnswerRe: C#: Method help Pin
Anthony Mushrow21-Nov-07 6:08
professionalAnthony Mushrow21-Nov-07 6:08 
AnswerRe: C#: Method help Pin
J4amieC21-Nov-07 6:36
J4amieC21-Nov-07 6:36 

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.