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:
https://blog.4d.com/new-architecture-for-application-deployments/

-Tim




**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

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, macjimbo via 4D_Tech <4d_tech@lists.4d.com> wrote:
> 
> 'm running 15.5 on Mac OS 10.13.2
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

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
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

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:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

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
located, and that works until I install an upgrade.

As soon as I do that, it's asking for the 4D data file location again.

The preference file for the app (~/Library/4d.com..app.plist) shows
the correct path for the data file, so it's definitely been saved in the
preferences file. But the newly installed app seems to ignore the existing
preference file.

The following tech tip refers to a new feature in v15 which lets you store
the data file location in the preference file:

http://kb.4d.com/assetid=77467

but this refers to a preference setting (Use new architecture for
application deployments) which I don't see in my database settings.

However, the fact that it is saving the path in the preference file suggests
that it is using the new architecture anyway. The problem is that it forgets
about it when the upgrade is performed.

I'm running 15.5 on Mac OS 10.13.2

Determined to get this licked, hope someone can help.

Thanks

James



--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

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.
> 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 4D Client 6.5 
> version is kept?  
> I'm thinking a resource file is damaged.
> 
> Thanks,
> 
> Keith - CDI
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
---
Gas is for washing parts
Alcohol is for drinkin'
Nitromethane is for racing 
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

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 4D Client 6.5 version is 
kept?  
I'm thinking a resource file is damaged.

Thanks,

Keith - CDI
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

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 2000 pages yet it displays (with bookmarks and 
> all) and scrolls extremely fast.

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

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 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 component created in v13. If you like 
> it you are free to reuse/distribute etc.
> 
> The READ ME provides an overview of the component.
> The separate documentation provides, (I hope) enough documentation to 
> understand what the component methods do, and how to use 
> them.
> 
> Your thoughts for new functionality, and/or problems are welcome, see 
> the READ ME for feedback, and Pay Pal email address.
> 
> Chip
> ---
> Gas is for washing parts
> Alcohol is for drinkin'
> Nitromethane is for racing 
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
---
Gas is for washing parts
Alcohol is for drinkin'
Nitromethane is for racing 
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

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> のメール:

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.



**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@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 0:31、webmaster namethatplant.net via 
4D_Tech <4d_tech@lists.4d.com> のメール:

QUESTION:
In versions 12+, in unicode mode, if the field contains only routine Western 
characters,
is it okay to continue to use
   QUERY([Table];[Table]Field="")

and only if the field may contain nonWestern characters, use
   QUERY SELECTION BY FORMULA([Table];Length([Table]Field)=0)
???



**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

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 PM, Timothy Penner via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> Keep in mind, this reproducible issue is only reproducible in Interpreted 
> mode because it requires the debugger.

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

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 reproducible bug was that the debugger was hidden, and that 
because the debugger was hidden it appeared as though the process was stuck - 
but really it was just waiting for the developer to do something with the 
hidden debugger window. Clearly a bug.

Keep in mind, this reproducible issue is only reproducible in Interpreted mode 
because it requires the debugger.

-Tim



**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

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> 
> wrote:
> 
> 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.

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@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, macjimbo via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> Help!
> 
> Cheers
> 
> James
> 
> 
> 
> --
> Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

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




> On Feb 5, 2018, at 1:15 AM, Keith Goebel via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> All thoughts on this will be gratefully received.

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

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 hundreds of lines like this:

/Contents/Native Components/Zip.bundle/Contents/MacOS/Zip:
com.apple.quarantine:
0183;5a22ef6f;Safari;47E0A42C-D852-441A-942E-0CDE9C6157D4

referencing loads of different files in the package and all relating to
com.apple.quarantine.

I tried signing it regardless and got this (again):

: code object is not signed at all
In subcomponent: /Contents/MacOS/HelperTool

Help!

Cheers

James



--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

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: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

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)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

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 to clear the attributes 
form the source files before you build.

And if you happen to have your structure file saved in a location that is 
backed up by iCloud, then it will be impossible to clear the extended 
attributes because iCloud will keep adding it back.

Good luck!

-Tim




**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

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 " and
tried to sign it again.

This time I got the message ": code object is not signed at all
In subcomponent:/Contents/MacOS/HelperTool"

Can anyone help me unpick this?

Thanks!

James




--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

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



**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

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 registered with Apple and created a Mac developer 
certificate using Xcode.

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". 

I think maybe I haven’t got the name of the certificate right in the build 
parameters, but I’ve entered the name as it appears in Keychain.

In any event, I’m fairly certain that this has nothing to do with Gatekeeper, 
because I’m not getting a Gatekeeper dialog. I think Gatekeeper only relates to 
apps which are downloaded from the internet, which this is not.

Also, you surely shouldn’t be able to bypass Gatekeeper simply by altering 
permissions in Finder?

The current situation is as follows:

1. I build an app (without a certificate), package it and then install using 
Apple Remote Desktop.
2. If I install into /Users/Shared/AppFolder then I get an array of results. 
Sometimes the app launches fine, sometimes I get the error messages on launch 
or quit as described earlier.
3. If I get error messages, then usually applying the folder permissions to its 
contents will sort the problem until the next installation
3. If I install into /Applications then the app crashes on launch.

