Click here to Skip to main content
15,923,222 members
Home / Discussions / COM
   

COM

 
GeneralRe: COM release build problem Pin
alex.barylski2-Sep-04 18:33
alex.barylski2-Sep-04 18:33 
QuestionHow to implement ScrollBars in a atl control Pin
cosmicYang31-Aug-04 20:03
cosmicYang31-Aug-04 20:03 
AnswerRe: How to implement ScrollBars in a atl control Pin
Anonymous1-Sep-04 6:24
Anonymous1-Sep-04 6:24 
GeneralRe: How to implement ScrollBars in a atl control Pin
cosmicYang1-Sep-04 14:42
cosmicYang1-Sep-04 14:42 
GeneralCommunicating with Excel (VC++ 6.0 MFC) Pin
shibble31-Aug-04 7:30
shibble31-Aug-04 7:30 
GeneralRe: Communicating with Excel (VC++ 6.0 MFC) Pin
darkbyte1-Sep-04 8:16
darkbyte1-Sep-04 8:16 
GeneralRe: Communicating with Excel (VC++ 6.0 MFC) Pin
shibble1-Sep-04 8:24
shibble1-Sep-04 8:24 
GeneralRe: Communicating with Excel (VC++ 6.0 MFC) Pin
darkbyte1-Sep-04 9:00
darkbyte1-Sep-04 9:00 
Most Automation Application will be running when you create an instance of them in your application.

The reason being that for most operations to be performed, excel need to be running. This makes things a little complex sometimes. Like trying to do something that pops a dialog box only when certain conditions are met. Then the excel application seems like it is stale, but its waiting for a user to click on the "OK" button of the dialog it just popped.

Same applies to most members of MS Office family.

So, its a definitive NO, you cannot communicate with Excel without having a running excel.exe

COM Automation does require to have an active process.

This of it this way: if you start your program 3 times, you will have 3 different Excel applications running, and this is a good thing. You dont want a process intensive task to prevent your 2 other programs to wait when all they do is a simple task each.
GeneralIShellUIHelper Pin
Member 132814130-Aug-04 22:25
Member 132814130-Aug-04 22:25 
GeneralRe: IShellUIHelper Pin
darkbyte1-Sep-04 9:04
darkbyte1-Sep-04 9:04 
GeneralCan't connect to or get interfaces of my COM server Pin
RFickling28-Aug-04 18:23
RFickling28-Aug-04 18:23 
GeneralRe: Can't connect to or get interfaces of my COM server Pin
Mayur Mahajan29-Aug-04 7:51
Mayur Mahajan29-Aug-04 7:51 
GeneralRe: Can't connect to or get interfaces of my COM server Pin
RFickling29-Aug-04 9:00
RFickling29-Aug-04 9:00 
GeneralRe: Can't connect to or get interfaces of my COM server Pin
RFickling29-Aug-04 10:00
RFickling29-Aug-04 10:00 
GeneralRe: Can't connect to or get interfaces of my COM server Pin
Jörgen Sigvardsson31-Aug-04 10:08
Jörgen Sigvardsson31-Aug-04 10:08 
GeneralRe: Can't connect to or get interfaces of my COM server Pin
Mayur Mahajan31-Aug-04 16:41
Mayur Mahajan31-Aug-04 16:41 
GeneralRe: Can't connect to or get interfaces of my COM server Pin
Jörgen Sigvardsson1-Sep-04 21:06
Jörgen Sigvardsson1-Sep-04 21:06 
GeneralRe: Can't connect to or get interfaces of my COM server Pin
Mayur Mahajan2-Sep-04 6:17
Mayur Mahajan2-Sep-04 6:17 
GeneralRe: Can't connect to or get interfaces of my COM server Pin
Jörgen Sigvardsson29-Aug-04 9:40
Jörgen Sigvardsson29-Aug-04 9:40 
GeneralRe: Can't connect to or get interfaces of my COM server Pin
RFickling29-Aug-04 9:53
RFickling29-Aug-04 9:53 
GeneralRe: Can't connect to or get interfaces of my COM server Pin
Milton Karimbekallil30-Aug-04 2:28
Milton Karimbekallil30-Aug-04 2:28 
GeneralRe: Can't connect to or get interfaces of my COM server Pin
RoyceF30-Aug-04 8:53
RoyceF30-Aug-04 8:53 
GeneralRe: Can't connect to or get interfaces of my COM server Pin
Milton Karimbekallil30-Aug-04 18:02
Milton Karimbekallil30-Aug-04 18:02 
GeneralRe: Can't connect to or get interfaces of my COM server Pin
RoyceF31-Aug-04 5:31
RoyceF31-Aug-04 5:31 
GeneralRe: Can't connect to or get interfaces of my COM server Pin
Jörgen Sigvardsson31-Aug-04 10:04
Jörgen Sigvardsson31-Aug-04 10:04 

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.