I created a setup project with installshield to install my program on other computers. I have to save an image to use later. But the image is not being saved on the directory that i created. Here is the line:
image.Save(Application.StartupPath + "\\data\\config\\Choosen.bmp");
(Application.StartupPath = C:\Program Files (x86)\PT\My Product Name). After this line an image has to be in the directory but there is nothing.
and the directory C:\Program Files (x86)\PT\My Product Name\data\config exists. The code work when i execute it from the solution project, but when i install it to another computer it doesn't work. I am sure somebody knows the answer :)