RE: Problems installing built application

2018-02-05 Thread Timothy Penner via 4D_Tech
> I'm not on v16 yet. Does this not work in v15? The tech tip says it works > from 15.4. The tech tip says v15R4 (not v15.4). This means it is a feature of v16 and it was first made available in v15R4. However, the feature is not available in v15.x Here is more information on that feature:

Re: Problems installing built application

2018-02-05 Thread Spencer Hinsdale via 4D_Tech
oh, okay you can use Default Data File feature in XML Build Keys, store last file opened in your own text file, test the data file opened and if it is default look for text file and use Open Data File. there is some trick like calling in a new process maybe... > On Feb 5, 2018, at 3:36 PM,

Re: Problems installing built application

2018-02-05 Thread macjimbo via 4D_Tech
I'm not on v16 yet. Does this not work in v15? The tech tip says it works from 15.4. Is there no way to get a built application to remember the location of the data file between application upgrades? cheers James -- Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html

Re: Problems installing built application

2018-02-05 Thread Spencer Hinsdale via 4D_Tech
v16, database prefs, New Architecture anything else? :) > On Feb 5, 2018, at 3:36 PM, macjimbo via 4D_Tech <4d_tech@lists.4d.com> wrote: > > that works until I install an upgrade. ** 4D Internet Users Group (4D iNUG) FAQ:

Re: Problems installing built application

2018-02-05 Thread macjimbo via 4D_Tech
OK great, thank you. That worked. So now I can install my app successfully inside the /Applications folder and not get permission errors or crashes. Next problem - it won't save the location of the 4D Data file between installations. The first time I launch, I show it where the data file is

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.

Wayback machine: 6.5 Client lost a form

2018-02-05 Thread Keith Culotta via 4D_Tech
Hello, A customer gets a "Form not found" error when trying to access a Table form on one of their PCs. All other PCs can view the form. No user logged into this one PC can view the form. It's a virtual Windows XP environment when accessing 4D. Does anyone remember where the temp folder for the

Re: 4d v14 web area & High Sierra & pdf

2018-02-05 Thread Jeffrey Kain via 4D_Tech
The download button in the viewer crashes 4D. That seems to be the only glitch. We've modified the source to hide that button. -- Jeffrey Kain jeffrey.k...@gmail.com > On Feb 5, 2018, at 4:13 PM, Keisuke Miyako via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > 4D language documentation is

Re: [Ann] Text utility component now available

2018-02-05 Thread Chip Scheide via 4D_Tech
I'm sorry everyone - Apparently I supplied the wrong link. I will release access for those who have already requested access to the file. and here is link that I *think* will give free access to the download. https://www.dropbox.com/s/wj3w55p3gvzp5h5/Txtutl_Component_v1.0.0.zip?dl=0 On Mon, 5

Re: 4d v14 web area & High Sierra & pdf

2018-02-05 Thread Keisuke Miyako via 4D_Tech
if you mean pdf.js, yes, it is a truly amazing product. 4D language documentation is 2000 pages yet it displays (with bookmarks and all) and scrolls extremely fast. https://mozilla.github.io/pdf.js/ 2018/02/05 22:17、Jeffrey Kain via 4D_Tech <4d_tech@lists.4d.com>

Re: query for empty string

2018-02-05 Thread Keisuke Miyako via 4D_Tech
Hello, it is not a matter of western or non-western. the test for length=0 is only necessary if you can reasonable expect string that collates to "". c.f. $test:=""=Char(0) $test:=""=Char(1) //both is true otherwise you can continue to use ="" for queries and string in general. 2018/02/06

Re: Stored procedures not waking up?

2018-02-05 Thread Jeffrey Kain via 4D_Tech
Tim, For us, it's happened as recently as 16.3 in compiled mode. Really surprised your test database wasn't able to reproduce it... it definitely had all of the ingredients. We're on 16.3 HF1 now. We'll see how it goes. -- Jeffrey Kain jeffrey.k...@gmail.com > On Feb 5, 2018, at 3:48

RE: Stored procedures not waking up?

2018-02-05 Thread Timothy Penner via 4D_Tech
Actually, we got a reproducible case from this: https://www.mail-archive.com/4d_tech@lists.4d.com/msg09020.html It was filed as ACI0097824 : [138013] The debug window can become hidden if the 4D window is minimized the 2nd time the debugger is displayed within a process The issue in this

Re: Stored procedures not waking up?

2018-02-05 Thread Jeffrey Kain via 4D_Tech
If no official bug has been filed with France by now, there probably should be. Reproducibility is great, but it's shocking a bug like this has lingered for so long. -- Jeffrey Kain jeffrey.k...@gmail.com > On Feb 5, 2018, at 3:18 PM, Cannon Smith via 4D_Tech <4d_tech@lists.4d.com> >

Re: Problems installing built application

2018-02-05 Thread Spencer Hinsdale via 4D_Tech
Well, if you go back to PackageMaker you can build an Installer that is signed with your Developer ID Installer And in Package, Contents you can go to Scripts, Postinstall and add a script with contents like: #!/bin/sh chmod -R 777 '/Applications/MyAppFolder' > On Feb 5, 2018, at 11:46 AM,

