I have a network folder (not local) that contains a bunch of pdfs.
I would like to be able to open a pdf from that folder in Adobe (Assume the user has adobe installed)
I’ve used both my docName variable and hardcoded the entire file path, and neither one works.
I’ve used all combinations of /, //, , \ as folder separators that I can think of as well
I’ve tried
- Application.OpenURL("file:\path" + docName); - This one does nothing
- Process.Start("file:\path" + docName); - This one at least tells me “cannot find the file specified”
The total size of the folder is around 5 gigs, so I don’t want to put them in a resources folder inside the project.
There are spaces in the network path, and I’ve heard that can affect it, but I have no control over the naming convention for the drive.
Surely there is a way to do this?