Path for Pdf file in Solution Explorer
-
Hi, I am trying to open pdf file which is in Solution explorer i am giving this path in code but still file isn't accessible string pathtoPdfFile = "\\File\\Computershortcuts.pdf"; System.Diagnostics.Process.Start(pathtoPdfFile); File is a Folder name in solution explorer and Computershortcuts.pdf is a file. Kindly tell me what is correct path. Thnxx
-
Hi, I am trying to open pdf file which is in Solution explorer i am giving this path in code but still file isn't accessible string pathtoPdfFile = "\\File\\Computershortcuts.pdf"; System.Diagnostics.Process.Start(pathtoPdfFile); File is a Folder name in solution explorer and Computershortcuts.pdf is a file. Kindly tell me what is correct path. Thnxx
The only place for a double slash is the start of a network path, not the middle.
Christian Graus Driven to the arms of OSX by Vista. "I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
-
The only place for a double slash is the start of a network path, not the middle.
Christian Graus Driven to the arms of OSX by Vista. "I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
Ok thanx