Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word Automation
Message
From
18/09/2001 09:29:53
 
 
To
18/09/2001 09:09:01
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00557740
Message ID:
00557773
Views:
14
Hi!

oWord = createobject("Word.Application")
...
oWord.Selection.InlineShapes.AddPicture("C:\vms\001-VAN.M-15030-SMALL.GIF", .F., .T.)

You can get a help on each object, property and method in the Word - run the Visual basic edotir from tools->Macro menu, then open some code and press F1 key. If developer help installed, you will get it, if not, you have to get a help page describing how to install it.

HTH.

>THats what i thought
>
>heres the word basic macro that i recorded but i dont see how to adapt it.!
>
>
>Sub Macro1()
>'
>' Macro1 Macro
>' Macro recorded 17/09/01 by Colin Burton
>'
> Selection.InlineShapes.AddPicture FileName:= _
> "C:\vms\001-VAN.M-15030-SMALL.GIF", LinkToFile:=False, SaveWithDocument:= _
> True
>End Sub
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Reply
Map
View

Click here to load this message in the networking platform