- Jonatan Lozano
- PowerBuilder
- Thursday, 17 October 2024 10:26 AM UTC
Good morning,
I have an application developed in PowerBuilder 9.0. that executes GetFileOpenName() function with which the user select a file. After, I create an XML file that contain the path selected. Then, I run a file .exe passing as a parameter this XML.
If I generate the XML inserting the path, manually, like string
string a = "C:\....\file.pdf"
string XML = "<PATH> a </PATH>"
it works fine.
But, if I use the function GetFileOpenName("Select File", docpath, docname) and assign string a = docpath, it doesn't work.
Apparently the string stores the correct path.
I think GetFileOpenName function is not compatible with the exe.
Can you help me? Do you know any solution about this problem?
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.