Re: Error Code reserved by 4D

2018-02-02 Thread Alan Chan via 4D_Tech
Thanks for the info. Alan Chan 4D iNug Technical <4d_tech@lists.4d.com> writes: >adding to Tim's comments: > >you can return an arbitrary error code from on backup startup / shutdown > >http://doc.4d.com/4Dv16R4/4D/16-R4/On-Backup-Startup-database-method.301-3316874.en.html

Re: USB Communication

2018-02-02 Thread Keisuke Miyako via 4D_Tech
Hello, my experience in this domain is limited, but as far as know: on Mac, you can use libusb to control the USB directly, as long as the device does NOT have driver installed. for example, I did this to receive images from SANE scanners (ScanSnap, which is neither ImageCapture or TWAIN)

Re: Error Code reserved by 4D

2018-02-02 Thread Alan Chan via 4D_Tech
Hi Tim, I meant under -15000 not 15000. 4D or OS reserved error code above -15000 if my memory serve me right. I'm not talking real system crash and just 2 error codes collide and cause confusion. We trap and also generate various error codes returning from triggers when it doesn't meet

Re: Value of Deselected Radio Button not updated when RBs are built via Object Duplicate

2018-02-02 Thread Keisuke Miyako via 4D_Tech
I don't think that's possible. grouping by variable name is a "compatibility" (I refrain from calling it deprecated) feature since v2004. in general, compatibility features can go way at any time after 3 major versions. indeed, form objects can have no variable names since v12, and that is now

Re: Fwd: v13 - Number of field/array pairs for selection to array

2018-02-02 Thread Chip Scheide via 4D_Tech
after some testing - it appears there is no (practical) limit. I created a 4000 pair Selection to Array using the magic * it appears to have executed correctly, populating the 4000th array On Fri, 2 Feb 2018 09:08:14 -0500, Mike Beatty via 4D_Tech wrote: > Chip- > > I know at one point the

Problem with PDF Creation into Temporary Folder

2018-02-02 Thread Stephen Shaw via 4D_Tech
HI In emailing out 4DWrite documents we create a PDF in the temporary folder defined by the ‘temporary folder’command. This has stopped working in Mac OS X 10.13.x. Has anyone else come across this and offer any explanation / solution for this. Many thanks Steve Shaw UK

RE: Error Code reserved by 4D

2018-02-02 Thread Timothy Penner via 4D_Tech
Alan, Are you thinking about plugin id numbers? ftp://ftp.4d.com/ACI_TECHNICAL_NOTES/2009/MacOS/TN_2009_01-04_(JAN)/09-02_4D_Plug-in_Dev_Guide_-_Part_1.pdf {" You should pick a number between 15000 and 32767."} How would retuning a similar error code cause a crash? How are you returning the

RE: Bug or feature?

2018-02-02 Thread Timothy Penner via 4D_Tech
Hi Kirk, Please try the updated code available here: http://kb.4d.com/assetid=77555 I updated the tech tip yesterday and it works in compiled mode now. -Tim ** 4D Internet Users Group (4D iNUG) FAQ:

Value of Deselected Radio Button not updated when RBs are built via Object Duplicate

2018-02-02 Thread Jonathan Marohn via 4D_Tech
We are building a dynamic dialog for all our reporting dialogs, We are using Object Duplicate on radio buttons. we are passing in a pointer to a radio button variable and are setting one of the RBs on load. The radio button we are copying has a unique name that does not conflict with any existing

Re: Re(2): "Goodbye 4D Write" email

2018-02-02 Thread Jeffrey Kain via 4D_Tech
I think 32-bit applications will live on a lot longer than 2 years on Windows. I haven't read anything that even hints that Microsoft is thinking about ending 32-bit application support. Heck, they still support 16-bit apps on 32-bit Windows. I would expect 32-bit versions of Windows

Re(2): "Goodbye 4D Write" email

