Home > Software engineering >  O great god explain to open the PDF
O great god explain to open the PDF

Time:10-02

I have two computers is a is a win732 win764
But 32 with the following statement can open the PDF 64 not

CreateObject (" Wscript. Shell "). The Run (" C: \ Users \ \ Administrator \ Desktop \ 2014.1.6 PDF ")

CodePudding user response:

Path, authority, whether the target computer installed PDF reader, and reader and. PDF extension associations,

Foxit reader, for example, the program must run once to relevance

CodePudding user response:

A 32-bit system and a 64 - bit system, desktop path is not the same

CodePudding user response:

I have solved..
In another BBS, a great god I solved the problem of the
X="C: \ Users \ \ Administrator \ Desktop \ 2014.1.6 PDF"
CreateObject (" Wscript. Shell "). The Run (x)
CreateObject (" Wscript. Shell "). The Run (+ x + "" "" "" "")

CodePudding user response:

reference cqp070052295 reply: 3/f
I have solved.
In another BBS, a great god I solved the problem of the
X="C: \ Users \ \ Administrator \ Desktop \ 2014.1.6 PDF"
CreateObject (" Wscript. Shell "). The Run (x)
CreateObject (" Wscript. Shell "). The Run (+ x + "" "" "" "")
explain the principle of god?

CodePudding user response:

Seems to add a quote

CodePudding user response:

Thank you, I am also looking for the answer to the question, solves the

CodePudding user response:

Met so is solved

CodePudding user response:

You said this appears to be a long path name, etc., to add double quotation marks, but don't know why # 3 to Run two times, may be hand by mistake?
  •  Tags:  
  • VBA
  • Related