Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Talking with Word
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00068385
Message ID:
00068420
Views:
27
Thanks, Kamal. For whatever reason, wordbasic.hlp isn't on my machine - maybe I didn't install the necessary option when I installed MS Office. IAC, thanks for the suggestion about creating a macro and editing it. I've used that technique with Excel before and it's a good way to get a jump start on how to do things.


>Hi Rick,
>
>There is a help file "Wordbasic.hlp' which comes with MSWord. You may check that out.
>
>An easier approach is to record a new macro, do what you want to do through code visually and save the macro. Now edit the macro and you have all the command you were looking for.
>
>Kamal
>
>>PMFJI, but do you know if there is a reference document somewhere that lists the methods available in a Word Basic object along with their syntax?
>>
>>>Hi Ed,
>>>
>>>>2. I define in wordbasic object. How i can acess to it from VFP?
>>>
>>>loWordObject = CREATEOBJECT('word.basic')
>>>
>>>Now you have a reference to the word object through loWordObject. For e.g. you may try
>>>loWordObject.AppMaximize() or loWordObject.FileNew() etc.
>>>
>>>>3. I need information about RTF(file format, creating file from VFP)
>>>Simply add the OLE RTF control on the form. Users can enter data here and then you may replace this information to your memo field. I'd suggest checking the help of RTF control for more details depending on your requirements.
>>>
>>>Kamal
Rick Borup, MCSD

recursion (rE-kur'-shun) n.
  see recursion.
Previous
Reply
Map
View

Click here to load this message in the networking platform