Re: v13 - Custom Constants & 4D Pop [solved!]

2018-04-11 Thread Chip Scheide via 4D_Tech
here is the needed xml to assign carriage return, line feed, and CrLF to Konstants in an xliff file (spacing adjusted to be more readable in plain text) Lf Cr CrLf On Wed, 11 Apr 2018 15:59:26 -0400, Chip Scheide via 4D_Tech wrote: > I have been looking at a constants f

Re: v13 - Custom Constants & 4D Pop

2018-04-11 Thread Chip Scheide via 4D_Tech
I have been looking at a constants file, and I can see that "special" characters use a distinct notation: " = for example Are there equivalents for: Carriage return Line feed and tab? On Wed, 11 Apr 2018 13:19:43 -0400, Chip Scheide via 4D_Tech wrote: > a couple of ques

RE: v13+ LEP - What is sent to OS

2018-04-11 Thread Chip Scheide via 4D_Tech
I think the problem is in escaping the file path. I'm trying to get xCopy to work. I have tried a variety of variations, none of which want to work. That is why I would like to see what it is that LEP is handing off to the OS On Wed, 11 Apr 2018 19:31:34 +, Timothy Penner wrote: > Hi Chip,

RE: v13+ LEP - What is sent to OS

2018-04-11 Thread Chip Scheide via 4D_Tech
Thanks Tim, (windows) I have done the set text to pasteboard thing, and I have pasted into a .bet file -- it works. I have typed - exactly - what I have for a command being fed to LEP and it works run it through LEP and nothing... That is why I want to see what LEP is feeding to the OS On

v13 - Custom Constants & 4D Pop

2018-04-11 Thread Chip Scheide via 4D_Tech
a couple of questions: 1 - where does 4D pop put the cliff file for custom constants? (Mac) 2 - can I move this file around (i.e. to other database/systems)? 3 - Is there a way to get 4D pop to create a character (string) constant for Carriage Return, Line Feed, and CrLF by this I mean - not - the

v13+ LEP - What is sent to OS

2018-04-11 Thread Chip Scheide via 4D_Tech
Is there a way to see exactly what is being sent to the (in this case) CMD, or Terminal? Thanks Chip --- Gas is for washing parts Alcohol is for drinkin' Nitromethane is for racing ** 4D Internet Users Group (4D

Re: 4D Summit 2018 Comments

2018-04-09 Thread Chip Scheide via 4D_Tech
> > 1. Use a Web Based front end. It is really amazing to me how well > even a web site not designed for iOS works on an iPhone or iPad. If > designed to fit in iOS even better. I will be giving a 4DMethod > (https://4dmethod.com) presentation on the 25th of this month on > using Xojo

Re: 4D Summit 2018 Comments

2018-04-09 Thread Chip Scheide via 4D_Tech
I, and I know many others have been asking for something for mobile for a long time. 4D mobile was an attempt, Wakanda was too -but neither really met the need, or ease of what 4D for iOS appears to be >> Thanks for taking the time to give us this detailed hint at what's coming. >> This is

Re: Zip file with password...?

2018-04-09 Thread Chip Scheide via 4D_Tech
looks like my previous post was incorrect. There is a --password option where you can specify the password to be used On Mon, 9 Apr 2018 16:32:29 -0500, Robert ListMail via 4D_Tech wrote: > I have a v13-based Mac application that’s been happily zipping files > for an email attachment for

Re: Zip file with password...?

2018-04-09 Thread Chip Scheide via 4D_Tech
I would suggest trying ($in is supposed to be parameters.. --encrypt requires a password (entered at terminal) play around, the separating character may not be a space, but rather a line feed, or return or it may not work at all since --encrypt wants a password to be entered and confirmed $In:=

Re: How can I get a windows Users list

2018-04-08 Thread Chip Scheide via 4D_Tech
I have not used this particular command try: LEP("cmd.exe Net user";$LEP_Input;$LEP_Output;$LEP_Error) this should put the text from the command line into the variable $LEP_Output > I want to run the command line command Net User on Windows Server > 2008 to get a list the local users. >

Re: v13 - Win 7 and LEP [solution/summary]

2018-04-07 Thread Chip Scheide via 4D_Tech
After talking with Keisuke at the summit it was found that: the code I was using was NOT correctly escaping the file or folder path. this was due to a failed copy/paste of some of Keisuke's code (LEP_Escape from one of his demos). Replacing the broken code with the correct code resolved the

Re: DENIAL OF SERVICE ALERT―The Mcafee Problem

2018-04-07 Thread Chip Scheide via 4D_Tech
put an empty password on the zip file > DENIAL OF SERVICE ALERT―The Mcafee Problem > This Mac-based v13 database sends zipped Excel and PDF reports via > email… yesterday, the Excel reports (1.3 MB Zipped) started to fail. > The email is sent to the Windows user as expected but the attachment

v13 - Win 7 and LEP

2018-03-28 Thread Chip Scheide via 4D_Tech
I have code which creates an LEP command (see below) In 4D: - If I copy the command (set text to pasteboard) and put the command into a .bat file, and execute the bat file from the command line the command it works, and the file is copied. - If I manually type the command into the command (cmd)

Re: Room available at the Grand Hyatt Washington

2018-03-28 Thread Chip Scheide via 4D_Tech
sorry your not going to make it, but if you leave now, you can probably find a fast cargo ship :) Chip On Wed, 28 Mar 2018 19:01:08 +0100, Pat Bensky via 4D_Tech wrote: > Unfortunately I am not going to be able to get to the Summit due to an > unexpected illness ): Actually I'm not really all

