Hi

Currently, I'm hard coding the program folder path so I can use it for my database connection string and some other functions. The problem I'm facing is this, when I'm deploying the program for debugging, it deploy to \Program Files\<project name>\. However, if I deploy into a SmartDeviceCab project and I install it on the device, it goes to \Program Files\<cab project name>\

Question: Is there a way I can make my folder path dynamic in the sense it changes rather than hard coding it? Thanks.