Re: Stored procedures not waking up?

2018-02-05 Thread Cannon Smith via 4D_Tech
Some tech support cases exist for this. As far as I know no bug has been filed, probably because no one, including tech support, has been able to reproduce it on demand. Very frustrating bug. -- Cannon.Smith Synergy Farm Solutions Inc. Hill Spring, AB Canada 403-626-3236

RE: Problems installing built application

2018-02-05 Thread macjimbo via 4D_Tech
OK so the answer to "does Dropbox add extended attributes" was obviously a resounding "yes". So I copied my structure, plug-ins and components into my local user folder, ditched the extended attributes using "xattr -cr " and re-built. Then I ran "xattr -lr " to see what I was left with. I got

RE: Problems installing built application

2018-02-05 Thread Timothy Penner via 4D_Tech
Maybe... Why not try removing it and see if it makes a difference? -Tim ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options:

RE: Problems installing built application

2018-02-05 Thread macjimbo via 4D_Tech
Hi Tim, many thanks for this. Does the same go for Dropbox? As that's where I store my structure file… cheers James -- Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html ** 4D Internet Users Group (4D iNUG)

RE: Problems installing built application

2018-02-05 Thread Timothy Penner via 4D_Tech
> However, I have no idea how to prevent 4D from adding such detritus to the > built app! It's not 4D adding it - it already exists in your source files; check your structure file, your plugins, components, even the installed copy of 4D that you are building against, etc. Use the xattr command

RE: Problems installing built application

2018-02-05 Thread macjimbo via 4D_Tech
Thanks Tim This got me further down the line, I now know that the problem is "resource fork, Finder information, or similar detritus not allowed" However, I have no idea how to prevent 4D from adding such detritus to the built app! Following the link in the tech note, I executed "xattr -cr "

RE: Problems installing built application

2018-02-05 Thread Timothy Penner via 4D_Tech
> However, I cannot get the app to build. Whichever certificate I specify, it > spends a long time at the ‘signing application’ stage and then tells me “Code > signature failed". Tech Tip: What to do when code signing fails? http://kb.4d.com/assetid=77853 -Tim

Re: Problems installing built application

2018-02-05 Thread James Knight via 4D_Tech
Sorry for the delay responding to your suggestion, Tim. I tried adding that to my code but the app doesn’t even get as far as outputting anything, it just crashes on launch (at the moment). So I have investigated the whole code signing thing. I tried with a self-signed certificate and then

[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

Re: Stored procedures not waking up?

2018-02-05 Thread Koen Van Hooreweghe via 4D_Tech
Hi Keith, Last week I discovered a possibly related issue with processes not waking up. I have a process, p1 which runs in a loop, executes some code and delays itself for a certain time. code: //Method1 <>abort:=False <>p1:=Current process $delay:=30*60 //beep every 30 seconds Repeat

RE: v13+ Method modification date

2018-02-05 Thread Drew Waddell via 4D_Tech
Something has to change. But it could be something super insignificant, like adding a space to a comment. Drew -Original Message- From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Chip Scheide via 4D_Tech Sent: Monday, February 05, 2018 10:48 AM To: 4D iNug Technical

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

query for empty string

2018-02-05 Thread webmaster namethatplant.net via 4D_Tech
Hello all - I have converted a database from v2004 to v12, and Unicode is ON. Conversion4Dv11SQL_R9.pdf, page 69, says: In Unicode Mode, if you want to check if a string does not contain any characters, including ignorable ones, you need to use the following test: If (Length(vText)=0)

Stored procedures not waking up?

2018-02-05 Thread Keith Goebel via 4D_Tech
Hi all. For some time, on this list, there has been talk about a v16 problem where, periodically, stored procedures that have been paused will not wake up. The reports I’ve seen have indicated there is no way to duplicate the problem on demand. We are currently in 4D v15.2 and want to move to

Re: 4d v14 web area & High Sierra & pdf

2018-02-05 Thread Jeffrey Kain via 4D_Tech
We've modified the open source Mozilla Javascript PDF viewer (the same one Firefox uses) to work inside a web area. It's seamless and looks great. We're tweaking the source code now but drop me a line if you're interested in trying it out. It's just Javascript -- no plug-in required. --

Re: 4d v14 web area & High Sierra & pdf

2018-02-05 Thread Alberto Bachler via 4D_Tech
Claudio I didn’t found any satisfactory solution… - You can install a PDF Browser plugin (not free) - If the PDF is just one page long you can display it in the web area after converting it to a picture (READ PICTURE FILE) - Or open the file with Preview with OPEN URL Alberto. > El

4d v14 web area & High Sierra & pdf

2018-02-05 Thread Claudio Braga via 4D_Tech
Hi everyone, I have a 4d v14.6 app with a webarea to display pdf that I am testing now on High Sierra the pdf docs aren’t displaying anymore (blank page), while on Sierra everything is ok I looked in the past threads and even if I found some discussions about it there seemed to be no