Click here to Skip to main content
15,884,298 members
Home / Discussions / C#
   

C#

 
Questionhow to Collect selected text in the richtextbox Pin
amir-haghighi21-Sep-09 22:40
amir-haghighi21-Sep-09 22:40 
AnswerRe: how to Collect selected text in the richtextbox Pin
SummerBulb21-Sep-09 23:18
SummerBulb21-Sep-09 23:18 
AnswerRe: how to Collect selected text in the richtextbox Pin
OriginalGriff21-Sep-09 23:29
mveOriginalGriff21-Sep-09 23:29 
GeneralRe: how to Collect selected text in the richtextbox Pin
amir-haghighi22-Sep-09 5:33
amir-haghighi22-Sep-09 5:33 
GeneralRe: how to Collect selected text in the richtextbox Pin
OriginalGriff22-Sep-09 6:05
mveOriginalGriff22-Sep-09 6:05 
GeneralRe: how to Collect selected text in the richtextbox Pin
amir-haghighi27-Oct-09 0:33
amir-haghighi27-Oct-09 0:33 
Question[Message Deleted] Pin
ShaktisinhRathod21-Sep-09 22:15
ShaktisinhRathod21-Sep-09 22:15 
AnswerRe: Invalid Argument in Word.Document.SaveAS(,,) Interop.Microsoft.Office.Core.dll Pin
OriginalGriff21-Sep-09 23:19
mveOriginalGriff21-Sep-09 23:19 
ShaktisinhRathod wrote:
I am Facing a problem in Word.Document.SaveAs(,)
It Shows Error "No overload for method 'SaveAs' takes '11' arguments"
when I run application on OTHER MACHINE which also using Office2003.
Same Applicaiton works On My machine with 16 arguments


Have you checked you are supplying 16 arguments? Beacuse the error says 11, and the compiler can normally count pretty well...

BTW: when I have to supply lots of arguments to a method, I tend to put them each on a separate line - it make identifying which is which a lot easier, and you can also comment them:

aDoc.SaveAs(ref destFile,             // File name
            ref missing1,             // File format default
            ref missing1,             //... etc
            ref missing1, 
            ref missing1, 
            ref missing1, 
            ref missing1, 
            ref missing1, 
            ref missing1, 
            ref missing1, 
            ref missing1, 
            ref missing1, 
            ref missing1, 
            ref missing1, 
            ref missing1, 
            ref missing1);

missing1);

No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced.

This message is made of fully recyclable Zeros and Ones

General[Message Deleted] Pin
ShaktisinhRathod22-Sep-09 0:39
ShaktisinhRathod22-Sep-09 0:39 
GeneralRe: Invalid Argument in Word.Document.SaveAS(,,) Interop.Microsoft.Office.Core.dll Pin
OriginalGriff22-Sep-09 0:49
mveOriginalGriff22-Sep-09 0:49 
General[Message Deleted] Pin
ShaktisinhRathod22-Sep-09 1:36
ShaktisinhRathod22-Sep-09 1:36 
GeneralRe: Method Not Found Word._Document.SaveAs(System.Object Byref..,,,,16 argument).. Pin
OriginalGriff22-Sep-09 3:37
mveOriginalGriff22-Sep-09 3:37 
Questionre: initialising a runtime class Pin
jdneul21-Sep-09 20:17
jdneul21-Sep-09 20:17 
AnswerRe: re: initialising a runtime class Pin
SeMartens21-Sep-09 20:26
SeMartens21-Sep-09 20:26 
AnswerRe: re: initialising a runtime class Pin
Mirko198021-Sep-09 22:24
Mirko198021-Sep-09 22:24 
GeneralRe: re: initialising a runtime class Pin
jdneul21-Sep-09 22:36
jdneul21-Sep-09 22:36 
GeneralRe: re: initialising a runtime class Pin
Mirko198021-Sep-09 23:51
Mirko198021-Sep-09 23:51 
GeneralRe: re: initialising a runtime class Pin
jdneul22-Sep-09 0:20
jdneul22-Sep-09 0:20 
GeneralRe: re: initialising a runtime class Pin
Mirko198022-Sep-09 3:31
Mirko198022-Sep-09 3:31 
QuestionArraylist problem!!! Pin
bounik21-Sep-09 18:28
bounik21-Sep-09 18:28 
GeneralRe: Arraylist problem!!! Pin
Programm3r21-Sep-09 20:09
Programm3r21-Sep-09 20:09 
GeneralRe: Arraylist problem!!! Pin
Luc Pattyn22-Sep-09 1:16
sitebuilderLuc Pattyn22-Sep-09 1:16 
GeneralRe: Arraylist problem!!! Pin
Programm3r22-Sep-09 1:27
Programm3r22-Sep-09 1:27 
AnswerRe: Arraylist problem!!! Pin
Calla21-Sep-09 20:27
Calla21-Sep-09 20:27 
AnswerRe: Arraylist problem!!! Pin
Programm3r21-Sep-09 20:30
Programm3r21-Sep-09 20:30 

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.