Hey All,
I have been charged with creating a program that will be used with a command line to launch a "Document" out of our online library system. Now this document could be any extension I.e.: doc, xls, txt, htm, ect. I have found that using ShellExecute takes care of a majority of the file types however I have hit a snag when it comes to excel. When ever I launch and xls it get the error that says "<File Name>.xls could not be found. Check the spelling of the file name, and verify that the file location is correct"...blah, blah, blah. I am not sure why this happening. I have tried using the short path function API to give the true dos path but I get the same results.
Has anyone else had this problem? And if so what did you do to resolve it? I would rather not hard code around this, although that may be my only option
thanks in advance,
Scoty :
I have been charged with creating a program that will be used with a command line to launch a "Document" out of our online library system. Now this document could be any extension I.e.: doc, xls, txt, htm, ect. I have found that using ShellExecute takes care of a majority of the file types however I have hit a snag when it comes to excel. When ever I launch and xls it get the error that says "<File Name>.xls could not be found. Check the spelling of the file name, and verify that the file location is correct"...blah, blah, blah. I am not sure why this happening. I have tried using the short path function API to give the true dos path but I get the same results.
Has anyone else had this problem? And if so what did you do to resolve it? I would rather not hard code around this, although that may be my only option
thanks in advance,
Scoty :