Re: v13 - getting Volume reference from a path inside a VM

2018-03-27 Thread Chip Scheide via 4D_Tech
re Mac > > Open the "Advanced Settings" disclosure triangle. Check the checkbox for > "Assign a drive letter to shared folders". > > > > -- > Douglas von Roeder > 949-336-2902 > > On Tue, Mar 27, 2018 at 1:41 PM, Chip Scheide via 4D_Tech < &

v13 - getting Volume reference from a path inside a VM

2018-03-27 Thread Chip Scheide via 4D_Tech
I am running windows 7 ultimate 64 in a VM (Parellels) I am trying to get volume information from a path. The path I get looks like this: \\Mac\Home\ I can extract the word 'Mac' from the path - but when using the command VOLUME ATTRIBUTES 'Mac' is not recognized as a volume. if I look in

RE: v17 - anyone know what OS is required (on a Mac)

2018-03-27 Thread Chip Scheide via 4D_Tech
erform any conversions. > > Best Regards, > -Tai B. > > > > > > -Original Message- > From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Chip > Scheide via 4D_Tech > Sent: Tuesday, March 27, 2018 8:59 AM > To: 4D iNug Technical >

v17 - anyone know what OS is required (on a Mac)

2018-03-27 Thread Chip Scheide via 4D_Tech
Im setting up a laptop for the summit. need to know which OS is minimally required. Thanks Chip --- Gas is for washing parts Alcohol is for drinkin' Nitromethane is for racing ** 4D Internet Users Group (4D iNUG)

v13 -Automatically repaired method

2018-03-26 Thread Chip Scheide via 4D_Tech
Any way to recover the code? There is no backup, as the code was written today. Thanks Chip --- Gas is for washing parts Alcohol is for drinkin' Nitromethane is for racing ** 4D Internet Users Group (4D iNUG) FAQ:

Re: 4D Summit

2018-03-23 Thread Chip Scheide via 4D_Tech
Pictures or it did not happen :) On Fri, 23 Mar 2018 09:39:49 +0100, Arnaud de Montard via 4D_Tech wrote: > the second information is Wayne is able to resist to wind and cold > weather on first floor of Effeil tower in Bermuda shorts and floral > shirt --- Gas is for washing parts

Re: Document Reference to Path

