Ummmmmmmm, the reason i went down the path of a txt file was that i knew how to do that!! If you are using an installation tool such as InstallShield then you can use that to add the database path to the registry upon installation. Then you could just read from the registry when your program...
Please can someone suggest a workaround for the following scenario...
I used MSFlexGrid activex control imported into C++ Builder 5 for some time, then upgraded to C++ Builder 6. Now when i try to change the rowheight (MSFlexGrid1->RowHeight[1] = 500;) is says TMSFlexGrid::RowHeight is not...
I've had that problem before. There are two solutions i thought of 1) read the database path from the registry 2) create a simple .txt file with the path and read from that in your app. I use the 2nd solution.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.