Click here to Skip to main content
15,928,111 members
Home / Discussions / COM
   

COM

 
AnswerRe: Is MDAC new Version backwork compatible? Pin
John M. Drescher25-Mar-05 8:35
John M. Drescher25-Mar-05 8:35 
QuestionCustom ActiveX control? Pin
foxyspy24-Mar-05 20:23
foxyspy24-Mar-05 20:23 
Questionpreparing DISPPARAMS for a method?? Pin
Muhammad Azam24-Mar-05 19:00
Muhammad Azam24-Mar-05 19:00 
AnswerRe: preparing DISPPARAMS for a method?? Pin
Vi227-Mar-05 22:30
Vi227-Mar-05 22:30 
GeneralRe: preparing DISPPARAMS for a method?? Pin
Muhammad Azam27-Mar-05 22:47
Muhammad Azam27-Mar-05 22:47 
GeneralRe: preparing DISPPARAMS for a method?? Pin
Vi227-Mar-05 23:01
Vi227-Mar-05 23:01 
GeneralRe: preparing DISPPARAMS for a method?? Pin
Muhammad Azam27-Mar-05 23:06
Muhammad Azam27-Mar-05 23:06 
GeneralOpen excel woorbook in office xp 2002 with c# Pin
24-Mar-05 6:16
suss24-Mar-05 6:16 
Hello, I`ve got a problem with opening excel woorbook using this code.
I`ve got office xp 2002 with sp3.
On one computer i dont have this problem, but on the other one appears exception.

object mis = System.Reflection.Missing.Value;
Excel.Application excel = new Excel.ApplicationClass();
Excel._Workbook wkb = excel.Workbooks.Add(mis);
Excel._Worksheet sht = (Excel._Worksheet)wkb.Sheets[1];

I did add reference to excel 10. TypeLib version 1.4


This is the exception i`ve receive.
An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in SqlToExcel.exe

Additional information: Old libary or incorect form.
(Biblioteka w starym formacie lub nieprawidłowy typ biblioteki).

I dont now what to change in the code.

Please, help meeee. Frown | :( Confused | :confused:
GeneralUsing COM dll in C Pin
Monty223-Mar-05 23:54
Monty223-Mar-05 23:54 
GeneralRe: Using COM dll in C Pin
Jörgen Sigvardsson24-Mar-05 2:52
Jörgen Sigvardsson24-Mar-05 2:52 
GeneralRe: Using COM dll in C Pin
Monty224-Mar-05 5:20
Monty224-Mar-05 5:20 
GeneralRe: Using COM dll in C Pin
Jörgen Sigvardsson24-Mar-05 9:54
Jörgen Sigvardsson24-Mar-05 9:54 
GeneralRe: Using COM dll in C Pin
Mike Dimmick24-Mar-05 5:43
Mike Dimmick24-Mar-05 5:43 
GeneralRe: Using COM dll in C Pin
Monty224-Mar-05 7:22
Monty224-Mar-05 7:22 
GeneralQueryInterface calls Pin
GizzoF23-Mar-05 0:41
GizzoF23-Mar-05 0:41 
GeneralRe: QueryInterface calls Pin
ThatsAlok23-Mar-05 1:58
ThatsAlok23-Mar-05 1:58 
GeneralRe: QueryInterface calls Pin
GizzoF23-Mar-05 4:23
GizzoF23-Mar-05 4:23 
GeneralDCOM Server using in service Pin
Member 28664122-Mar-05 17:39
Member 28664122-Mar-05 17:39 
QuestionHow to make an ActiveX control can be copied and pasted in a Richedit control Pin
gxulg22-Mar-05 17:30
gxulg22-Mar-05 17:30 
GeneralGet text on screen Pin
levgiang22-Mar-05 0:31
levgiang22-Mar-05 0:31 
QuestionHow to make ICopyHook work ? Pin
khan++21-Mar-05 0:43
khan++21-Mar-05 0:43 
AnswerRe: How to make ICopyHook work ? Pin
khan++21-Mar-05 23:01
khan++21-Mar-05 23:01 
GeneralRe: How to make ICopyHook work ? Pin
Jörgen Sigvardsson22-Mar-05 4:37
Jörgen Sigvardsson22-Mar-05 4:37 
GeneralActiveX and events Pin
DaSharmXXX120-Mar-05 20:59
sussDaSharmXXX120-Mar-05 20:59 
GeneralParse Remote SSL Certificate Pin
AZinNC18-Mar-05 9:10
AZinNC18-Mar-05 9:10 

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.