>hi kevin!
>
>what about using the Scripting Host?
>
>
>local oWsh as object
>oWsh=createobject("Wscript.Shell")
>oWsh.run(dok-file)
>rele oWsh
>
>
>Using the code above would open the dok-file with the default program assigned to this extension. you could also combine it with a
messagebox("Open the file?",4+32)
>
>HTH
Robert
The file I'm opening is a .DOC, but I want to open the file via the WebBrowser control from VFP, this allows me to view word within a VFP form and access the Document Model.
Thanks
Kev