2018-03-22 Thread Chip Scheide via 4D_Tech
y ($paths_atxt;Document) > > $Doc_Ref1:=Open Document(“") > > append to array ($paths_atxt;Document) > > You can of course use variables but usiong an array allows for unlimited > paths > > > Regards > > > Chuck > > > On Thu, Mar 2

Document Reference to Path

2018-03-22 Thread Chip Scheide via 4D_Tech
Anyone have an idea on how to get a file path starting with a document reference? ex: $Doc_Ref:=Open Document("") $Doc_ref1:=Open Document("") any ideas on getting the path to the file referenced by $Doc_Ref? Thanks Chip --- Gas is for washing parts Alcohol is for drinkin'

RE: Test 4D Server using 4D Developer Professional license

2018-03-22 Thread Chip Scheide via 4D_Tech
AS I understood Jim's question he did not want to do testing/make changes to a production server. I was just giving him a workaround(?) a solution(?) to not having a 2 user server license Chip On Thu, 22 Mar 2018 16:26:34 +, Timothy Penner via 4D_Tech wrote: > yes it works that way - but I

Re: Test 4D Server using 4D Developer Professional license

2018-03-22 Thread Chip Scheide via 4D_Tech
Jim, As long as you run on the same physical box (or in/on the same VM), you should be able to run 2 or more copies of Server at the same time. You will need to run each instance on a different set of ports. You are still limited to the to the same total number of concurrent user licenses

COllections

2018-03-20 Thread Chip Scheide via 4D_Tech
a record can store any native type of data supported by 4D, and a blob (also available as a record field) can store other types of data such as an array. It seems to me (at this point), that a collection is just a record, perhaps it is more flexible, being definable on the fly, but still a

Re: 4D Summit

2018-03-20 Thread Chip Scheide via 4D_Tech
I believe I did, I'll check THanks > Hi, > > I’m sitting in in the master class by Laurent in Paris. > > Absolutely fantastic, if you haven’t booked for Washington yet you need to > break open the piggy bank now and book! > > Really good stuff. > > Wayne Hell is other people

Re: Is it Possible to Print Subtotals in Subforms when Using Print Selection?

2018-03-19 Thread Chip Scheide via 4D_Tech
Doug, I looked for the report I mentioned, which if I could find would probably allow me to resolve your issue with subtotals... but it is not in any current system, and the old system i think it might be in I can not get into, as I have forgotten the PW.. I will try again this evening to see

Re: Is it Possible to Print Subtotals in Subforms when Using Print Selection?

2018-03-18 Thread Chip Scheide via 4D_Tech
it is a lot of work, but probably less then using a plugin or component you *could* rewrite the report using print form. You already have the base versions of the various forms you would need to print with from the subtables you would also have complete control at that point. > it has been a

Re: Is it Possible to Print Subtotals in Subforms when Using Print Selection?

2018-03-18 Thread Chip Scheide via 4D_Tech
it has been a long time since I did subform subtotals... I'll look for the code/system on monday. I'll probably have to find the one report I did... 2 or 3 subforms, and 3 or 4 text areas all variable frame, with break points etc. quite a beast! But from memory... don't forget to sort the data

Re: Is it Possible to Print Subtotals in Subforms when Using Print Selection?

2018-03-18 Thread Chip Scheide via 4D_Tech
Doug, if you have subforms set to print variable frame you need need to make sure the 'Z' order is correct also, otherwise variable frame printing will not work correctly. I do not remember which way it is, but it is either: lowest (on the 4D from) is lowest and top most variable frame object

[off]4Kn sector, 4TB, Seagate Enerprise Hard drives (new) for sale

2018-03-12 Thread Chip Scheide via 4D_Tech
Quick description: 4TB, 128 meg cache, 7200rpm, 5yr warrantee $165/ea These are New, open box drives, a couple have been formatted as part of an attempt to install (see below note). I have 12 (twelve) of these drives to sell. I can sell 1 or all 12 at once (preferred). If interested - please

Re: Import from Excel

2018-03-08 Thread Chip Scheide via 4D_Tech
the problem I have found with csv is that different software creates different formats. sometimes, everything is quoted, sometimes only certain values are quoted, and similar to the problem of a tab delimited text file, if the text contains a equation mark(s) everything gets screwed. In my

Re: [SAD NEWS] legendary developer and 4D base-rock Ortwin Zillgen

2018-02-27 Thread Chip Scheide via 4D_Tech
please pass on my condolences to his family. Chip > Our thoughts and prayers are with th family. > Sad sad news > Chuck > > On Tue, Feb 27, 2018 at 6:30 AM Julio Carneiro via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > >> Really sad news :-( Please pass on my condolences to his family. >>

[Ann] Setutl update now available

2018-02-24 Thread Chip Scheide via 4D_Tech
Both of these components are available as Shareware (compiled) and are free to download, Source code is available, see the documentation for the individual components. Setutl is a v13 compiled component that provides additional functionality to/with 4D sets. you can download it here:

Re: Re(2): Layered transaction - need to push and pop?

2018-02-23 Thread Chip Scheide via 4D_Tech
you start with a selection (one or more) records in your table you run your transaction - just because you cancel the transaction does not mean that the record you start on is the one i memory (loaded) somewhere in your transaction you could do a search, or sort, or create a new selection, or

RE: v13 Compiled vs Interp execution

2018-02-22 Thread Chip Scheide via 4D_Tech
Thanks! > I think that using the MAXLONG constant is causing the value to be > treated as a longint. > $Real := 2 * (MAXLONG - 500) > > If you replace the MAXLONG constant with a value you get the correct result: > $Real := 2 * (2147483647 - 500) > > Interestingly, you can keep using

Re: v13 Compiled vs Interp execution

2018-02-22 Thread Chip Scheide via 4D_Tech
yes $real is declared as Real. That is the first thing I checked :) > Do you have a C_REAL($Real) line in your code? The compiler might be > typing that variable as a longint. > > Dani > >> On Feb 22, 2018, at 10:14 AM, Chip Scheide via 4D_Tech >> <4d_tech@list

v13 Compiled vs Interp execution

2018-02-22 Thread Chip Scheide via 4D_Tech
I have code that converts a value from REAL to Hex. as part of my test routines, maximum value convertible is Maxlong (php routine) I set the value to convert to (to test out of range error): $Real := 2 * (MAXLONG - 500) $Real := 2 * (2147483647 - 500) $Real := 2 * (2142483647) $Real :=

Re: [v16-Mac] Syntax check hits me with 3,300 + Errors...

2018-02-18 Thread Chip Scheide via 4D_Tech
use the 'generate typing' option in the compiler :) if you are worried about mistyping of your variable, or misspelling, you can look though them compiler directives. For me: this often catches instances where I failed to declare a local variable (usually a counter of some sort) or the