2018-02-02 Thread Tim Nevels via 4D_Tech
On Feb 2, 2018, at 10:09 AM, Don Lapin wrote: > Please let us know what you find out, Tim. From here it's looking like there > was never any intention of creating anything but a fig leaf. Hi Don, I definitely will. I’m sure the end result of 4D Write Pro will be a big improvement over the

Re: "Goodbye 4D Write" email

2018-02-02 Thread Jeffrey Kain via 4D_Tech
Especially with 4D supporting the Blink engine on both platforms. I haven't yet tried doing any web integrations with a version of 4D that uses Blink, but I'm really hopeful that it makes things a lot smoother. -- Jeffrey Kain jeffrey.k...@gmail.com On Feb 2, 2018, at 11:06 AM, Benedict, Tom

RE: Re: "Goodbye 4D Write" email

2018-02-02 Thread Benedict, Tom via 4D_Tech
Whoops. Sent too soon.. I meant to add that if you are going to go to the trouble of writing a bunch of code to make 4D Write Pro work as you need, it might be a smaller effort to write the code needed to integrate one of the Javascript word processor libraries to your app. Tom From:

Re: "Goodbye 4D Write" email

2018-02-02 Thread Benedict, Tom via 4D_Tech
There are plenty of Javascript text editor libraries available. This e-mail, including attachments, may include confidential and/or proprietary information, and may be used only by the person or entity to which it is addressed. If the reader of this e-mail is not the intended recipient or his or

Fwd: v13 - Number of field/array pairs for selection to array

2018-02-02 Thread Mike Beatty via 4D_Tech
Chip- I know at one point the limit was 64, not sure when/if it became 256. I demonstrated this to Thibeaux (sp?) many years ago at a Summit and he was surprised ;-). Regardless, to get around that, I recoded to use SQL commands, which allows you to dynamically run table-to-table. Here's the

Re: Re(2): "Goodbye 4D Write" email

2018-02-02 Thread Jeffrey Kain via 4D_Tech
On the other hand, the majority who don't need to integrate word processing are probably thinking "why the heck are they spending so much time and resources trying to reinvent word processing when they could be working on "? I can see both points of view, but for 4D Write I do think 4D has

Re(2): "Goodbye 4D Write" email

2018-02-02 Thread Don Lapin via 4D_Tech
Please let us know what you find out, Tim. From here it's looking like there was never any intention of creating anything but a fig leaf. Thanks, Don >The big question now is, what is still on that list of things the 4D >Write Plugin can do that 4D Write Pro still cannot do? If there is a

Re: "Goodbye 4D Write" email

2018-02-02 Thread Paul Lovejoy via 4D_Tech
We’ve been using 4D Write quite extensively for years. We have over 200 user licences on two big databases. We mostly use it now to generate html emails. We haven’t undertaken the move to downgrade to the “pro” version, which we are not looking forward to at all. 4D has been gutting

Re: Bug or feature?

2018-02-02 Thread Arnaud de Montard via 4D_Tech
> Le 2 févr. 2018 à 03:15, Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com> a > écrit : > > ​I use a case statement like: > > Case of > > :(length($str)<2) ` a valid string could be 2 chars: {} or [] > > :($str[[1]]="{") > > json parse > > ​:($str[[1]]="[") > > json parse array... > > End

Error Code reserved by 4D

2018-02-02 Thread Alan Chan via 4D_Tech
I thought error codes under -15000 were not reserved by 4D. Now it produces error -20002 that might crash with user generated error for business rules control. Could anyone tell if 4D changes error code range reserved by 4D? TIA. Alan Chan 4D iNug Technical <4d_tech@lists.4d.com> writes: >I

Re: Where is the client's preferences file

2018-02-02 Thread B.Bippus via 4D_Tech
on a Mac: '/Users/USERNAME/Library/Application Support/4D/Favorites v16/Remote/' Cheers Bernd 2018-02-01 22:18 GMT+01:00 John Baughman via 4D_Tech <4d_tech@lists.4d.com>: > My brain is not working this morning. Can’t remember where the > preferences for a v16 client server client is located.