C# does anybody know how to make a shortcut declared path of a file.
picturebox.imagelocation = @"C:\ApplicationFolder\picture.jpg";
now what if the user will install the application in a different drive it will cause an error
so does anyone knows how to make a short path and ignoring the drives in making the path declaration
You should use relative paths strating from your application’s folder. should you then need the absolut path you can still use the Path.GetFullPath Method