ox = CREATEOBJECT('Word.Application') ox.documents.open("Path and Doc Name")However, it sounds like you don't necessarily want to open Word every time, but rather the program that's associated with the file type selected. For that, you can use the SHELLEXECUTE() command to open the correct program, but then you don't have control over that program the way you do with Automation.
DECLARE INTEGER ShellExecute IN SHELL32.DLL ; INTEGER lnHWnd, ; STRING lcAction, ; STRING lcFileName, ; STRING lcExeParams, ; STRING lcDefDir, ; INTEGER lnShowWindow lnResult = ShellExecute( 0, 'open', lcFileName, "", "", 1 )