solook
25th July 2013, 02:34
hi
in Adobe Reade we can open pdf files and go to page 100 with command prompt with this code :
<path to Adobe Reader> /A "page=100" "<Path To PDF file>"
but wen i use QProcess dont work..
QString adobeReade ="C://Program Files//Adobe//Reader 9.0//Reader//AcroRd32.exe";
QString fileName = "C://Users//yy//Desktop//About.pdf";
QStringList arguments;
arguments <<"//a page=10 "+fileName;
QProcess myProcess ;
myProcess.start(adobeReade,arguments,QIODevice::Re adOnly);
in Adobe Reade we can open pdf files and go to page 100 with command prompt with this code :
<path to Adobe Reader> /A "page=100" "<Path To PDF file>"
but wen i use QProcess dont work..
QString adobeReade ="C://Program Files//Adobe//Reader 9.0//Reader//AcroRd32.exe";
QString fileName = "C://Users//yy//Desktop//About.pdf";
QStringList arguments;
arguments <<"//a page=10 "+fileName;
QProcess myProcess ;
myProcess.start(adobeReade,arguments,QIODevice::Re adOnly);