JSON parsing for a 4D 2003 structure

2017-11-28 Thread David Garrard via 4D_Tech
Hi all, I tried to use Miyako's JSON plugin from github on a legacy 3D 2003 structure I have, but I got a -1 error on launch. Perhaps I have set it up incorrectly, or it is not compatible. Has anyone succeeded, and if so, any install "tricks" you can share. Alternatively, does anyone hav

Loading a variable into Web Area

2018-03-12 Thread David Garrard via 4D_Tech
I am trying to control the content displayed in a 4D Web Area on a form and I am forced to use external HTML documents to do this along with WA OPEN URL passing a file path. This works fine, but means I need to maintain 10's of thousands of external html files just to do this. It seems to me t

RE: Loading a variable into Web Area

2018-03-12 Thread David Garrard via 4D_Tech
for the temp folder to have more than a few dozen files and they are small. On Mon, Mar 12, 2018 at 3:51 PM, David Garrard via 4D_Tech < 4d_tech@lists.4d.com> wrote: > I am trying to control the content displayed in a 4D Web Area on a > form and I am forced to use external HTM

LAUNCH EXTERNAL PROCESS AND _4D_OPTION_STOP_TOKEN

2018-04-07 Thread David Garrard via 4D_Tech
I am trying to get code that was posted in 2012 by Peter Lerch here: http://4d.1045681.n5.nabble.com/Playing-nice-with-Launch-External-Process-td 5715184.html to function on Windows 10 running 4D v16.3. From what I can tell using the " _4D_OPTION_STOP_TOKEN" as parameter one of SET ENVI

UTF-8 and SEND HTML FILE with Tags

2018-07-26 Thread David Garrard via 4D_Tech
Hello, I am trying to get the correct output using SEND HTML FILE on a 4D Web Server when the content is Thai characters and it stored in 4D v16.3 correctly. 1) In Design… Database Settings… Compatibility, I have Unicode Mode on. 2) In Design… Database Settings… Web… Options (II), I have Send E

FW: UTF-8 and SEND HTML FILE with Tags

2018-07-31 Thread David Garrard via 4D_Tech
I have a 'good news' update on this. With a work-around I was able to get this working. It seems that there is a bug in placement of multiple instances of Thai language text - such as headers in a multi-cell table sent to a web browser by 4D Web Server using a single 4DHTML tag for the whole tabl

SEND PACKET in a multi-process environment

2018-10-10 Thread David Garrard via 4D_Tech
Hi all, I'm encountering some -43 errors when using SEND PACKET from multiple processes. Windows v16. I've been logging to a single log file in the past and use semaphores to ensure I would not attempt to write to the an open file when another process is also logging. This works as expect

LINE messaging integration

2017-05-02 Thread David Garrard via 4D_Tech
Hi all, I am wondering if anyone has done an integration with LINE messaging. https://developers.line.me/messaging-api/getting-started#apply_messagingapi https://devdocs.line.me/en/#getting-started There appears to be a requirement for HMAC-SHA256 algorithm support. Thanks in a

Running 4D v15 from a Windows server resource

2017-08-24 Thread David Garrard via 4D_Tech
In a departmental environment, a client wishes to place the 4D v15 standalone executable on a network server and allow users to launch from there in "Connect to mode" and connect to a 4D Server v15. Is this advisable? Would there be issues with the client distributed resources? Thanks,

CONVERT PICTURE v17

2019-03-09 Thread David Garrard via 4D_Tech
I have some legacy pictures fields with .PICT pictures in them in my Windows database that I am converting to v17 64 bit. Here is my code to convert the pictures to JPG format. ALL RECORDS([DOCC_Document]) For ($i;1;Records in selection([DOCC_Document])) GOTO SELECTED RECORD([DOCC_Document];$i) G

Win32API setup woes

2019-08-20 Thread David Garrard via 4D_Tech
Hello, I have 2 separate systems that came from the same code base that use WIN32API. Both are Windows and version 16.3 of 4D single user. Both have the WIN32API.4dx and WIN32API.rsr installed in the \Win4DX directory found in the same directory as the .4DB I do not have a Win32API.bun

RE: Win32API setup woes

2019-08-23 Thread David Garrard via 4D_Tech
Hello Keisuke and Timothy, I have isolated things to a simple new structure "TestDB.4db" that has one method that calls a couple Win32API commands. I downloaded the latest Win32API for Github and have placed it in the \Plugins directory next to this structure. There is no \Win4DX directory for

RE: Win32API setup woes

2019-08-24 Thread David Garrard via 4D_Tech
I am happy to report that with the help of the NUG, I was able to debug so that I now have this fixed. It was due to an error in the way I had the various directories laid out. Took me a while, but I was able to get everything aligned correctly with the insights from this group. Thank you D

RE: Paypal IPN Integration

2019-09-03 Thread David Garrard via 4D_Tech
Hi Sam, I have a full Paypal IPN implementation written in 4D code using 4D Internet Commands. If you wanted to go that route I would provide it to you "as is" 4D 2004. I don’t have much in the way of documentation but an experienced 4D developer could figure out what the On Web Connection st

RE: Paypal IPN Integration

2019-09-03 Thread David Garrard via 4D_Tech
e eternally grateful, willing to pay for it, whatever, as long as it works. Thanks, Sam > On Sep 3, 2019, at 6:28 PM, David Garrard via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Hi Sam, > > I have a full Paypal IPN implementation written in 4D code using 4D Interne

RE: 4D v6 client for windows

2020-04-22 Thread David Garrard via 4D_Tech
Hi John, I have a complete suite of 4D 6.0.6 apps including a 4D Client 6.0.6r8 >RE: Hi Can someone please help me with a 4D client for windows for 4D version 6. >Actually the server is V6.0.6 -- David Garrard Lend to entrepreneurs around the world - as little as $25 can make a difference: h

4D Forum preferences setup

2021-01-14 Thread David Garrard via 4D_Tech
RE: Can anyone add to what John advised regarding having the Discussions and Forum content come to me via e-mail. After logging into the 4D Forum, you can: 1) Click on your Profile icon in the upper right. 2) Click on the small "head and shoulders" icon just below it. 3) Click on "Preferences"