Discussions tagged File
This is regarding Powerbuilder Server Upgrade. Recently we have upgrade one of our application named Harold from Server 2012 to 2021. This application is accessed via citrix icon.
We can see our application in working fine, but in one of the functio...
check external file timestamp
- Resolved
- How-to
- Last updated 7 months ago
- Miguel Leeuwe replied 7 months ago
Morning all
using pb2023 windows 10
I need to check whether the timestamp or modified date is newer or older than another file for example these two files
c:\myfiles\data1.txt
\\server\myfiles\data1..txt
How would i do this within powerbu...
PowerClient app launch failure - incorrect file format
- How-to
- Last updated 1 year ago
- Mora Wang @Appeon replied 1 year ago
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...
FileDelete function does not delete file in PB19 R2 and R3
- How-to
- Last updated 2 years ago
- Miguel Leeuwe replied 1 month ago
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...
File Issue with Compressor and Extractor Objects
- Resolved
- Issue
- Last updated 3 years ago
- Miguel Leeuwe replied 3 years ago
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...
Saving PDF File in Database(Informix) and generating pdf file from Database Value
- Resolved
- How-to
- Last updated 5 years ago
- Faisal Hayat replied 5 years ago
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...
Unable to delete file through FileDelete function.
- How-to
- Last updated 5 years ago
- Roland Smith replied 5 years ago
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
...
ON HOLD: FileWrite now creating a space between each character!
- Resolved
- Issue
- Last updated 6 years ago
- Salvador Rodriguez replied 1 year ago
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...
Saving WebService response into a XML-file
- Issue
- Last updated 6 years ago
- Marco Meoni replied 6 years ago
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...
Can you use .js files in powerbuilder
- Issue
- Last updated 6 years ago
- Marco Meoni replied 6 years ago
Hi ,
Can I use external .js files in pb ?
Regards
Devesh
...
Using FindFirstFileA against a 64bit server directory
- Issue
- Last updated 6 years ago
- Roland Smith replied 6 years ago
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...
GetOpenFileName/GetSaveFileName Windows Common Dialogs
- Issue
- Last updated 6 years ago
- Chris Pollach @Appeon replied 6 years ago
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.
...
- Page :
- 1