Click here to Skip to main content
15,928,109 members
Home / Discussions / C#
   

C#

 
AnswerRe: IDeviceContext OR How to MeasureText out of the Paint Event Pin
C-Scharbe30-Nov-07 1:04
C-Scharbe30-Nov-07 1:04 
GeneralRe: IDeviceContext OR How to MeasureText out of the Paint Event Pin
mav.northwind30-Nov-07 21:05
mav.northwind30-Nov-07 21:05 
QuestionImpersonation in C# Pin
dhanashree_129-Nov-07 23:02
dhanashree_129-Nov-07 23:02 
QuestionReplacing ReportViewer with Internet Explorer Pin
Ramith Sivanarain29-Nov-07 23:02
Ramith Sivanarain29-Nov-07 23:02 
QuestionExternal device Pin
Lol2129-Nov-07 23:01
Lol2129-Nov-07 23:01 
AnswerRe: External device Pin
MickCurley29-Nov-07 23:10
MickCurley29-Nov-07 23:10 
AnswerRe: External device Pin
ChandraRam30-Nov-07 1:59
ChandraRam30-Nov-07 1:59 
QuestionProblem in opening an excel file using C# Pin
ramyanaidu29-Nov-07 22:54
ramyanaidu29-Nov-07 22:54 
OpenFileDialog ofd = new OpenFileDialog();
ofd.InitialDirectory = @"Big Grin | :-D \\";
ofd.Filter = "Excel Files(*.xls)|*.xls|" + "All Text Files(*.*)|*.*";
ofd.FilterIndex = 1;
if (ofd.ShowDialog() == DialogResult.OK)
{
excelApp = new Excel.Application();
workBook = excelApp.Workbooks.Open(ofd.FileName, 0, true, 5,
"", "", true, Excel.XlPlatform.xlWindows, "\t", false, false,
0, true,1,0);


When i run this code i get an error as "Unable to cast COM object of type 'Excel.ApplicationClass' to interface type 'Excel._Application'. This operation failed because the QueryInterface call on the COM component for the interface with IID ""
plz any one help me in this

Regards Ramya



AnswerRe: Problem in opening an excel file using C# Pin
NewToAspDotNet29-Nov-07 23:53
NewToAspDotNet29-Nov-07 23:53 
Question.net 2005 clickonce error Pin
arkiboys29-Nov-07 22:47
arkiboys29-Nov-07 22:47 
GeneralRe: .net 2005 clickonce error Pin
Sam Xavier17-Jan-08 23:56
Sam Xavier17-Jan-08 23:56 
Questioncounting Attributes in xml file of one childnode [modified] Pin
Ravi Shankar4329-Nov-07 22:37
Ravi Shankar4329-Nov-07 22:37 
AnswerRe: counting Attributes in xml file of one childnode Pin
Christian Graus29-Nov-07 22:48
protectorChristian Graus29-Nov-07 22:48 
GeneralRe: counting Attributes in xml file of one childnode Pin
Ravi Shankar4329-Nov-07 22:53
Ravi Shankar4329-Nov-07 22:53 
AnswerRe: counting Attributes in xml file of one childnode Pin
Christian Graus29-Nov-07 23:09
protectorChristian Graus29-Nov-07 23:09 
QuestionHow to send MDNS Query over UDP to get Domain Name Pointer (PTR)? Pin
Jakob Farian Krarup29-Nov-07 22:29
Jakob Farian Krarup29-Nov-07 22:29 
AnswerMessage Closed Pin
18-Oct-12 3:39
professionalLeo Chapiro18-Oct-12 3:39 
GeneralRe: How to send MDNS Query over UDP to get Domain Name Pointer (PTR)? Pin
Jakob Farian Krarup18-Oct-12 8:55
Jakob Farian Krarup18-Oct-12 8:55 
Questionconvert string to Int Pin
minniemooo29-Nov-07 22:17
minniemooo29-Nov-07 22:17 
AnswerRe: convert string to Int Pin
m@u29-Nov-07 22:21
m@u29-Nov-07 22:21 
AnswerRe: convert string to Int Pin
GuyThiebaut29-Nov-07 22:22
professionalGuyThiebaut29-Nov-07 22:22 
AnswerRe: convert string to Int Pin
Vasudevan Deepak Kumar29-Nov-07 22:27
Vasudevan Deepak Kumar29-Nov-07 22:27 
AnswerRe: convert string to Int Pin
Pankaj - Joshi29-Nov-07 22:33
Pankaj - Joshi29-Nov-07 22:33 
GeneralRe: convert string to Int Pin
Christian Graus29-Nov-07 22:44
protectorChristian Graus29-Nov-07 22:44 
GeneralRe: convert string to Int Pin
Pankaj - Joshi29-Nov-07 23:07
Pankaj - Joshi29-Nov-07 23:07 

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.