Click here to Skip to main content
15,908,901 members
Home / Discussions / C#
   

C#

 
AnswerRe: plz help me,i want some example programs on accessing the xml file in C#.Net2003 Pin
Kevin McFarlane29-Aug-06 23:00
Kevin McFarlane29-Aug-06 23:00 
GeneralRe: plz help me,i want some example programs on accessing the xml file in C#.Net2003 Pin
vikas amin29-Aug-06 23:32
vikas amin29-Aug-06 23:32 
AnswerRe: plz help me,i want some example programs on accessing the xml file in C#.Net2003 Pin
Andrei Ungureanu29-Aug-06 23:51
Andrei Ungureanu29-Aug-06 23:51 
QuestionArabic input in Textbox Pin
Symbul29-Aug-06 14:38
Symbul29-Aug-06 14:38 
AnswerRe: Arabic input in Textbox Pin
Naes30-Aug-06 13:21
Naes30-Aug-06 13:21 
QuestionHow to avoid escaping char < while serialization? Pin
global warming29-Aug-06 13:43
global warming29-Aug-06 13:43 
QuestionC#: Howto implement Taskbar-toolbars? Pin
Robert Jacob29-Aug-06 13:33
Robert Jacob29-Aug-06 13:33 
QuestionHow to debug a DLL that is used by a compiled application? Pin
michal.kreslik29-Aug-06 12:17
michal.kreslik29-Aug-06 12:17 
AnswerRe: How to debug a DLL that is used by a compiled application? Pin
Ravi Bhavnani29-Aug-06 12:32
professionalRavi Bhavnani29-Aug-06 12:32 
GeneralRe: How to debug a DLL that is used by a compiled application? Pin
michal.kreslik29-Aug-06 12:43
michal.kreslik29-Aug-06 12:43 
GeneralRe: How to debug a DLL that is used by a compiled application? Pin
michal.kreslik30-Aug-06 15:20
michal.kreslik30-Aug-06 15:20 
QuestionDevloping Sql Mobile appliction Pin
latso29-Aug-06 12:10
latso29-Aug-06 12:10 
AnswerRe: file dependency Pin
Dave Kreskowiak29-Aug-06 12:37
mveDave Kreskowiak29-Aug-06 12:37 
QuestionCalling a Web Service From Desktop App Pin
Marcos Accioly29-Aug-06 9:53
Marcos Accioly29-Aug-06 9:53 
AnswerRe: Calling a Web Service From Desktop App Pin
Not Active29-Aug-06 10:05
mentorNot Active29-Aug-06 10:05 
GeneralRe: Calling a Web Service From Desktop App Pin
Marcos Accioly29-Aug-06 10:10
Marcos Accioly29-Aug-06 10:10 
GeneralRe: Calling a Web Service From Desktop App Pin
Not Active29-Aug-06 10:15
mentorNot Active29-Aug-06 10:15 
Questionproblem with ref and out parameters Pin
Dominick O'Dierno29-Aug-06 9:48
Dominick O'Dierno29-Aug-06 9:48 
I am attempting to write a function with the following declaration:

void OpenExcel(string filename, out Excel.ApplicationClass XLApp, out Excel.Workbook XLWorkBook, out Excel.Sheets XLSheets, out Excel.Worksheet XLWorkSheet)

where the function will open an instance of excel and the workbook with the given filename, and assign the application instance, the workbook, the worksheets collection and the default worksheet to the variables passed in respectively

When I attempt to compile I receive the following errors:

Argument '2': cannot convert from 'Microsoft.Office.Interop.Excel.Application' to 'out Microsoft.Office.Interop.Excel.ApplicationClass'
Argument '3': cannot convert from 'Microsoft.Office.Interop.Excel.Workbook' to 'out Microsoft.Office.Interop.Excel.Workbook'
Argument '4': cannot convert from 'Microsoft.Office.Interop.Excel.Sheets' to 'out Microsoft.Office.Interop.Excel.Worksheets'
Argument '5': cannot convert from 'Microsoft.Office.Interop.Excel.Worksheet' to 'out Microsoft.Office.Interop.Excel.Worksheet'

This also fails when I replace "out" with "ref"

Anyone know how to fix this?
AnswerRe: problem with ref and out parameters Pin
Marcos Accioly29-Aug-06 9:57
Marcos Accioly29-Aug-06 9:57 
GeneralRe: problem with ref and out parameters Pin
Dominick O'Dierno29-Aug-06 10:01
Dominick O'Dierno29-Aug-06 10:01 
Questionsql server password hacking Pin
haytham_mohammad29-Aug-06 9:46
haytham_mohammad29-Aug-06 9:46 
AnswerRe: sql server password hacking Pin
Luis C. Lopez29-Aug-06 10:05
Luis C. Lopez29-Aug-06 10:05 
QuestionDIsplay a rtf document in RichTextBox Pin
Ista29-Aug-06 8:55
Ista29-Aug-06 8:55 
AnswerRe: DIsplay a rtf document in RichTextBox Pin
Ista29-Aug-06 9:07
Ista29-Aug-06 9:07 
GeneralRe: DIsplay a rtf document in RichTextBox Pin
Marcos Accioly29-Aug-06 10:12
Marcos Accioly29-Aug-06 10:12 

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.