Building and Debugging on a Mac everything works...
formURL = DocumentDict.Value("filePath") //filePath looks like this.. // on Mac: /Users/johnbdh2/programming/QMC/QMCDocs_Done/Box 048/QDC/1977PB1Signage_CD(048)/008_G8_A_1977PB1Signage_CD.pdf // on PC: C:/QMCDocs_Done/Box 048/QDC/1977PB1Signage_CD(048)/008_G8_A_1977PB1Signage_CD.pdf myPDFFile = WebFile.Open(PathToFolderItem(formURL)) myPDFFile.MIMEType = "application/pdf" htmlViewer_Document.URL = myPDFFile.URL
When I build and run it on Windows 2008 Server the htmlViewer does not change. The HTMLViewer has http://www.example.com/ set as the default page, and it does not change to the requested PDF on Windows.
Do I have to do anything different on Windows. I am guessing something is wrong with the POSIX format on the windows machine. I have verified that the path being passed is valid on the windows machine.