Dear Sir,
Thanks For Reply and Suggetions. But Now i am Changing My Code My New Code
Is
Process.Start(Application.StartupPath & "\Help.pdf")
But still it's not working.
--
View this message in context:
http://mono.1490590.n4.nabble.com/how-to-open-file-tp3081832p3083056.html
Sent from the M
Hi,
Is there even a C drive on Mac in the first place?
And can't you use a relative path, rather than an absolute one?
Also, use Path.DirectorySeparatorChar, rather than hard-coding Windows
separators (ie: avoid "foo\\bar" or @"foo\bar"). Do it like this:
string myPath = "myFolder" + Path.Direct
MacOSX, as Linux, doesn't have drive letters ("C:"), also
Process.Start depends on having a registered (mapped) program when
trying to open a data file like a .pdf
Rafael "Monoman" Teixeira
---
"We live in a world operated by science and technology. We have also
Hello Everybody,
I have generate the problem while open File in MAC. it works successfully in
windows.
System.Diagnostics.Process.Start("C:\\help.pdf" );
--
View this message in context:
http://mono.1490590.n4.nabble.com/how-to-open-file-tp3081832p3081832.html
Sent from the Mono - WinForms mai