I'm trying to display a Word Document when a button is pushed and do not have the correct syntax. the document is on a share drive, and word is installed on all of our terminal servers. Would anyone know the correct syntax?
We are trying
c:\program files (x86)\microsoft office\office14\winword.exe "s:\centricity\cps_reference_documents\smoking resources.rtf"
You probably need quotes around the executable path since there are spaces.
Look at the CHUG Topic titled "FILEOPEN". I just uploaded a dlg file for a test form that opens an excel file. Modify the filename to your rtf filepath and name. Form should work to open that instead. The problem is usually the backslashes. Take a look at the sample form in the FILEOPEN topic. My sample dlg handles spaces in the filepath, filename. - Beverly