Click here to Skip to main content
15,889,462 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: socket communication with video Pin
ThatsAlok11-Aug-05 22:24
ThatsAlok11-Aug-05 22:24 
GeneralSorting List View Pin
BicycleTheif11-Aug-05 20:45
BicycleTheif11-Aug-05 20:45 
GeneralRe: Sorting List View Pin
Jose Lamas Rios11-Aug-05 20:50
Jose Lamas Rios11-Aug-05 20:50 
GeneralRe: Sorting List View Pin
SVPG12-Aug-05 0:55
SVPG12-Aug-05 0:55 
GeneralRe: Sorting List View Pin
David Crow12-Aug-05 3:27
David Crow12-Aug-05 3:27 
GeneralMS Word automation Pin
Imtiaz Murtaza11-Aug-05 18:05
Imtiaz Murtaza11-Aug-05 18:05 
GeneralRe: MS Word automation Pin
Jose Lamas Rios11-Aug-05 18:35
Jose Lamas Rios11-Aug-05 18:35 
Generalhelp needed VC++ with MS Word Pin
Barm11-Aug-05 15:48
Barm11-Aug-05 15:48 
I am in the mist of editing a legacy program which output the report to words format. I am require to add in images, but I am unable to set the position of the images. I am able to add the images but all at (0,0) range.

i'm using the following codes

_Document oDoc;
Shapes oShape;
oShape = oDoc.GetShapes();
oShape.AddPicture
// v is suppose to be the indicator of the top and left points
tagVARIANT v;
v.lVal = v.intVal = v.iVal = v.fltVal = 200;
("C:\\Logo.JPG",vtFalse,vtTrue,&v,&v,vtOptional,vtOptional,vtOptional);

the image still appear at point (0,0)

Is it correct to use Shapes class or should I use InlineShapes Confused | :confused:
can someone please advise me... where have I gone wrong Confused | :confused:

Thomas
GeneralRe: help needed VC++ with MS Word Pin
Jose Lamas Rios11-Aug-05 16:21
Jose Lamas Rios11-Aug-05 16:21 
GeneralRe: help needed VC++ with MS Word Pin
Barm11-Aug-05 16:38
Barm11-Aug-05 16:38 
GeneralMore help needed VC++ with MS Word Pin
Barm11-Aug-05 17:41
Barm11-Aug-05 17:41 
GeneralExit codes Pin
#realJSOP11-Aug-05 15:45
mve#realJSOP11-Aug-05 15:45 
GeneralRe: Exit codes Pin
Christian Graus11-Aug-05 15:52
protectorChristian Graus11-Aug-05 15:52 
GeneralRe: Exit codes Pin
Jose Lamas Rios11-Aug-05 16:33
Jose Lamas Rios11-Aug-05 16:33 
GeneralRe: Exit codes Pin
#realJSOP11-Aug-05 23:14
mve#realJSOP11-Aug-05 23:14 
GeneralRe: Exit codes Pin
David Crow12-Aug-05 3:35
David Crow12-Aug-05 3:35 
Generalproblem about password editbox does not show "******" on Windows xp Pin
mike shen11-Aug-05 15:43
mike shen11-Aug-05 15:43 
GeneralRe: problem about password editbox does not show "******" on Windows xp Pin
Jose Lamas Rios11-Aug-05 16:05
Jose Lamas Rios11-Aug-05 16:05 
GeneralRe: problem about password editbox does not show "******" on Windows xp Pin
mike shen11-Aug-05 18:08
mike shen11-Aug-05 18:08 
GeneralRe: problem about password editbox does not show "******" on Windows xp Pin
Jose Lamas Rios11-Aug-05 18:38
Jose Lamas Rios11-Aug-05 18:38 
GeneralRe: problem about password editbox does not show "******" on Windows xp Pin
toxcct11-Aug-05 21:24
toxcct11-Aug-05 21:24 
GeneralProblem passing bitmap paths from C++ to .NET DLL Pin
mpastchenko11-Aug-05 14:39
mpastchenko11-Aug-05 14:39 
GeneralRe: Problem passing bitmap paths from C++ to .NET DLL Pin
Christian Graus11-Aug-05 14:49
protectorChristian Graus11-Aug-05 14:49 
GeneralRe: Problem passing bitmap paths from C++ to .NET DLL Pin
mpastchenko12-Aug-05 14:22
mpastchenko12-Aug-05 14:22 
GeneralPass message for the parent to handle Pin
DarkLizener11-Aug-05 12:50
DarkLizener11-Aug-05 12:50 

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.