So this application is going to be an .EXE file and used in other office computers. One problem though. If i would open a file, that specific computer would have another path so my code wouldn't work. Is there a way to specify only the folder? I mean like for instance C:/ApplicationFolder/Hejj.pdf
.
I hope you understand my question.
private void Button_Click_8(object sender, RoutedEventArgs e)
{
Process.Start(@"C:\Users\Danie\Desktop\Hejj.pdf");
}