linking pdf document

  • Thread starter Thread starter friend
  • Start date Start date
F

friend

Hello all,

I am trying to link to a pdf document as follow:

System.Diagnostics.Process.Start("C:\Program Files\xxx\test.pdf)

but when i installed my .msi file on other system the link doesnt work
if it is not a english operating system.

how to resolve this...thanks for any suggestion
 
Hello all,

I am trying to link to a pdf document as follow:

System.Diagnostics.Process.Start("C:\Program Files\xxx\test.pdf)

but when i installed my .msi file on other system the link doesnt work
if it is not a english operating system.

how to resolve this...thanks for any suggestion

got it........ thanks
 
friend said:
got it........ thanks

I hope the solution involved something along the lines of:

dim f as string
f = Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles)
dim fn as string
fn = Path.Combine(f, "xxx\test.pdf")
Process.Start(fn);

Mike
 
I hope the solution involved something along the lines of:

dim f as string
f = Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles)
dim fn as string
fn = Path.Combine(f, "xxx\test.pdf")
Process.Start(fn);

Mike

yes...you are right....thanks anyway
 
Back
Top