Discussions tagged File

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...
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 messagebox("wi...
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! Ive learned that the issue is intermittent and it appears that it has something to do wit...
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. Im playing with code to figure that out.   ISSUE: I have many...
Hi All, Im 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.  Im assuming I will need to install both PBCLTRT170.msi and pbruntime.msi...
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 doesnt work because of a structure size error. Can you point me to some code (or someone) tha...
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...

Find Questions by Tag

.EXE .NET 6.0 .NET Assembly .NET Core 3.1 .NET Core Framework .NET DataStore .NET Std Framework 32-bit 64-bit ADO.NET AEM AI Algorithm Amazon AWS Android Apache API APK App Store App Store (Apple) Appeon Workspace Appeon Xcelerator Plug-in Architecture Array ASE Asynchronous Methods Authentication AutoBuild AutoCompiler Automated Testing Automation AutoScript Azure Barcode Base64 Batch BigData BLOB Branch & Merge Browser Bug Build Button C# C# Class Importer C# Editor C# Model generator Calendar Camera Certificate Chrome Citrix Class Client Client/Server Cloud Cluster Collection COM Command Line Compiler Compression Computed Field Configuration Controls Cookies Cordova Crash Cross-Platform Crosstab CSharpAssembly CSharpObject CSS CSV Cursor Data Database Database Driver Database Painter Database Profile Database Provider DataObject DataSource DataStore DataStore (C#) DataStore (PS) DataType DataWindow DATE DATETIME DB2 Debug Debugger Debugging Deployment Design DLL DO-WHILE Dockable Docker Documentation DOUBLE Download DragDrop Edge Edit Style Editor Elevate Conference Email Embedded SQL Emulator Encoding Encryption Enhancement Request Entity Entity Framework ERP Error Event Event Handler Event Handling Excel Exception Export Expression External Functions F# Field File File Access Filter Firefox Firewall Font FOR-NEXT Foreground Format Function Garbage Collection GeoLocation Git Graph HANA Hash Header HTML/5 HTTP/S HTTPClient Icon IDE Identity IIS IMAPI Import InfoMaker Inheritance Installation Integer IntelliSense Interface Internet Internet Explorer iOS IPA iPad iPhone IWA J# Java JavaScript JBoss JDBC JOIN JSON JSONGenerator JSONParser Kestrel Label Lambda Large File LDAP Library License LINQ Linux OS Load Balancing Localization Localized PBVM Log In Log Out Logging LONG LONGLONG macOS MAPI Maps MDI Memory Memory Leak Menu Merge MessageBox Messagging Method Migration MIME TYPE Mobile Model ModelStore ModelStore (C#) MSOLEDBSQL Multi Threading MVC MySQL n-Tier Namespace NativePDF NVO OAuth ODATA ODBC Office Offline OLE OLEDB Online Open Source OpenAPI OpenSSL Oracle OrcaScript Other Outlook Output Package Parameter Patch PayPal PB Classic PB Native PB.NET PBC PBD PBDOM PBG PBJVM PBL PBNI PBORCA PBVM PBX PDF Performance Permission PFC Picture Pipeline Play Store (Google) Plugin Popup Port POST PostgreSQL PowerBuilder PowerBuilder (Appeon) PowerBuilder (SAP) PowerBuilder Compiler PowerBuilder Runtime PowerClient PowerScript (PS) PowerScript IDE PowerScript Migrator PowerServer PowerServer Mobile PowerServer Toolkit PowerServer Web PowerServerLabel Print Properties Proxy Publish PULL PUSH Query Regression Release Renew Resize Response REST Retrieve RibbonBar RibbonBar Builder Rich Text Roadmap RPC Runtime Packager SaaS Scaffolding Script SDI SDK Security Server Service Session Single Sign-on Size SMTP SMTPClient SnapDevelop SOAP Sort Source Code Speech Recognition SQL SQL Anywhere SQL Server SqlBuilder SqlExecutor SQLite SqlModelMapper Storage Stored Procedure Subscription SVN Swagger Syntax TabbedBar TabbedView Tablet TabPage Target TE Control Testing Text TFS Theme TIME Timer TLS/SSL Tomcat TortoiseGit TortoiseSVN Transaction Transparency Trial Trigger TRY-CATCH TX Control Type UI ULONG UltraLite Uninstall Unit Test Unit Testing UNIX OS Update Upgrade Upload URL User Center User Object UWP Validation VARCHAR Variable Versioning Visual Studio Visual Studio Code VM Voice Warning WCF Web API Web Extensions Web Service WebBrowser WebForms WebLogic WebSphere WildFly WinAPI Window Windows OS WinForms Wizard Workgroup Workspace WPF XCODE XHTML XML Zoom