Run Application Can't find File

  • Thread starter Thread starter Dorothy
  • Start date Start date
D

Dorothy

I've been trying to include a cmd button that runs Crystal
Reports and opens up a report in Crystal. Here is my path
crw32.exe M:\NewStructure\Grants\Database\AppLtrCrystal.rpt
When I run it I get File not found. I believe this has
something to do with the location of the file - it is in a
folder on a shared drive and not directly off my C drive.
I say this because I've tried putting a file in a folder
off the C drive, but still it says Not found. If I put it
directly off the C drive - not in a folder it is ok. Any
suggestions.
 
Dorothy said:
I've been trying to include a cmd button that runs Crystal
Reports and opens up a report in Crystal. Here is my path
crw32.exe M:\NewStructure\Grants\Database\AppLtrCrystal.rpt
When I run it I get File not found. I believe this has
something to do with the location of the file - it is in a
folder on a shared drive and not directly off my C drive.
I say this because I've tried putting a file in a folder
off the C drive, but still it says Not found. If I put it
directly off the C drive - not in a folder it is ok. Any
suggestions.

How about including the path to crw32.exe in the path string; for
example,

//ServerName/FolderPath/crw32.exe
M:\NewStructure\Grants\Database\AppLtrCrystal.rpt
 
-----Original Message-----


How about including the path to crw32.exe in the path string; for
example,

//ServerName/FolderPath/crw32.exe
M:\NewStructure\Grants\Database\AppLtrCrystal.rpt

--
Dirk Goldgar, MS Access MVP
www.datagnostics.com

(please reply to the newsgroup)


.
Still getting File Not Found. Here is my path do you see
anything wrong?
stAppName = "Server on 'nsse01'/crw32.exe
M:\NewStructure\Grants\Database\AppLtrCrystal.rpt"
 
Dorothy said:
anything wrong?
stAppName = "Server on 'nsse01'/crw32.exe
M:\NewStructure\Grants\Database\AppLtrCrystal.rpt"

Hmm. That server path looks fishy to me. Is "nsse01" the name of the
server? You might need

stAppName = "\\nsse01\Server on nsse01\crw32.exe
M:\NewStructure\Grants\Database\AppLtrCrystal.rpt"

or something like that.
 
Back
Top