Collection of Telemetry Data

2018-11-08 Thread Robert ListMail via 4D_Tech
I know that Jody has some expertise on this where he rolled his own remote data 
mirror. In my case, I just want my apps to phone home via the magic of the 
internet.  I’d like to collect usage data to see what areas and features are 
used. I imagine this data would be collected in local tables and synced to 
another 4D database every night. In addition, I suppose licenses for vertical 
market apps could be verified or could be extended or validated after payments 
for continued service is satisfied. So, I have a lot of ideas on what could be 
measured. I’m not sure how best to get that data over the internet to another 
database. I assume this type of data could be sent via http without special  
port forwarding on corporate routers. Thoughts? How does your app phone home? 
And do you like what it has to say? :)

Thanks,

Robert

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

4D Authentication Strategy...

2018-11-08 Thread Robert ListMail via 4D_Tech
I’ve inherited many 4D databases over the years and some have a custom password 
system and some use the built in 4D system or a hybrid approach. I know that 4D 
also allows authentication via Active Directory (single sign on) but I’ve not 
implemented that. So, I’m looking to enhance a few legacy systems and wanted to 
consider my authentication strategy... I’ll probably want to keep the users and 
groups in the data file so that the data would always be valid after structure 
changes and to store more data about each user. Also, what if users could 
register on the system and use the system to reset passwords and such just like 
a public web site, this would lighten the load for the admin... I know this was 
all the rage 20 years ago. So, have you rolled your own password system in 4D? 
What are the key benefits in your situation?

Thanks,

Robert

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

Forms Stop Receiving Certain Events

2018-11-08 Thread Sandor Szatmari via 4D_Tech
Has this ever happened to anyone?  UI Elements on certain forms appear to have 
stopped receiving certain events.  This form and related code that have been 
functioning for many many years.  I was adding an additional page to the form 
when this started happening.  I did not edit or change the code or properties 
on any of the other pages/ui elements.  Any help in tracking down the cause 
would be helpful and greatly appreciated.  I do have backups but I don't want 
to roll back the database because it is an active database where data is added 
every day.  I am under the impression that you cannot roll back the interface 
programming separately from the actual data.  An example is below.





Platform: MacOSX (10.11.6)
4D Version: v15 R5


Here's an example…


