How to give path to MySQL file from Visual Basic c++ code instead of text file?

I have a code which runs an ERP System, but it is reading data from the text files. I want to change the path to database tables in Mysql. Kindly give an idea of doing it. Please find photo attachment.

photoid=47063