Re: European Data Protection Reglementation to take effect on May 25 - 4D compliance?

2018-02-13 Thread Chip Scheide via 4D_Tech
TLDR; the rules :) My goto on encryption would be: File vault on Mac OS X (OS level disk encryption) or something similar on a PC, or drive level encryption (in the hardware, not software) Chip > > Things such as protection against data breaches, data encryption, > data portability etc. are

Re: Can't Paste into Request Dialog in V15 Local Process

2018-02-07 Thread Chip Scheide via 4D_Tech
not to be silly... but is the text object editable? On Wed, 7 Feb 2018 13:40:56 -0800, Douglas von Roeder via 4D_Tech wrote: > This appears to be a simple issue but, for the life of me, I can't figure > this out. > I'm migrating applications to newer versions of 4D (V15 and V16) and I want > to

Re: Wayback machine: 6.5 Client lost a form

2018-02-05 Thread Chip Scheide via 4D_Tech
.res and .rex files Imnot sure where on windows this is kept, but you should be able to find it/them by searching On Mon, 5 Feb 2018 15:33:57 -0600, Keith Culotta via 4D_Tech wrote: > Hello, > > A customer gets a "Form not found" error when trying to access a > Table form on one of their PCs.

Re: [Ann] Text utility component now available

2018-02-05 Thread Chip Scheide via 4D_Tech
Feb 2018 12:08:53 -0500, Chip Scheide via 4D_Tech wrote: > > available here : > https://www.dropbox.com/l/scl/AAC4GlFRAqycSvWNzsUzpAJ9lAq7BM9W-fw > > Distributed as shareware $15 ($35 for source & an interpreted database > of testing > routines), it is a compiled/built

[Ann] Text utility component now available

2018-02-05 Thread Chip Scheide via 4D_Tech
available here : https://www.dropbox.com/l/scl/AAC4GlFRAqycSvWNzsUzpAJ9lAq7BM9W-fw Distributed as shareware $15 ($35 for source & an interpreted database of testing routines), it is a compiled/built component created in v13. If you like it you are free to reuse/distribute etc. The READ ME

v13+ Method modification date

2018-02-05 Thread Chip Scheide via 4D_Tech
It is possible to do a 'Find in Design' using the last modification date. How is this determined? Since 4D doe s an autosave when a method or form is closed, Does opening a method or form, and closing it constitute modification? or is it necessary to actually change something? Thanks Chip

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

RE: Bug or feature?

2018-02-01 Thread Chip Scheide via 4D_Tech
I just today got the -20002 error in a compiled database. The issue is/was pointers. I was doing something "fancy", basically the pointer was not pointing to what I thought it was, it was actually pointing to a nonexistent variable - via Get Pointer. All of this code worked perfectly

Re: what version(s) work with which version(s)

2018-02-01 Thread Chip Scheide via 4D_Tech
: > > http://doc.4d.com/4Dv15/4D/15/Unicode-mode-for-methods.300-2018652.en.html > > 2018/02/02 6:34、Chip Scheide via 4D_Tech > <4d_tech@lists.4d.com<mailto:4d_tech@lists.4d.com>> のメール: > Give

what version(s) work with which version(s)

2018-02-01 Thread Chip Scheide via 4D_Tech
Given a component, compiled in v13, besides v13, which version(s) will component work with? Repeat for v14, v15 The component contains nothing but 4D code. Thanks --- Gas is for washing parts Alcohol is for drinkin' Nitromethane is for racing

Re: "Goodbye 4D Write" email

2018-02-01 Thread Chip Scheide via 4D_Tech
In principle, it should be possible to create a text editor in 4D itself. I believe that the 4D design interface is built in/with 4D. If this is true, you should be able to build a tailorable text editor inside 4D. The Method editor while not perfect, is a usable text editor. IF that is true

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

2018-01-30 Thread Chip Scheide via 4D_Tech
v13 docs do not specify a limit to the pairings, but other commands (Query) have (or had) limits even without an acknowledgment from 4D. the '*' in this instance does not negate the need for Execute Formula, I considered that option. Thanks On Tue, 30 Jan 2018 20:32:56 +0100, Arnaud de Montard

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

