Trouble using CALL SHELL()
I found and pasted the code called "Alternative to VB's Shell Function" into my application from this site. The SHELL command will not open a PDF file! Is Adobe doing something strange to their files that will not allow them to open? I am getting the path and file name from the Common Dialog Control. The weird thing is, I can right click the file in the CDC and choose "open with Acrobat..." and the file opens. If I left click the file and choose OPEN, I get nothing. If I pass the PATH to your SHELL command, I get nothing. If I pass "...system32\calc.exe" to your SHELL command I get the Windows Calculator, no problem. Any ideas?