Discussions tagged File

We are working to move from a traditional client / server deployment to PowerClient 2022 Build 1892. We build and deploy a PowerClient application daily as a scheduled event.  Most days the result is fine. Twice this week, when we go to open the Powe...
Hi, I am trying to load up a text file which contains special characters    an example of the line i am loading is  54743 ALG00006 Chemloul & Associés when i load it using the code  integer li_FileNumstring ls_textboolean lb_stop messagebo...
Hello how are you ?I'm facing difficulties to delete files with PDF extension generated in a temporary folder on my machine.These files are generated using the Datawindow/DataStore SaveAs function.I generate these files and put them in a vector to be...
Hello, Dev environment: PB2019 R3, v2670. I am having issues with zipping and unzipping files with both the compressor and extractor objects. The code runs successfully on my dev machine, but when I deploy to our test box, the unzipped files are no...
Need: To implement a method in a Powerbuilder web service to save a file in a network directory receiving the file (blob) and the full path as parameters. IssuesScenario 1: Method implemented with Powerbuilder file functions.Problem: It works when u...
Hi.   One of our customers is getting some statistical data from PowerBI, and it's stored in CSV file in an Azure File Storage account. I can open the URL in Azure Storage Explorer and download the file without any problem, but of course we need t...
Hi All I am trying to save a pdf file in database and then fetching pdf data from database to create pdf file from it. BUT the created pdf file is not being opened showing message that it damaged or corrupt. Here are the implementation details Powe...
Hello, I am using PB 2017 R3 Build 1880. The FileDelete function is working fine in my machine whenever my application run on other machine then it is not getting deleted. I assume this function is returning (FALSE or NULL). That might the file ac...
Hi  I need to access some text files from my application ( Pb2018r3 )  How do i display the information on the file for example the file date time and size ? thanks in advance   Andrew    ...
PB v12.1, build 7055 Windows 7, 64 bit platform Oracle 12C UPDATE - 23-MAY-2018 Kim, Chris, and John - thank you for your suggestion and your time! I've learned that the issue is intermittent and it appears that it has something to d...
Hi, When I consume a Web Service with a PB client, response comes in XML-format and is stored in a variable created by Web Service Proxy Wizard. I can then process the contents of that variable in code but is there any way I could save the content...
++ PB 2017 R2 Hello all,   I am writing a script to take in a PSR file, then Save As PDF. It seems the conversion to PDF does not automatically determine portrait/landscape. I'm playing with code to figure that out.   ISSUE: I have...
Hi All, I'm about to deploy our applications after migrating to Powerbuilder 2017.  I will be deploying a PB Classic Win 32 application and also a Powerbuilder .Net Assembly.  I'm assuming I will need to install both PBCLTRT170.msi and pbr...
Hi , Can I use external .js files in pb ?   Regards   Devesh     ...
My PowerBuilder app is using Appeon 2017 R2 Build 1756 with PFC. The pfc_n_cst_filesrvwin32 object has a function of_dirlist() which lists all the files in a directory. It uses the Win API calls FindFirstFileA() and FindNextFileA(). The first a...
With my PB 12.5 app, I had coded a call to the Windows API GetOpenFileName function that worked perfectly. When I compile that same app in PB 2017 64Bit, it doesn't work because of a structure size error. Can you point me to some code (or someone...
PB Help says to use FileLength after FileClose to avoid sharing violation. Can someone explain that or anyone having experience with it? Started to get errors on file read using PFC on a new 2016 server, so it might be some encoding issue, but was...
Will there ever be a download of runtime files available for English?  I see a zip for other languages but not English.   ...
This function is found in the pfcapsrv.pbl.pfc_n_cst_filesrvwin32 ​My code: date dt_test time tm_test pfc_n_cst_filesrvwin32 lnv_file if NOT IsValid(lnv_file) then    lnv_file = CREATE pfc_n_cst_filesrvwin32 end if li_rc =  lnv_file...
hello, every time I finish editing/adding or even deleting an application profile by pressing OK button, it keeps coming back with same results, it does not delete or adds any new profile at all. When I open it back it shows the same entries all t...
  • Page :
  • 1