2018-01-29 Thread Chip Scheide via 4D_Tech
I seem to remember that there is limit of 256 pairs for this command. I am building the command in text to be used by Execute Formula, I want to be sure that I do not exceed the maximum number of pairs allowed. Thanks --- Gas is for washing parts Alcohol is for drinkin' Nitromethane

Re: [off] Disaster Recovery

2018-01-27 Thread Chip Scheide via 4D_Tech
most everything. > >> On 27 Jan 2018, at 08:22 AEDT, Chip Scheide via 4D_Tech >> <4d_tech@lists.4d.com> wrote: >> >> 10 DAYS >> WOW! > > Still, the question remains if they reevaluated their decision making > parameters in regards of th

[off] Disaster Recovery

2018-01-26 Thread Chip Scheide via 4D_Tech
if you have ever had to recover a broken computer - Imaging the hell this would be: 4,000 servers, 45,000 PCs and 2,500 apps all rebuilt, while other staff went manual. 10 DAYS WOW! https://www.theregister.co.uk/2018/01/25/after_notpetya_maersk_replaced_everything/ --- Gas is

Re: Document capture

2018-01-26 Thread Chip Scheide via 4D_Tech
Kirk et al, no one listens but I'll be the voice of "discent" :) AWS, iCloud, Dropbox, Google storage, etc, etc ALL have the same draw-backs: - You (your company, your client) no longer have control over these files. - Who ELSE is looking at your file(s) -- especially true for a competitive

Re: ADA Compliance ???

2018-01-24 Thread Chip Scheide via 4D_Tech
I would speculate that ADA compliance would include: -- Read from screen capabilities - for visual impairment -- zooming capabilities - for (less severe) visual impairment -- maybe color redefinition - for color blindness -- if your application uses sound to communicate - a visual prompt for

Re: Object focusable/tabable properties

2018-01-24 Thread Chip Scheide via 4D_Tech
only way I know would be to enable/disable the object On Tue, 23 Jan 2018 21:37:30 -0500, Jim Crate via 4D_Tech wrote: > Is it possible to programmatically set the Focusable or Tabable > properties on a form object (specifically a listbox)? I found the > OBJECT SET FOCUS RECTANGLE INVISIBLE

Re: User Custom Forms

2018-01-23 Thread Chip Scheide via 4D_Tech
> *3. The .4DA file* > This file containing the custom forms is saved into the .4DA file next to > the structure. Is there any way to store it in a different location? Say, > next to the .4dd? Staring it next to the .4dc file makes updating a bit of > an issue. - On start of the edit session,

Re: Anyone been using R5 for real work?

2018-01-19 Thread Chip Scheide via 4D_Tech
Pat, Extra1, Extra2 etc? :) On Fri, 19 Jan 2018 18:47:46 +, Pat Bensky via 4D_Tech wrote: > For us, there's one show-stopping bug in r5 (not present in R4). It's a bit > obscure ... In our Data Import area we have a listbox in which users can > add columns to map incoming data (e.g. from a

Re: Creating .docx files

2018-01-18 Thread Chip Scheide via 4D_Tech
Pat, something simpler? create an .RTF file - (re)name it .docx word is happy to open it Mac OS x 10.9 and office 2011 Chip On Thu, 18 Jan 2018 11:39:14 +, Pat Bensky via 4D_Tech wrote: > I think I am slowly losing my sanity. > Trying to create DOCX files from 4D. > My code creates the

Re: File Size

2018-01-15 Thread Chip Scheide via 4D_Tech
file size should be real - due to the fact that files (and/or folders) can be far larger then max longing > >> Le 15 janv. 2018 à 08:15, Arnaud de Montard via 4D_Tech >> <4d_tech@lists.4d.com> a écrit : >> >> I use this (french "octet" stands for "byte") > > unit tests… > >

Re: v12 & v13 server - compatability with OS X High Sierra (10.13)

2018-01-10 Thread Chip Scheide via 4D_Tech
41 • > PrintPoint, Inc • 57 Ludlow Lane • Palisades, NY 10964 > Please send all email contacts to supp...@printpoint.com > <mailto:supp...@printpoint.com> > > > > >> On Jan 10, 2018, at 10:20 AM, Chip Scheide via 4D_Tech >> <4d_tech@lists.4d.com &l

v12 & v13 server - compatability with OS X High Sierra (10.13)

2018-01-10 Thread Chip Scheide via 4D_Tech
I understand these versions are NOT certified. anyone have experience? do wither of these versions of 4D worK on High Sierra (10.13)? Thanks! Chip --- Gas is for washing parts Alcohol is for drinkin' Nitromethane is for racing

Re: List Box Property list questions

2018-01-06 Thread Chip Scheide via 4D_Tech
double click - you need to do this your self. > A couple of quick questions… > > 1. Double-Click on Row - Edit Record. Does this work with Named > Selection as the Data Source? I can only get it to work automatically > on the first row. Just curious as I can do it manually. > > 2. Data

RE: On Column Resize event

2018-01-05 Thread Chip Scheide via 4D_Tech
That will work :) but... it *might* be simpler/ more efficient to use the On mouse enter/On mouse leave event for the listbox and set a process variable, rather then run the mouse location code every time the On Column Resize event fires. // object method - listbox case of :(form event = On

