Click here to Skip to main content
16,004,927 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: the way of the virus [OT] Pin
Michael Dunn15-Feb-04 5:34
sitebuilderMichael Dunn15-Feb-04 5:34 
GeneralRe: the way of the virus [OT] Pin
Prakash Nadar15-Feb-04 16:59
Prakash Nadar15-Feb-04 16:59 
GeneralRe: the way of the virus [OT] Pin
David Crow16-Feb-04 3:06
David Crow16-Feb-04 3:06 
QuestionI want to use vc or vb to insert a picture into the word document at a given screen point. how to do? Pin
cuixiutao15-Feb-04 3:43
cuixiutao15-Feb-04 3:43 
GeneralWord file with Visual c++ (MFC) Pin
Member 73893815-Feb-04 2:33
Member 73893815-Feb-04 2:33 
GeneralRe: Word file with Visual c++ (MFC) Pin
Antti Keskinen15-Feb-04 8:03
Antti Keskinen15-Feb-04 8:03 
GeneralRe: Word file with Visual c++ (MFC) Pin
Member 73893815-Feb-04 12:01
Member 73893815-Feb-04 12:01 
GeneralRe: Word file with Visual c++ (MFC) Pin
Antti Keskinen15-Feb-04 21:56
Antti Keskinen15-Feb-04 21:56 
I can't provide you with direct example code, but after a bit browsing through the interfaces provided by Microsoft Word Object Library, I found the CanvasShapes IDispatch interface.

This interface has a method called AddPicture, and the parameters of this function call determine the source file name, width, height, top coord, left coord and so on.

It might be precisely what you're looking for. I will attempt to implement it myself today, so if you can't get it working, I'll create some source code to help you out.

-Antti Keskinen

----------------------------------------------
The definition of impossible is strictly dependant
on what we think is possible.
GeneralRe: Word file with Visual c++ (MFC) Pin
Member 73893815-Feb-04 23:12
Member 73893815-Feb-04 23:12 
GeneralRe: Word file with Visual c++ (MFC) Pin
Antti Keskinen16-Feb-04 2:21
Antti Keskinen16-Feb-04 2:21 
GeneralRe: Word file with Visual c++ (MFC) Pin
Member 73893816-Feb-04 4:12
Member 73893816-Feb-04 4:12 
GeneralRe: Word file with Visual c++ (MFC) Pin
C++NewBe25-May-04 9:57
C++NewBe25-May-04 9:57 
GeneralRe: Word file with Visual c++ (MFC) Pin
Antti Keskinen25-May-04 11:12
Antti Keskinen25-May-04 11:12 
GeneralRe: Word file with Visual c++ (MFC) Pin
C++NewBe25-May-04 11:25
C++NewBe25-May-04 11:25 
GeneralRe: Word file with Visual c++ (MFC) Pin
Antti Keskinen26-May-04 5:46
Antti Keskinen26-May-04 5:46 
GeneralRe: Word file with Visual c++ (MFC) Pin
C++NewBe26-May-04 7:21
C++NewBe26-May-04 7:21 
QuestionDoes C# has default SOAP client package? Pin
Jack Su15-Feb-04 1:58
Jack Su15-Feb-04 1:58 
GeneralProcessor or Mainboard's Serial Number Pin
Member 84094015-Feb-04 1:51
Member 84094015-Feb-04 1:51 
GeneralRe: Processor or Mainboard's Serial Number Pin
Toni7815-Feb-04 19:10
Toni7815-Feb-04 19:10 
GeneralRe: Processor or Mainboard's Serial Number Pin
David Crow16-Feb-04 3:13
David Crow16-Feb-04 3:13 
GeneralConvert virtual key code to human readable format Pin
User 665815-Feb-04 1:30
User 665815-Feb-04 1:30 
GeneralRe: Convert virtual key code to human readable format Pin
Antti Keskinen15-Feb-04 3:08
Antti Keskinen15-Feb-04 3:08 
QuestionWhy this code never works???!?? Pin
YaronNir15-Feb-04 1:26
YaronNir15-Feb-04 1:26 
AnswerRe: Why this code never works???!?? Pin
Antti Keskinen15-Feb-04 3:33
Antti Keskinen15-Feb-04 3:33 
GeneralRe: Why this code never works???!?? Pin
YaronNir15-Feb-04 5:33
YaronNir15-Feb-04 5:33 

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.