A Popup button, has 'On Load', 'On Clicked' and 'On Unload' enabled in the 
property list (i.e. checked off').


The object method for the popup has a case statement for reacting to these 
events. (The rest of the code is removed for brevity)



 
$TheEvent:=Form event 
Case of  
 : ($TheEvent=On Load) 
 
 ALERT("Load") 
 : ($TheEvent=On Clicked) 
   ALERT("Clicked")  
 : ($TheEvent=On Unload) 
   ALERT("Unload")  
End case 


The only alert that is displayed is the unload alert.  


How can I figure out where this the events are being lost/swallowed.


Thanks in advance,
Sandor Szatmari



















Senior Software Developer
Bristol Capital Inc. - InfoPlus
201 746 7215
www.infoplusonline.com

CONFIDENTIALITY NOTICE: This email (and any related attachments) contains 
information from InfoPlus (a service of Bristol Capital, Inc.). It is intended 
only for the addressee and may contain information that is confidential and/or 
otherwise exempt from disclosure under applicable law. If you are not the 
intended recipient or are acting as agent for the intended recipient, any use 
or disclosure of this communication is prohibited. If you have received this 
communication in error, please notify us immediately to arrange for the 
appropriate method of returning or disposing of the communication. If our 
respective Companies have confidentiality provisions in effect, this email and 
the materials contained herein are deemed CONFIDENTIAL and should be treated 
accordingly unless expressly provided otherwise.
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: subtables issue

2018-11-08 Thread Keisuke Miyako via 4D_Tech
the _o_ prefix is primarily telling you to stop using it in new code.

(you will no longer find it in type-ahead, for example)

it also allows you to find and remove them in existing code,
but the level of urgency varies;

some are not 64-bit ready,
some have a superior (preemptive, object based, simple...) successor,
some are just old-fashioned (require process or inter-process variables, 
pointers, etc.) and "not cool".

so you can't generalise all _o_ commands as if they were a liability.

---

as for sub-tables, ORDA completely changes how you look at related records.
they belong to a different table, or a data class, like in SQL,
but in code there are accessible as entities of the master table,
as if they were sub-fields or sub-sub-fields.

2018/11/04 6:29、Robert ListMail via 4D_Tech 
<4d_tech@lists.4d.com>のメール:
Are you suggesting that I leave the old “_o_” commands in place on a converted 
V17 database?


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

Re: How to get a list of all user windows?

2018-11-08 Thread Pat Bensky via 4D_Tech
Aha! Yes, that'll work, thanks John.

On Thu, 8 Nov 2018 at 20:16, John DeSoi via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> You could use the Window process function find the process number. Then
> use the "origin" parameter of PROCESS PROPERTIES to determine which
> processes belong to the design process.
>
> John DeSoi, Ph.D.
>
>
> > On Nov 8, 2018, at 1:46 PM, Pat Bensky via 4D_Tech <4d_tech@lists.4d.com>
> wrote:
> >
> > The WINDOW LIST function creates a list of ALL open windows, including
> > method windows. Is there any way to get a list of only the user windows?
> > (IE, ones that are open in the runtime environment).
>
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: How to get a list of all user windows?

2018-11-08 Thread Paul Lovejoy via 4D_Tech
It probably won’t help you... but I have a sort of toolbox through which the 
launching of all processes and the opening and closing of their respective 
windows go. I also use it for sending and receiving messages between processes. 

Paul 

> On 8 Nov 2018, at 21:16, John DeSoi via 4D_Tech <4d_tech@lists.4d.com> wrote:
> 
> You could use the Window process function find the process number. Then use 
> the "origin" parameter of PROCESS PROPERTIES to determine which processes 
> belong to the design process.
> 
> John DeSoi, Ph.D.
> 
> 
>> On Nov 8, 2018, at 1:46 PM, Pat Bensky via 4D_Tech <4d_tech@lists.4d.com> 
>> wrote:
>> 
>> The WINDOW LIST function creates a list of ALL open windows, including
>> method windows. Is there any way to get a list of only the user windows?
>> (IE, ones that are open in the runtime environment).
> 
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: How to get a list of all user windows?

2018-11-08 Thread John DeSoi via 4D_Tech
You could use the Window process function find the process number. Then use the 
"origin" parameter of PROCESS PROPERTIES to determine which processes belong to 
the design process.

John DeSoi, Ph.D.


> On Nov 8, 2018, at 1:46 PM, Pat Bensky via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> The WINDOW LIST function creates a list of ALL open windows, including
> method windows. Is there any way to get a list of only the user windows?
> (IE, ones that are open in the runtime environment).

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

Re: versioning in 4D

2018-11-08 Thread Charles Miller via 4D_Tech
Thanks. I fouind wha I was looking for as the developer who did compile
sent me the build xml. What I needed to know was the version not of 4D, but
of this once built and deployed.

Thanks any way

Regards

Chuck

On Thu, Nov 8, 2018 at 3:00 PM Tim Nevels via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> On Nov 8, 2018, at 1:31 PM, Charles Miller  wrote:
>
> > Does anyone know when I assign a version to a build of server, where that
> > data is stored and where that might be so I can manually modify that
> number
> > to do some testing
>
> If you are talking about the “Product Version” that is displayed in the
> “Details” tab when you open the “Properties” window for the .exe file on
> Windows, you can set that when you build the 4D Server application.
>
>
> https://www.dropbox.com/s/kcsnrk6x672oksv/Screen%20Shot%202018-11-08%20at%201.54.02%20PM.PNG?dl=0
>
> Do this with some XML build keys:
>
> $xPath_t:="/Preferences4D/BuildApp/Versioning/Common/CommonVersion"
> $value_t:=$newVersion_t
> DOM SET XML ELEMENT VALUE($buildAppXMLref_t;$xPath_t;$value_t)
>
> $xPath_t:="/Preferences4D/BuildApp/Versioning/Common/CommonCopyright"
> $value_t:=$newVersion_t+" ©1998-"+String(Year of(Current date))+"
> Innovative Solutions & The Midland Group"
> DOM SET XML ELEMENT VALUE($buildAppXMLref_t;$xPath_t;$value_t)
>
> If you are talking about the build number of 4D retrieved with the
> “Application version” command and the build number option, it always
> returns “0” for a built application. The docs tell you this. No way to
> natively know what 4D build was used when you built your merged with 4D
> Server application, or merged with 4D Volume Desktop 4D Client application.
> You have to store this info somewhere yourself and not use the “Application
> version” command.
>
> Tim
>
> *
> Tim Nevels
> Innovative Solutions
> 785-749-3444
> timnev...@mac.com
> *
>
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
-
 Chuck Miller Voice: (617) 739-0306 Fax: (617) 232-1064
 Informed Solutions, Inc.
 Brookline, MA 02446 USA Registered 4D Developer
   Providers of 4D, Sybase & SQL Server connectivity
  http://www.informed-solutions.com
-
This message and any attached documents contain information which may be
confidential, subject to privilege or exempt from disclosure under
applicable law.  These materials are intended only for the use of the
intended recipient. If you are not the intended recipient of this
transmission, you are hereby notified that any distribution, disclosure,
printing, copying, storage, modification or the taking of any action in
reliance upon this transmission is strictly prohibited.  Delivery of this
message to any person other than the intended recipient shall not
compromise or waive such confidentiality, privilege or exemption
from disclosure as to this communication.
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: versioning in 4D

2018-11-08 Thread Tim Nevels via 4D_Tech
On Nov 8, 2018, at 1:31 PM, Charles Miller  wrote:

> Does anyone know when I assign a version to a build of server, where that
> data is stored and where that might be so I can manually modify that number
> to do some testing

If you are talking about the “Product Version” that is displayed in the 
“Details” tab when you open the “Properties” window for the .exe file on 
Windows, you can set that when you build the 4D Server application.

https://www.dropbox.com/s/kcsnrk6x672oksv/Screen%20Shot%202018-11-08%20at%201.54.02%20PM.PNG?dl=0

Do this with some XML build keys:

$xPath_t:="/Preferences4D/BuildApp/Versioning/Common/CommonVersion"
$value_t:=$newVersion_t
DOM SET XML ELEMENT VALUE($buildAppXMLref_t;$xPath_t;$value_t)

$xPath_t:="/Preferences4D/BuildApp/Versioning/Common/CommonCopyright"
$value_t:=$newVersion_t+" ©1998-"+String(Year of(Current date))+" Innovative 
Solutions & The Midland Group"
DOM SET XML ELEMENT VALUE($buildAppXMLref_t;$xPath_t;$value_t)

If you are talking about the build number of 4D retrieved with the “Application 
version” command and the build number option, it always returns “0” for a built 
application. The docs tell you this. No way to natively know what 4D build was 
used when you built your merged with 4D Server application, or merged with 4D 
Volume Desktop 4D Client application. You have to store this info somewhere 
yourself and not use the “Application version” command.

Tim

*
Tim Nevels
Innovative Solutions
785-749-3444
timnev...@mac.com
*

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

How to get a list of all user windows?

2018-11-08 Thread Pat Bensky via 4D_Tech
The WINDOW LIST function creates a list of ALL open windows, including
method windows. Is there any way to get a list of only the user windows?
(IE, ones that are open in the runtime environment).

-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Cannot Dismiss Form When Compiled... (Robert ListMail)

2018-11-08 Thread Robert ListMail via 4D_Tech
Tim, you nailed it. I knew the approach was rudimentary ("super legacy”) but it 
just seemed to work (and I was okay with that for now) and I couldn’t find 
anything in the docs that suggested that Modify Selection should be called with 
a preceding explicit Open Form Window and in it’s own process. 4D TS was 
thinking (first thought) that one of the objects on the form might be damaged… 
after deleting all form objects except the button the behavior continued. 
Putting that legacy code in a new process seems to have solved the problem. For 
the moment, the request has been to get this app running on v17 with minimal 
changes. It’s one of those things that the more you look at it the more work 
needs to be done. 

Thanks,

Robert

> On Nov 7, 2018, at 2:25 PM, Tim Nevels via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> Is there an “Open window” company anywhere to be found, or is this all 
> running in the default 4D splash screen window? That could be the issue. Need 
> to stop using that window and process and start creating new processes and 
> doing explicit “Open window” commands in the new processes. That’s the new 4D 
> way. The single-window-never-open-a-window way is super legacy and is being 
> left behind rapidly by 4D engineering. My opinion.

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

4D/Drupal Commerce Integration - Consultant Sought

2018-11-08 Thread David Rose via 4D_Tech
I work for an organization that is considering the integration of two systems, 
one built with 4D, one with Drupal Commerce/MySQL.
We would like to engage the services of an experienced 4D developer who also 
has experience with Drupal in general and Drupal Commerce in particular.
The consultant's task will be to analyze all of the functionality in the two 
systems, and determine:
1. Whether it will be most prudent to keep the 4D system and port all of the 
existing Drupal functionality to it, or vice versa, or leave things as is.
2. If we don't leave things as is, what the estimated time required will be to 
accomplish the integration. (Two estimates will be required: one for a Drupal 
to 4D integration, one for a 4D to Drupal integration.) 

We have budgeted for approximately 50-100 hours of work to analyze our systems 
and produce a report with recommendations and cost estimates.

If you are interested in this job, please reply directly to me via email:
David Rose
drose...@gmail.com

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

versioning in 4D

2018-11-08 Thread Charles Miller via 4D_Tech
Hi All,

Does anyone know when I assign a version to a build of server, where that
data is stored and where that might be so I can manually modify that number
to do some testing

Thanks

Chuck

-- 
-
 Chuck Miller Voice: (617) 739-0306 Fax: (617) 232-1064
 Informed Solutions, Inc.
 Brookline, MA 02446 USA Registered 4D Developer
   Providers of 4D, Sybase & SQL Server connectivity
  http://www.informed-solutions.com
-
This message and any attached documents contain information which may be
confidential, subject to privilege or exempt from disclosure under
applicable law.  These materials are intended only for the use of the
intended recipient. If you are not the intended recipient of this
transmission, you are hereby notified that any distribution, disclosure,
printing, copying, storage, modification or the taking of any action in
reliance upon this transmission is strictly prohibited.  Delivery of this
message to any person other than the intended recipient shall not
compromise or waive such confidentiality, privilege or exemption
from disclosure as to this communication.
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

4D and SafeSign Identity Client

2018-11-08 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi,

I need to use a card reader in our 4D software
The authority that provides the card, wants us to use the SafeSign Identity 
Client

Does anybody have experience using SafeSign Identity Client along with 4D?

Gr,
Piotr

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

[ANN] 4D PDF Mailer/Printer Plugin v5.3.0 available - pdf xchange v7 support

2018-11-08 Thread Armin Deeg via 4D_Tech

node Systemloesungen located in Berlin Germany releases an update for the
4D PDF Printer/Mailer 4D plugin


This version 5.3.0 support the new pdf x-change v7 pdf printer driver.


The most powerful new feature is the ability to use of pre-defined settings 
from the PDF driver
maybe: (digital signatures, stamps, overlay watermarks, underlay watermarks, 
and much more...)


The plugin is available in 3 versions:

- light and pro (pro includes the pdf printer driver)
- plus (includes pro version) and a lot of commands to build an outlook mail
   client inside 4D + sync contacs, appointments and task with outlook
   (have a look at the demo database)


To download go to http://www.node.de/indexplug.htm

Version 5.3.0: Whats new since 5.2.4 release:

 * updated and complete rewrite of the plugin
 * 5.3.0 support for PDF X-Change v7
 * 5.3.0 updated nodexchange.dll (support for pdf driver 7.0.327.1)
 * 5.3.0 updated nodeoutlook.dll (Outlook 2019 {beta} and Outlook 
Centennial (Windows Store)
 compatibility)
 * 5.3.0 bug fix outlook e-mail with open attachments
 * 5.3.0 bug fix outlook plain text mail with a "." at the end of the 
message
 * 5.3.0 plugin works with pdf v6 or pdf v7 driver
 * 5.3.0 pdf X-Change driver v7 now works in two modes - GDI and XPS
 * 5.3.0 we recommend to use the pdf X-Change v6 pdf driver, cause the 
resulting pdfs
 are smaller than with the new v7 driver

This upgrade is free for all plugin 5 users



4D PDF Plugin with optional Royalty Free pdf printer driver.
Just print your documents directly from 4D Windows to get very small
colorful pdf files with activated hyperlinks, optional
bookmarks and letter form watermarks.


To download go to http://www.node.de/indexplug.htm

System requirements:

 * 4D Engine/Mono/Server/Client v12.6/v13.6/v14.6/v15.6/v16.4/v17.x + 
4D Server 32/64bit
 * Older 4d version 6.8.6 - v11.9 are supported with our sunsetted 
version 4
 * Windows only 
(WinXP/Win2003/Vista/Win7/Win8.x/Win10/Win2008/Win2011/Win2012/Win2016)
 * Sorry no Mac OS or OSX

What will you get:

 * 4D plugin 32/64Bit (bundle, win only with Mac stubs)
 * 4D sample database
 * Serial to unlock the plugin
 * PDF X-Change printer driver with silent install, to integrate within
   your installer (this is a commercial best selling, rock solid
   pdf printer driver, more informations http://www.docu-track.com)
   The distribution of the X-Change printer driver is Royalty Free
   within your compiled enduser application. (The light version
   of the plugin does not include the pdf printer license)
 * the PDF X-Change printer driver works only called from
   the 4D Plugin, otherwise it works in demo mode. (If you buy
   the light version, the pdf driver always works in demo mode
   until you have unlocked the driver with a separatly
   purchased serial from docu-track, then the driver suppresses
   the demo stamps).

Short feature list:

 * automatic switching between printer/pdf driver
 * collecting several print jobs and converting it into
   one pdf file (sets the pdf printer in idle mode to
   combine several print jobs and external documents into
   one pdf file, mixed print of 4D Draw, 4D Write,
   SuperReport, PrintList, 4D Chart, 4D Report ... is supported)
 * ability to choose from different letter form pages
   for watermark background (first and following pages).
   Background files could be pictures or pdf files.
 * set some pdf options (password, print, copy, change, annotations, 
title, owner, etc.)
 * print pdf to smtp email with optional full styled
   html email text including pictures (the print job spooled
   into a temporarily pdf file and send the pdf to your
   smtp server without any user interaction, no 4d internet commands 
necessarily)
 * print to MAPI email (the print job spooled into a
   pdf file and opens the standard MAPI mail client)
 * print pdf to MS OutLook email with optional full
   styled html email text including pictures (the print
   job spooled into a temporarily pdf file and send
   the pdf into your MS OutLook mail client without
   any user interaction). (Options are send direct,
   save in drafts, save in drafts and show the mail in MS outlook 
Editor)
 * send HTML E-Mail with HTML styled body to your smtp server
FREEWARE
 * send HTML E-Mail with HTML styled body with MS OutLookFREEWARE
 * zip files from a source arrayFREEWARE
 * download a web page to a txt fileFREEWARE
 * set colored bookmarks during your pdf print jobs
 * merge pdf files manually as an