Click here to Skip to main content
15,894,539 members
Home / Discussions / C#
   

C#

 
AnswerRe: C# how to tell if a file is text Pin
leppie29-May-08 22:03
leppie29-May-08 22:03 
AnswerRe: C# how to tell if a file is text Pin
buchstaben29-May-08 22:32
buchstaben29-May-08 22:32 
GeneralRe: C# how to tell if a file is text Pin
darkelv30-May-08 2:10
darkelv30-May-08 2:10 
QuestionThe address of pointer that pass to COM object is not right (only in x64) Pin
RYU^^29-May-08 16:49
RYU^^29-May-08 16:49 
AnswerRe: The address of pointer that pass to COM object is not right (only in x64) Pin
leppie29-May-08 22:17
leppie29-May-08 22:17 
GeneralRe: The address of pointer that pass to COM object is not right (only in x64) Pin
RYU^^6-Jun-08 0:13
RYU^^6-Jun-08 0:13 
QuestionImplementing Word's spell check in C# app Pin
Alex MacDonald29-May-08 11:59
Alex MacDonald29-May-08 11:59 
AnswerRe: Implementing Word's spell check in C# app Pin
Judah Gabriel Himango29-May-08 13:05
sponsorJudah Gabriel Himango29-May-08 13:05 
Alex, one thing I'd say is, are you sure you need to use the full blown Word spell checker? There are plenty of free, more lightweight alternatives out there. (I just searched for C# spell checker and got some articles).

Also, are you aware that WPF (the new UI toolkit part of .NET 3 and up) has text boxes and rich text boxes with built in spell checker?

Now, if none of that dissuades you from using Word's spellchecking, here are my thoughts:
-a couple of the errors are mistranslations from VB.NET, such as the CType one and possibly the "string is a type but is used like a variable". Are you aware there's a C# article showing how to use Word's spellcheck on CodeProject?
-the rest of the compiler errors may be differences between VB.NET and C#, where VB.NET allows for "optional" params, C# doesn't. For cases like this, try passing in the default value (such as null for objects, 0 for ints, false for bools, etc.).

Another thing to check out if you're set on Word's spellchecking is Microsoft's "Visual Studio Tools for Office" set of APIs. Microsoft built some interop dlls and tools for easier interop with Word from C#. Search MSDN for more info.






Life, family, faith: Give me a visit.

From my latest post: "When Constantine severed the Hebrew origins of this faith in Messiah, a new religion was officially created. It is this religion that Orthodox Jews fear their relatives and friends becoming members of."

Judah Himango


AnswerRe: Implementing Word's spell check in C# app Pin
Vasudevan Deepak Kumar29-May-08 18:20
Vasudevan Deepak Kumar29-May-08 18:20 
AnswerRe: Implementing Word's spell check in C# app Pin
buchstaben29-May-08 22:37
buchstaben29-May-08 22:37 
QuestionHow to rename my Solution Name (Vs2005) ? Pin
hdv21229-May-08 11:19
hdv21229-May-08 11:19 
AnswerRe: How to rename my Solution Name (Vs2005) ? Pin
Judah Gabriel Himango29-May-08 12:38
sponsorJudah Gabriel Himango29-May-08 12:38 
QuestionAdding data to a new worksheet in an existing workbook c# Pin
compninja2529-May-08 10:47
compninja2529-May-08 10:47 
AnswerRe: Adding data to a new worksheet in an existing workbook c# Pin
Judah Gabriel Himango29-May-08 12:37
sponsorJudah Gabriel Himango29-May-08 12:37 
GeneralRe: Adding data to a new worksheet in an existing workbook c# Pin
compninja2530-May-08 1:59
compninja2530-May-08 1:59 
GeneralRe: Adding data to a new worksheet in an existing workbook c# Pin
Robert Ernst28-Aug-08 11:34
Robert Ernst28-Aug-08 11:34 
QuestionWPF and C# Help Pin
Tyler Lovejoy29-May-08 10:20
Tyler Lovejoy29-May-08 10:20 
AnswerRe: WPF and C# Help Pin
Judah Gabriel Himango29-May-08 12:34
sponsorJudah Gabriel Himango29-May-08 12:34 
GeneralRe: WPF and C# Help Pin
Tyler Lovejoy30-May-08 2:53
Tyler Lovejoy30-May-08 2:53 
AnswerRe: WPF and C# Help Pin
Bert delaVega30-May-08 5:50
Bert delaVega30-May-08 5:50 
AnswerRe: WPF and C# Help Pin
Tyler Lovejoy2-Jun-08 6:25
Tyler Lovejoy2-Jun-08 6:25 
QuestionAppending Multiple RTF FIles Together for Printout Pin
redfish3429-May-08 9:15
redfish3429-May-08 9:15 
AnswerRe: Appending Multiple RTF FIles Together for Printout Pin
Thomas Stockwell30-May-08 10:43
professionalThomas Stockwell30-May-08 10:43 
QuestionIs it possible to change Intranet Zone to Full Trust thrue code? Pin
Phrone29-May-08 8:40
Phrone29-May-08 8:40 
AnswerRe: Is it possible to change Intranet Zone to Full Trust thrue code? Pin
Gareth H29-May-08 9:00
Gareth H29-May-08 9:00 

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.