I have a problem in my project in C# visual studio 2008, I added a textfile in my project,on button click it opens,After deployement (installation)it works fine in window xp but give error in vista,it do not find the path specified.
Folling is the code:
private void pictureBox9_Click(object sender, EventArgs e)
{
System.Diagnostics.Process.Start(@"F:\\DotNet\\Project\\Web\\Web\\Web\\book\\work.txt");
}
(work.txt file kept in folder "book" in project)