i wanted to know how to copy data from a external file and then display it in a textbox in photon

appreciate the response

You didn’t say what causes the copy. Startup? A button press? In any case, create a project with PhAB. When you figure out where the copy code goes, for reading in the file, use fopen and fread and for putting it into the textbox, use PtSetResource or PtSetResources.