>>>>Hi, Cetin!
>>>>
>>>>>>
>>>>WebBrowser control.
>>>><<
>>>>
>>>>Ooooops - for Word documents...
>>>>...but anyway <s>!
>>>>
>>>>Two additional questions:
>>>>1. Do you know how does it work (Does the create an internal instance of Word?)?
>>>>2. Where can I get some startup information about the WebBrowser control?
>>>>
>>>>Regards from Berlin
>>>
>>>1) No I don't know what IE does behindthescenes.
>>>2) It's easy. Create a form and drop one 'web browser control' from 'Tools\Component galler\Visual foxpro catalog\internet'
>>>
>>>Virtually anywhere code (A commandbutton for example):
>>>
>>>thisform.WebBrowser.Navigate2('file://'+lcMyDocPathAndName)
>>>
>>>There are samples in solution.app I think. Also check MSDN help.
>>>Cetin
>>
>>Hi Cetin,
>>
>>From another forum I got this question: is it possible to just show Excel or Word file in WebBrowser control, but disallow the modification. Do you know, how to do so?
>>
>>Thanks a million in advance.
>
>ReadOnly.
>Cetin
ReadOnly what? The original file? The WebBrowser control doesn't have ReadOnly property...
If it's not broken, fix it until it is.
My Blog