>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
Wrdbasic.hlp file contains PEM for word.basic It's located in winword directory and syntax is for VBA. It's addopted to VFP easily though. The problem is it gives the parameters as named parameters
ie: FileOpen .Name = text [, .ConfirmConversions = number] [, .ReadOnly = number] [, .AddToMru = number] [, .PasswordDoc = text] [, .PasswordDot = text] [, .Revert = number] [, .WritePasswordDoc = text] [, .WritePasswordDot = text]
To use it in VFP as far as I know we should use positional arguments ie: fileopen("adoc.doc",,1,,"pass") There is a file named position.hlp containing these positions, as far as I could check they are in the same order in wrdbasic.hlp. I will put the position.hlp in files section.