Click here to Skip to main content
15,913,685 members
Home / Discussions / COM
   

COM

 
QuestionVirtual drive using Shell Extensions - is it possible? Pin
PoliakovS2-Apr-03 23:55
PoliakovS2-Apr-03 23:55 
Generalmultiple IDispatches Pin
mweiss2-Apr-03 22:02
mweiss2-Apr-03 22:02 
GeneralRe: multiple IDispatches Pin
pba_9-Apr-03 12:48
pba_9-Apr-03 12:48 
GeneralDCOM & Dual LAN Pin
Deepak Bajaj2-Apr-03 17:56
Deepak Bajaj2-Apr-03 17:56 
GeneralRe: DCOM & Dual LAN Pin
pba_9-Apr-03 12:55
pba_9-Apr-03 12:55 
GeneralDCOM & Dual LAN Pin
Deepak Bajaj2-Apr-03 17:56
Deepak Bajaj2-Apr-03 17:56 
General"The stub received bad data" error when no marshalling is taking place in Win98 Pin
Alberto Bar-Noy2-Apr-03 8:33
Alberto Bar-Noy2-Apr-03 8:33 
GeneralWord automation Pin
Martyn Pearson2-Apr-03 1:48
Martyn Pearson2-Apr-03 1:48 
This is more Word related than COM related, so I hope you don't mind me asking...

I am using automation of MS Word to build a Word document, and would like to add footers which contain the page number, in the format [some text] [page number] [some text].

It seems to be that you can set the text of the header and footer using HeaderFooter::GetRange() and then Range::SetText(), and you can add a page number to the footer using HeaderFooter::GetPageNumbers() and then PageNumbers::Add(), but you can't marry up the text and page number.

Any ideas on how I can tackle this. Alternatively, does anyone know of any good books that cover word automation to this sort of depth?

Thanks in advance!
GeneralRe: Word automation Pin
Martyn Pearson2-Apr-03 2:12
Martyn Pearson2-Apr-03 2:12 
Generalthreading problems Pin
Dietmar Goetz1-Apr-03 3:49
Dietmar Goetz1-Apr-03 3:49 
GeneralRe: threading problems Pin
pba_9-Apr-03 13:07
pba_9-Apr-03 13:07 
Generalsome questions about events Pin
particle2k31-Mar-03 4:34
particle2k31-Mar-03 4:34 
GeneralRe: some questions about events Pin
Vi231-Mar-03 23:39
Vi231-Mar-03 23:39 
GeneralRe: some questions about events Pin
particle2k1-Apr-03 1:03
particle2k1-Apr-03 1:03 
GeneralRe: some questions about events Pin
Vi21-Apr-03 2:15
Vi21-Apr-03 2:15 
GeneralRe: some questions about events Pin
particle2k1-Apr-03 2:32
particle2k1-Apr-03 2:32 
QuestionCan com post message to app? I own the COM and app. Pin
xiaochnegwx29-Mar-03 15:35
xiaochnegwx29-Mar-03 15:35 
AnswerRe: Can com post message to app? I own the COM and app. Pin
geo_m29-Mar-03 22:56
geo_m29-Mar-03 22:56 
GeneralI only want to post WM_USER to app.How can I do? Pin
xiaochnegwx1-Apr-03 6:56
xiaochnegwx1-Apr-03 6:56 
GeneralRe: I only want to post WM_USER to app.How can I do? Pin
geo_m1-Apr-03 7:45
geo_m1-Apr-03 7:45 
GeneralBasic ATL-COM problem Pin
Francisco José Sen del Prado29-Mar-03 6:27
Francisco José Sen del Prado29-Mar-03 6:27 
GeneralRe: Basic ATL-COM problem Pin
Brian Shifrin29-Mar-03 13:12
Brian Shifrin29-Mar-03 13:12 
GeneralReturn Icon/Bitmap data from a method Pin
thowra29-Mar-03 1:35
thowra29-Mar-03 1:35 
GeneralRe: Return Icon/Bitmap data from a method Pin
Vi231-Mar-03 22:54
Vi231-Mar-03 22:54 
GeneralMIDL: Error related to Forward Dec;aration Pin
Ahsan Abbas27-Mar-03 22:28
Ahsan Abbas27-Mar-03 22:28 

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.