Hope someone can help me with this.

Thanks

James


> On 31 Jan 2018, at 21:55, Timothy Penner via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
>> I will experiment with signing BUT I really don't think this is the issue
> 
> A quick test to see if your application is in a Translocated (Read-Only) 
> quarantine is to run the following code:
> 
> ALERT(APPLICATION FILE)
> 
> Then check the output.
> 
> If the Path is correct and matches where the application is actually 
> installed, then you have successfully bypassed GateKeeper.
> 
> If the Path is wrong and looks like it begins with a UUID, then your 
> application is being Translocated to a Read-Only quarantine due to GateKeeper.
> http://forums.4d.com/4DBB_Main/x_User/1178015/files/18720934.png
> 
> 
> -Tim
> 
> 
> 
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

[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 provides an overview of the component.
The separate documentation provides, (I hope) enough documentation to 
understand what the component methods do, and how to use 
them.

Your thoughts for new functionality, and/or problems are welcome, see 
the READ ME for feedback, and Pay Pal email address.

Chip
---
Gas is for washing parts
Alcohol is for drinkin'
Nitromethane is for racing 
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

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 
BEEP
DELAY PROCESS(<>p1;$delay)
Until (<>abort)

Just start Method1 as a new process and open the runtime explorer to watch the 
status.

If another method pauses p1 and resumes it within the remaining delay time, the 
process p1 status goes from delayed to paused. This way p1 stays paused until 
it gets a (second) resume from somewhere else.

Eg:

PAUSE PROCESS(<>p1)
RESUME PROCESS(<>p1)
TRACE
<>abort:=True

If this code is run (pause immediately followed by resume) while the status of 
p1 is delayed, the process will stay in status delay until the delay time has 
passed and then change to paused.

This worked fine in v15. I don’t know if this is actually a bug, but here is a 
change in behavior between v15 and v16.
In v15, when running pause and resume, the (delayes/paused) process continues 
immediately (beeps) and then waits again in the next delay.

Its like in v16 resume process does not work correctly when a delayed process 
is paused.
In my project I found a work around, I did not report a bug.

HTH
Koen
 
> Op 5 feb. 2018, om 09:15 heeft Keith Goebel via 4D_Tech 
> <4d_tech@lists.4d.com> het volgende geschreven:
> 
> 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 v16 , but the thought of 
> this happening to us is so scary that we have held off, waiting for 4D to fix 
> it.
> Today I was informed that there is no 4D registered bug for this problem.
> I was amazed, and am now wondering if we have been remiss in not upgrading to 
> v16.3.
> 
> All thoughts on this will be gratefully received.




Compass bvba
Koen Van Hooreweghe
Kloosterstraat 65
9910 Knesselare
Belgium
tel +32 495 511.653

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

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
Cc: Chip Scheide
Subject: v13+ Method modification date

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
---
Gas is for washing parts
Alcohol is for drinkin'
Nitromethane is for racing 
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

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
---
Gas is for washing parts
Alcohol is for drinkin'
Nitromethane is for racing 
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

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)
Instead of
If (vText="").

I don't see that advice repeated anywhere else in v11 or v12 docs, but I may 
have missed it.

To find empty strings, both v11 and v12 Language docs recommend:
QUERY([People];[People]Company="")

In previous versions, I would assume that "an empty string" was the same thing 
as "a string that does not contain any characters", but in this context I'm not 
sure


QUESTION:
In versions 12+, in unicode mode, if the field contains only routine Western 
characters,
is it okay to continue to use  
QUERY([Table];[Table]Field="")

and only if the field may contain nonWestern characters, use
QUERY SELECTION BY FORMULA([Table];Length([Table]Field)=0)
???

Thank you -
Janie Marlow
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

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 v16 , but the thought of this 
happening to us is so scary that we have held off, waiting for 4D to fix it.
Today I was informed that there is no 4D registered bug for this problem.
I was amazed, and am now wondering if we have been remiss in not upgrading to 
v16.3.

All thoughts on this will be gratefully received.
Cheers, Keith
There are 3 kinds of mathematician. Those who can count, and those who can't.
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

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.


--
Jeffrey Kain
jeffrey.k...@gmail.com




> On Feb 5, 2018, at 7:03 AM, Alberto Bachler via 4D_Tech 
> <4d_tech@lists.4d.com> wrote:
> 
> 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

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

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 05-02-2018, a las 06:45, Claudio Braga via 4D_Tech <4d_tech@lists.4d.com> 
> escribió:
> 
> 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 solution, is this still the case ?
> 
> TIA
> 
> 
> 
> Claudio Braga
> **
> claudiobr...@me.com
> claudiobr...@mac.com
> claudiobr...@icloud.com
> **
> 
> 
> 
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

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 solution, is this still the case ?

TIA



Claudio Braga
**
claudiobr...@me.com
claudiobr...@mac.com
claudiobr...@icloud.com
**



**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**