Click here to Skip to main content
15,908,768 members
Home / Discussions / C#
   

C#

 
AnswerRe: After openining a word document in c-sharp,i got picture from it ,question is how to show this picture? Pin
Stephane Rodriguez.6-Nov-02 1:55
Stephane Rodriguez.6-Nov-02 1:55 
I don't know why you can't figure out an easy way to get what you need. It's straight forward.

You don't know the MS Word object model ? I don't either, but who cares ?

Here is what I have done. I have opened MS Word, started the macro recorder, and inserted a picture. Then I edited the macro, and guess what? it showed me exactly the object used to manage pictures in Word. That's ActiveDocument.Shapes. You can either insert one of more picture, get an enumerator and get the pictures, etc.

Now that you know the right keyword to use, "Shapes", you could even start a google search and get a code snippet ready for use.

I hope that one answers not only your question, but also all others questions you may ask about the use of object models. Indeed, in our developer lives, what counts more is the ability to solve a problem regardless of the plumbering.;P








Back to real work : D-24.
GeneralRe: After openining a word document in c-sharp,i got picture from it ,question is how to show this picture? Pin
Sijin6-Nov-02 2:39
Sijin6-Nov-02 2:39 
GeneralLinking with Word 9.0 while word 10.0 is installed Pin
Noam Ben Haim5-Nov-02 20:27
Noam Ben Haim5-Nov-02 20:27 
GeneralRe: Linking with Word 9.0 while word 10.0 is installed Pin
Stephane Rodriguez.5-Nov-02 20:42
Stephane Rodriguez.5-Nov-02 20:42 
GeneralRe: Linking with Word 9.0 while word 10.0 is installed Pin
Noam Ben Haim5-Nov-02 21:38
Noam Ben Haim5-Nov-02 21:38 
GeneralWeb Services DISCO party Pin
antoine@orchus-tech5-Nov-02 13:34
antoine@orchus-tech5-Nov-02 13:34 
Questionhow to login the system through a service? Pin
imran_rafique5-Nov-02 12:23
imran_rafique5-Nov-02 12:23 
AnswerRe: how to login the system through a service? Pin
Stephane Rodriguez.5-Nov-02 20:52
Stephane Rodriguez.5-Nov-02 20:52 
Questionhow to get a system state? Pin
imran_rafique5-Nov-02 12:10
imran_rafique5-Nov-02 12:10 
GeneralSynchronous socket connections Pin
m_mond5-Nov-02 8:53
m_mond5-Nov-02 8:53 
GeneralRe: Synchronous socket connections Pin
Richard Deeming6-Nov-02 3:31
mveRichard Deeming6-Nov-02 3:31 
Questionplz help? Pin
imran_rafique4-Nov-02 16:19
imran_rafique4-Nov-02 16:19 
AnswerRe: plz help? Pin
Vasudevan Deepak Kumar5-Nov-02 3:45
Vasudevan Deepak Kumar5-Nov-02 3:45 
GeneralDefault Windows temp dir location Pin
Bog4-Nov-02 13:01
Bog4-Nov-02 13:01 
GeneralRe: Default Windows temp dir location Pin
Stephane Rodriguez.4-Nov-02 22:35
Stephane Rodriguez.4-Nov-02 22:35 
GeneralRe: Default Windows temp dir location Pin
Richard Deeming5-Nov-02 0:16
mveRichard Deeming5-Nov-02 0:16 
GeneralRe: Default Windows temp dir location Pin
Stephane Rodriguez.5-Nov-02 0:27
Stephane Rodriguez.5-Nov-02 0:27 
GeneralRe: Default Windows temp dir location Pin
David Stone5-Nov-02 5:06
sitebuilderDavid Stone5-Nov-02 5:06 
GeneralRe: Default Windows temp dir location Pin
Nnamdi Onyeyiri5-Nov-02 9:10
Nnamdi Onyeyiri5-Nov-02 9:10 
GeneralRe: Default Windows temp dir location Pin
David Stone5-Nov-02 15:41
sitebuilderDavid Stone5-Nov-02 15:41 
GeneralRe: Default Windows temp dir location Pin
Nnamdi Onyeyiri6-Nov-02 5:27
Nnamdi Onyeyiri6-Nov-02 5:27 
GeneralRe: Default Windows temp dir location Pin
Vasudevan Deepak Kumar5-Nov-02 3:42
Vasudevan Deepak Kumar5-Nov-02 3:42 
Generalthanks all Pin
Bog5-Nov-02 11:06
Bog5-Nov-02 11:06 
QuestionTyped Dataset from flat file? Pin
Ozyris4-Nov-02 11:54
Ozyris4-Nov-02 11:54 
General[Message Deleted] Pin
Frank W. Wu4-Nov-02 10:36
Frank W. Wu4-Nov-02 10:36 

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.