moongirl129
Programmer
I developed a C# app last year which has been used on 4 or 5 pcs regularly during that time with no problems. Part of the app copies a Word document (docx 2007) then dynamically appends a few pages then saves it in a set place on the PC.
The app has been installed on XP, Vista, with PCs that have Word 2003 installed. All fine.
Today I have installed the app on a new PC which has Vista and Word 2007 installed. The Word document is created fine and I can open it manually but when I click a button in the app to auto open the document Word 2007 opens and I see a msg saying the 'The file could not be found'. There are 2 buttons, the other references a dynamically created PDF and the docs are stored in exactly the same folder. I log the filepath when trying to open either and the folder paths are identical which is correct and the file names are both correct.
Why will the PDF open but the docx not open? Why am i having this trouble!!?? And how on earth do I fix it - I am stumped??!!
I don't know if it's relevant or not but the app does not have an installer - I place all relevant app files in the relevant folder in program files.
The path for these docs is in virtual store but I reference c:\program files\....... etc - works for pdf but not for docx??
The app has been installed on XP, Vista, with PCs that have Word 2003 installed. All fine.
Today I have installed the app on a new PC which has Vista and Word 2007 installed. The Word document is created fine and I can open it manually but when I click a button in the app to auto open the document Word 2007 opens and I see a msg saying the 'The file could not be found'. There are 2 buttons, the other references a dynamically created PDF and the docs are stored in exactly the same folder. I log the filepath when trying to open either and the folder paths are identical which is correct and the file names are both correct.
Why will the PDF open but the docx not open? Why am i having this trouble!!?? And how on earth do I fix it - I am stumped??!!
I don't know if it's relevant or not but the app does not have an installer - I place all relevant app files in the relevant folder in program files.
The path for these docs is in virtual store but I reference c:\program files\....... etc - works for pdf but not for docx??