Re: On Column Resize event

2018-01-04 Thread Chip Scheide via 4D_Tech
Piotr, 'On Timer' can be used to limit execution of the On Column Resize event. I have seen a similar problem with other resizing situations. Basically - you start a timer for a .5 second or so, then On timer executes the code. This reduces the number of times the code runs. For differentiating

Re: Update from v12.6 to v16.3-64 (Mac)

2018-01-04 Thread Chip Scheide via 4D_Tech
you need to put a menu action for design - the old option f at the splash screen stops working (v14?) also if you have not already done so you will need to setup primary keys (likely uuids) for all tables for logging (and backup?) purposes. On Thu, 4 Jan 2018 18:40:30 +1100, Jörg Knebel via

Re: SET WINDOW RECT v14 / v16

2018-01-02 Thread Chip Scheide via 4D_Tech
Jerremy, are the object(s) on the page you are switching to set to automatically resize/move? If so - maybe this is the problem? Chip On Sat, 30 Dec 2017 11:20:21 +, Jeremy Roussak via 4D_Tech wrote: > On 28 Dec 2017, at 15:57, Arnaud de Montard via 4D_Tech > <4d_tech@lists.4d.com>

Re: RESOLVE POINTER does not work in preemptive processes

2017-12-28 Thread Chip Scheide via 4D_Tech
then it must be a bu. File it :) On Thu, 28 Dec 2017 12:19:43 -0600, John DeSoi via 4D_Tech wrote: > Same problem, always empty. > > John DeSoi, Ph.D. > > >> On Dec 28, 2017, at 11:57 AM, Chip Scheide >> <4d_o...@pghrepository.org> wrote: >> >> what about: >> C_TEXT(myTextVar) >>

Re: RESOLVE POINTER does not work in preemptive processes

2017-12-28 Thread Chip Scheide via 4D_Tech
what about: C_TEXT(myTextVar) C_POINTER($myPointer) C_TEXT($varName) C_LONGINT($tableNum;$fieldNum) $myPointer:=->myTextVar RESOLVE POINTER($myPointer;$varName;$tableNum;$fieldNum) //$varName returns ?? On Thu, 28 Dec 2017 11:24:25 -0600, John DeSoi via 4D_Tech wrote: > Just spent hours

Re: Database locked in merged application

2017-12-27 Thread Chip Scheide via 4D_Tech
IMHO, I feel that this is a bad idea. I have not worked with built applications, so there may not be a away to avoid this situation, BUT... with the datafile inside the app package(Mac) you run the significant risk of deleting the datafile during an update. I always keep the datafile outside

Re: [off] File will not open in excel

2017-12-15 Thread Chip Scheide via 4D_Tech
understood Thanks > of course, it is newer, but what I meant was that a feature available > in 2010 is not necessarily available in 2011. > >> 2011 (Mac) is not newer than 2010 (Windows). > > > > > ** > 4D Internet Users

Re: [off] File will not open in excel

2017-12-15 Thread Chip Scheide via 4D_Tech
d paste back into your text editor. > Save. > > No you've got the contents as a tab delimited plain file. > > On Fri, Dec 15, 2017 at 12:57 PM, Chip Scheide via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > >> Got a file which claims to be an excel file (.xls) but will not ope

[off] File will not open in excel

2017-12-15 Thread Chip Scheide via 4D_Tech
Got a file which claims to be an excel file (.xls) but will not open as an excel spreadsheet (Mac Office 2011 Excel) When the file opens in excel, it is opened as if it was a plain text file, when opened in Windows Office 2010 Excel it opens, and opens as a spread sheet. Anyone have any ideas

Re: Macros - how to insert "<>"

2017-12-13 Thread Chip Scheide via 4D_Tech
Thanks!! On Thu, 14 Dec 2017 09:44:27 +1100, Wayne Stewart via 4D_Tech wrote: > --- Gas is for washing parts Alcohol is for drinkin' Nitromethane is for racing ** 4D Internet Users Group (4D iNUG) FAQ:

Macros - how to insert "<>"

2017-12-13 Thread Chip Scheide via 4D_Tech
i want to have a 4D marco include the following text, but the macro parser chokes. My HTML-fu is not strong :) I believe that the macro parser is choking on the left arrow right arrow, so I need some help in escaping them. ((<>x_Cr*2)+Current method name+<>x_Cr) Thanks! Chip ---

Re: localisation (again)

2017-12-13 Thread Chip Scheide via 4D_Tech
as a work around: $Loc:=position("."; imported_Text_Number) $Text_Integer:=substring($imported_Text_Number;1;$Loc-1) $Integer:=Num($Text_Integer) $Text_Integer:=substring(imported_Text_Number;$Loc+1) $Decimal:=num($Text_Integer) $Final_Value:=$Integer+($Decimal/(10*length($Text_Integer))) Given

Re: Combo Box Copy

2017-12-12 Thread Chip Scheide via 4D_Tech
John, to get the edit menu working (without buttons) make sure the form properties are set correctly: Associated Menu Bar: Active Menu Bar : ON Chip On Tue, 12 Dec 2017 09:41:25 -1000, John Baughman via 4D_Tech wrote: > I am trying to get the edit commands working in a dialog. To figure > how

[resolved] sort of: v13 - compiled component - typing conflict

2017-12-12 Thread Chip Scheide via 4D_Tech
s text, hence the Resolved - sort of title. Hope this helps someone else. Chip On Mon, 11 Dec 2017 17:32:27 -0500, Chip Scheide via 4D_Tech wrote: > I have a component which has a form with an array listbox, > the listbox is defined in the design environment and has 4 columns. > 1 column (t

Re: v13 - compiled component - typing conflict

2017-12-11 Thread Chip Scheide via 4D_Tech
, but will do so in the morning THANKS! > >> Le 11 déc. 2017 à 23:32, Chip Scheide via 4D_Tech >> <4d_tech@lists.4d.com> a écrit : >> >> When I execute the form from a host (or from the component), compiled, >> I get runtime error: >> Argument types ar

v13 - compiled component - typing conflict

2017-12-11 Thread Chip Scheide via 4D_Tech
I have a component which has a form with an array listbox, the listbox is defined in the design environment and has 4 columns. 1 column (the first) is a picture, the other 3 are text. When I execute the form from the component, interpretedly everything is fine. When I execute the form from a

RE: Stack level in 4DDebugLog.txt

2017-12-11 Thread Chip Scheide via 4D_Tech
Piotr, don't forget the possibility of indirect recursion too. Method_A call Method_B which calls Method_C which calls Method_A On Mon, 11 Dec 2017 18:11:32 +, Timothy Penner via 4D_Tech wrote: > It could be recursion. The debug logs should help you determine > exactly what is being

Re: Combo Box on Windows

2017-12-11 Thread Chip Scheide via 4D_Tech
field” it is a “one time >> user definable field”. >> >> I too avoid using a user definable field as a relational/unique >> field, but o occasion I have done so, but only if I was certain that >> the field had no chance of ever breaking the relationship due to >>

Re: Execute on server gotcha

2017-12-06 Thread Chip Scheide via 4D_Tech
clarification please. if the set created on the client side is "$Test" then it is NOT available in the trigger/EOS correct? On Wed, 6 Dec 2017 06:36:53 +, Keisuke Miyako via 4D_Tech wrote: > it's probably easier to create and run a proof-of-concept. > > if you create a set named "test" on

Re: List Box gotcha - Automatic Row Height

2017-12-06 Thread Chip Scheide via 4D_Tech
Nice - so.. you don't have and don't use 4D View pro so no reason to examine the docs... On Tue, 5 Dec 2017 19:28:52 -1000, John Baughman via 4D_Tech wrote: > > I have been working with Tech Support to resolve the issue and > finally pinpointed the issue today and learned that this is >

RE: poor performance LISTBOX INSERT COLUMN

2017-12-05 Thread Chip Scheide via 4D_Tech
if I am correct... list boxes should/do behave as arrays. So... you should - no I have not done the testing - that inserting (add to location { 11, 11-> 12 etc). This will/does/should add overhead. If you are inserting - especially blank/empty columns - rather then appending the columns to your

Re: Strange problem with v16 and Launch External Process in a component

2017-12-04 Thread Chip Scheide via 4D_Tech
no ideas - but I ran into similar issues in v13, on windows. LEP calls to OS for file level actions (copy, rename etc) everything empty, everything "OK" - not so much. Run *same* exact command line code from cmd.exe everything worked as expected. On Mac - no issue. On Mon, 4 Dec 2017 16:36:52

Re: Assign multidimensional array

2017-12-04 Thread Chip Scheide via 4D_Tech
Ferdinando, not sure if Copy Array will copy multi-dimensional arrays - you could try. but as worst case: (assumes $B is already denied as having the same dimensions as $A) For($i;1;size of array($A)) copy array($A{$i};$B{$i} end for On Mon, 4 Dec 2017 10:51:30 +0100, Herr Alexander Heintz via

RE: poor performance LISTBOX INSERT COLUMN

2017-12-04 Thread Chip Scheide via 4D_Tech
Piotr, maybe it is the remote data call/population of the listbox arrays? for comparison try: - populate the listbox from local (4D) data On Mon, 4 Dec 2017 07:59:00 +, Piotr Chabot Stadhouders via 4D_Tech wrote: > > I tested this on an HP Intel Core i7-4710MQ 2.50GHz laptop with 24G

Re: poor performance LISTBOX INSERT COLUMN

2017-12-01 Thread Chip Scheide via 4D_Tech
Piotr recode this! On Fri, 1 Dec 2017 14:49:11 +, Piotr Chabot Stadhouders via 4D_Tech wrote: > > No big deal you could say, but for a couple of our forms it IS a big deal > We have a form with 27 listboxes on it, all dynamically build, with a > total of 477 columns recode this - I can't

Re: 4D Server / Remote 16.2 64-bit macOS 10.12.6 or 10.13

2017-11-30 Thread Chip Scheide via 4D_Tech
in case you were not aware : MAJOR security issue on OS X 10.13 - anyone can login as Root http://www.slate.com/blogs/future_tense/2017/11/28/apple_s_high_sierra_operating_system_has_a_bug_allowing_anyone_to_become.html On Wed, 29 Nov 2017 18:41:24 -0500, Mitchell Shiller via 4D_Tech wrote:

Re: Reject data entry in named selection list box

2017-11-27 Thread Chip Scheide via 4D_Tech
I have not tried this, however: - Form event : On Before Data Entry (listbox only) - track which cell/record you are in from documentation -- A list box cell is about to change to editing mode - Form event : On After Edit - do your data validation. from documentation -- The contents of the

Re: List Box Basics

2017-11-18 Thread Chip Scheide via 4D_Tech
Steven, Im not sure if I resounded to you. but if you want/still need I can provide listbox demo for you. and if I understand your question, On Double Click is the primary event for to use for editing a record in a listbox. > Thanks to all who responded to my request for help, both on and off

Re: v13 - Plugin inside component

2017-11-16 Thread Chip Scheide via 4D_Tech
The host after completion of the component will not be in my control. to install a plugin... the component will need to have a table - with a blob. In the blob will need to be the plugin. upon initialization of the component I can: check to see if the plugin is already installed if not blob to

Re: v13 - Plugin inside component

2017-11-16 Thread Chip Scheide via 4D_Tech
egards, > > Wayne > > > [image: --] > Wayne Stewart > [image: http://]about.me/waynestewart > <http://about.me/waynestewart> > > > On 17 November 2017 at 09:35, Chip Scheide via 4D_Tech <4d_tech@lists.4d.com >> wrote: > >> I have

Re: v13 - Plugin inside component

2017-11-16 Thread Chip Scheide via 4D_Tech
t> > > > On 17 November 2017 at 09:35, Chip Scheide via 4D_Tech <4d_tech@lists.4d.com >> wrote: > >> I have a plugin - Keisuke's Get Folder Size - which is installed >> (plugin folder) of a database which is itself a component. >> >> I hav

v13 - Plugin inside component

2017-11-16 Thread Chip Scheide via 4D_Tech
I have a plugin - Keisuke's Get Folder Size - which is installed (plugin folder) of a database which is itself a component. I have tested the use of the plug, directly from inside the component, and it works as expected. However, I am finally testing a lot of new code from a host database

Re: 4D v6.8

2017-11-16 Thread Chip Scheide via 4D_Tech
Jody, Mac minis from mid-2010 (and I would think any other Mac of the approximate same vintage) can run 10.6.8 you could install 10.6.8 on an external disk (usb whatever) and boot from that, no need to wipe the existing system/machine. On Thu, 16 Nov 2017 12:53:43 -0600, Jody Bevan via 4D_Tech

LEP v13.5 and DOS - no resolution

2017-11-10 Thread Chip Scheide via 4D_Tech
I do not know what the underlying problem is, it is somewhere between LEP and DOS. I am unable to get xcopy, or robocopy, to work through LEP . I know (at least in the case of xcopy) that the command is being executed as a file (empty) is created when stderr is piped to a file. I also know

<    3   4   5   6   7   8   9   10   11   >