Re: [Warning] Settings properties values on object field by object notation

2017-11-02 Thread James Crate via 4D_Tech
On Oct 31, 2017, at 10:32 PM, Keisuke Miyako via 4D_Tech <4d_tech@lists.4d.com> 
wrote:

> but that's not how references work.
> 
> for example, imagine a method that does this:
> 
> // myMethod
> C_OBJECT($0)
> $0:=[myTable]myField
> 
> it is possible to do something like this:
> 
> myMethod.prop:="abc"
> 
> there is literally no way of knowing that an object is a field, just by 
> parsing the code.

4D doesn't have tell that the object is a field just by parsing the code. When 
doing the assignment, the reference must be followed to the actual object. 
There’s no reason the object internals can’t track whether an object is a 
sub-object of a field, and mark the field dirty when the object is changed. 

Jim Crate

**
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: [Warning] Settings properties values on object field by object notation

2017-11-02 Thread James Crate via 4D_Tech
On Oct 31, 2017, at 9:17 PM, Keisuke Miyako via 4D_Tech <4d_tech@lists.4d.com> 
wrote:

> but objects are references, so it is possible to modify the field without 
> "touching" it.
> the object notation is one way to do that.
> but it is also possible using classic coding,
> whereby you obtain a reference to a sub object (OB Get),
> and modify that sub object.
> again, the "parent" object is not modified directly,
> so it is not updated with SAVE RECORD.

I just want to add my vote (for the nothing it counts) that it is preposterous 
that data in a field can be changed and not saved when calling SAVE RECORD. The 
the only function of SAVE RECORD is to save the data that has been changed, and 
how it was changed should be completely irrelevant. 

Maybe a better way to say this is “there should be no possible way to modify a 
field without ‘touching’ it”.


> to explicitly indicate that the object has been modified, just use the line
> 
> [myTable]myObjectField:=[myTable]myObjectField
> and you have total control of when to save the field,

[myTable]myObjectField.somekey:=“A new value”  

That looks pretty explicit to me.

$obj:=OB Get([myTable]myObjectField;”Communications”)
OB SET($obj;”Reminder3”;Current Date)

SAVE RECORD([myTable])

Since 4D prior to v16r4 does not support dot notation, an object field 
sub-object may have been modified that way. Does that also not save the changed 
data? According to the recent discussion on this topic, it must not save 
properly. 

The fact that there could even be any confusion on whether changed data would 
be saved is a problem.


> to me this sounds like a better deal than a blanket "save always" system (the 
> real sloppy design choice, in my opinion)

The only reason us 4D programmers would need to implement a blanket “save 
always” system like the SAVE RECORD wrapper Peter Bozek mentioned is because 4D 
is not doing the right thing and saving the changed data. The only other option 
is to make sure we do not use object fields because they are broken.


Jim Crate

**
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: Working with a 64 bit Integer in an object

2017-11-02 Thread Justin Leavens via 4D_Tech
Keisuke Miyako wrote
> it seems correct that a number is mapped to real, according to JSON
> specification
> ...
> 
> if you must exchange Int64, I think it is the responsibility of the sender
> to use string.
> 
>> 2017/11/03 3:56、Justin Leavens via 4D_Tech <

> 4d_tech@.4d

>> のメール:
>> Unfortunately, 4D seems to munge the value immediately within the object
>> when the HTTP response is returned in an object.

I'm sure you are correct. Unfortunately, I don't have the power to force a
change from the provider.



--
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: v13 - LEP and windows commands

2017-11-02 Thread Timothy Penner via 4D_Tech
> there really isn’t a file named dir on your computer. Search for dir.exe or 
> dir.com; you won’t find it. Instead, dir is actually a command built into the 
> command shell (cmd.exe or command.exe, depending on the version of Windows 
> you are running). That means dir is available only when you are running the 
> command shell.

See also:
http://kb.4d.com/assetid=76658

-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: Working with a 64 bit Integer in an object

2017-11-02 Thread Keisuke Miyako via 4D_Tech
it seems correct that a number is mapped to real, according to JSON 
specification

> number
> int
> int frac
> int exp
> int frac exp
> int
> digit
> digit1-9 digits
> - digit
> - digit1-9 digits
> frac
> . digits
> exp
> e digits
> digits
> digit
> digit digits
> e
> e
> e+
> e-
> E
> E+
> E-

http://json.org

if you must exchange Int64, I think it is the responsibility of the sender to 
use string.

> 2017/11/03 3:56、Justin Leavens via 4D_Tech <4d_tech@lists.4d.com> のメール:
> Unfortunately, 4D seems to munge the value immediately within the object
> when the HTTP response is returned in an object.




**
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 - LEP and windows commands

2017-11-02 Thread Keisuke Miyako via 4D_Tech
this may explain:

https://blogs.technet.microsoft.com/heyscriptingguy/2004/08/10/how-can-i-call-the-dir-command/

quote

> there really isn’t a file named dir on your computer. Search for dir.exe or 
> dir.com; you won’t find it. Instead, dir is actually a command built into the 
> command shell (cmd.exe or command.exe, depending on the version of Windows 
> you are running). That means dir is available only when you are running the 
> command shell.

---

> 2017/11/03 5:04、Chip Scheide via 4D_Tech <4d_tech@lists.4d.com> のメール:
> I am unable to get LEP to function on windows .




**
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 - LEP and windows commands

2017-11-02 Thread Chip Scheide via 4D_Tech
I am unable to get LEP to function on windows .

I can not get any of the following commands to return any value other 
then the directory path to either the database, or 4D executable, where 
 is a valid DOS pathname.
Dir  /S
Dir
xCopy   /H /E
Copy  

It does not matter if I enclose the path in quotes, or not, use a 
method snatched from Keisuke's AP Sublaunch replacement (LEP_Escape) to 
escape the path name. The command (copy/xcopy) are NOT executed from 
LEP.

The commands, when typed as setup in 4D, work in the command line 
(cmd.exe) window.

maybe a set of .BAT files would work... but I have no idea how to build 
one.

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
**

Error 10071 - 4D Internet Commands

2017-11-02 Thread John S. Poteat via 4D_Tech
Hi Guys,

My application that logs into a IMAP Server to bring email into the 4D Database 
has started
reporting Error 10071 - TCP session was closed by the server.

At first we thought this might be a password problem since the mail server was 
telling us
the password for the account we are using needed to be change. We changed the 
password
on the mail server and put in the new password in our 4D Database but still 
continued to
get the same error.

In the past when we had problems connecting to the mail server, we would just 
take down
the 4D Server and reboot the machine. Once back up, we would start 4D Server 
and everything
would start working normally again. We tried it for this situation but it did 
not work.

If anyone could send me what they did to fix the 10071 error on your systems, I 
would love to 
hear them. 

I would also like to have any other additional information about this error 
code if you have any.

Thanks in advance for your help,
John Poteat
jpote...@gmail.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: v13 - LEP and MS-DOS command line

2017-11-02 Thread Chip Scheide via 4D_Tech
except: Windows security issues

On a related topic...
Keisuke sent me a link to a plugin. I can not get the plugin to be 
recognized

Plugin is in the folder "plugins" inside the database package.
I have re loaded the database.

what am I missing?

On Thu, 02 Nov 2017 14:08:54 -0500, Tim Nevels via 4D_Tech wrote:
> On Nov 2, 2017, at 2:00 PM, Chip Scheide wrote:
> 
>> Thanks - I thought about sticking it into a folder somewhere and doing 
>> basically that -
>> BUT this code is going to be part of a component...
> 
> Then this is good situation. Just put it into the “Resources” folder 
> of the component. You can get the path to that and then LEP du.exe 
> with that path and nobody will even know. It will just work and 
> nothing extra needs to be installed because what you need is 
> contained inside the component. 
> 
> Tim
> 
> 
> Tim Nevels
> Innovative Solutions
> 785-749-3444
> timnev...@mac.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
> **
---
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: NTK plugin installed but not recognizing commands on client using server

2017-11-02 Thread Douglas von Roeder via 4D_Tech
Michael:

If they don't tokenize, perhaps the compiler will flag them. That would
give you a roadmap to open and update the methods.

[aside] I wonder if getting and setting the text in a method would
accomplish the same thing?


--
Douglas von Roeder
949-336-2902

On Thu, Nov 2, 2017 at 11:51 AM, Michael Ferguson via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Solution found:
>
> Database was not retokenizing procedures, even though NTK calls looked
> bold and active. I think putting the database through maintenance and
> repair may address this problem.
>
> Thanks to those who replied.
>
> Michael Ferguson
>
> > On Nov 2, 2017, at 10:02 AM, Michael Ferguson via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
> >
> > Thanks Doug,
> >
> > Seems strange. The application runs fine in standalone with NTK in demo
> mode, but the problem appears on using a client. Might be a licensing issue
> even if the register command returns 1 valid. Using NTK 3.1 with v13.
> >
> > Michael
> >
> >
> >> On Nov 2, 2017, at 9:39 AM, Douglas von Roeder via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
> >>
> >> Michael:
> >>
> >> The content of the plugins folder is read when the application launches
> >> (server or mono).
> >>
> >>
> >> --
> >> Douglas von Roeder
> >> 949-336-2902
> >>
> >> On Thu, Nov 2, 2017 at 9:33 AM, Michael Ferguson via 4D_Tech <
> >> 4d_tech@lists.4d.com> wrote:
> >>
> >>> Hi,
> >>>
> >>> The license is properly installed and it is recognized in the Explorer,
> >>> but from the client none of the  NTK commands are recognized.
> >>>
> >>> Is this because a re-download of resources, etc., has to forced to the
> >>> clients?
> >>>
> >>> Thanks,
> >>>
> >>> Michael Ferguson
> >>> MyOfficeLink.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 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 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 - LEP and MS-DOS command line

2017-11-02 Thread Tim Nevels via 4D_Tech
On Nov 2, 2017, at 2:00 PM, Chip Scheide wrote:

> Thanks - I thought about sticking it into a folder somewhere and doing 
> basically that -
> BUT this code is going to be part of a component...

Then this is good situation. Just put it into the “Resources” folder of the 
component. You can get the path to that and then LEP du.exe with that path and 
nobody will even know. It will just work and nothing extra needs to be 
installed because what you need is contained inside the component. 

Tim


Tim Nevels
Innovative Solutions
785-749-3444
timnev...@mac.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: Working with a 64 bit Integer in an object

2017-11-02 Thread Justin Leavens via 4D_Tech
4D Tech mailing list wrote
> Yeah, if 4D isn't working, try NTK. In either case, if you can get at the
> value as raw text then you'll be able to find text --> 64-bit conversion
> code. The question in 4D at that point is how to store it. I know it's a
> field type, but can you touch it with anything other than SQL?

Unfortunately, 4D seems to munge the value immediately within the object
when the HTTP response is returned in an object. And the same happens when I
use NTK's JSON Get Number. So unfortunately I'm a little stuck.

I've asked Rob if he can figure out how to return the value in a string.



--
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: NTK plugin installed but not recognizing commands on client using server

2017-11-02 Thread Michael Ferguson via 4D_Tech
Solution found:

Database was not retokenizing procedures, even though NTK calls looked bold and 
active. I think putting the database through maintenance and repair may address 
this problem.

Thanks to those who replied.

Michael Ferguson

> On Nov 2, 2017, at 10:02 AM, Michael Ferguson via 4D_Tech 
> <4d_tech@lists.4d.com> wrote:
> 
> Thanks Doug,
> 
> Seems strange. The application runs fine in standalone with NTK in demo mode, 
> but the problem appears on using a client. Might be a licensing issue even if 
> the register command returns 1 valid. Using NTK 3.1 with v13.
> 
> Michael
> 
> 
>> On Nov 2, 2017, at 9:39 AM, Douglas von Roeder via 4D_Tech 
>> <4d_tech@lists.4d.com> wrote:
>> 
>> Michael:
>> 
>> The content of the plugins folder is read when the application launches
>> (server or mono).
>> 
>> 
>> --
>> Douglas von Roeder
>> 949-336-2902
>> 
>> On Thu, Nov 2, 2017 at 9:33 AM, Michael Ferguson via 4D_Tech <
>> 4d_tech@lists.4d.com> wrote:
>> 
>>> Hi,
>>> 
>>> The license is properly installed and it is recognized in the Explorer,
>>> but from the client none of the  NTK commands are recognized.
>>> 
>>> Is this because a re-download of resources, etc., has to forced to the
>>> clients?
>>> 
>>> Thanks,
>>> 
>>> Michael Ferguson
>>> MyOfficeLink.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 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: NTK plugin installed but not recognizing commands on client using server

2017-11-02 Thread Douglas von Roeder via 4D_Tech
Michael:
When 4D starts up, it loads the contents of the plug-ins folder and
displays their commands in the explorer. Seeing that NTK is registering, at
least that command is functional.
My experience has been that, if the plug-in commands are not visible in the
explorer, it’s because the resource IDs for those commands are in use by
another resource.
Does the "NTK Register" command appear in the Explorer?

On Thu, Nov 2, 2017 at 10:02 AM Michael Ferguson via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Thanks Doug,
>
> Seems strange. The application runs fine in standalone with NTK in demo
> mode, but the problem appears on using a client. Might be a licensing issue
> even if the register command returns 1 valid. Using NTK 3.1 with v13.
>
> Michael
>
>
> > On Nov 2, 2017, at 9:39 AM, Douglas von Roeder via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
> >
> > Michael:
> >
> > The content of the plugins folder is read when the application launches
> > (server or mono).
> >
> >
> > --
> > Douglas von Roeder
> > 949-336-2902 <(949)%20336-2902>
> >
> > On Thu, Nov 2, 2017 at 9:33 AM, Michael Ferguson via 4D_Tech <
> > 4d_tech@lists.4d.com> wrote:
> >
> >> Hi,
> >>
> >> The license is properly installed and it is recognized in the Explorer,
> >> but from the client none of the  NTK commands are recognized.
> >>
> >> Is this because a re-download of resources, etc., has to forced to the
> >> clients?
> >>
> >> Thanks,
> >>
> >> Michael Ferguson
> >> MyOfficeLink.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 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: v13 - LEP and MS-DOS command line

2017-11-02 Thread Chip Scheide via 4D_Tech
Thanks - I thought about sticking it into a folder somewhere and doing 
basically that -
BUT this code is going to be part of a component...

On Thu, 2 Nov 2017 17:10:34 +, Epperlein, Lutz (agendo) via 4D_Tech 
wrote:
> Regarding 'du' on Windows:
> You don't need to install it on the client machine. Only copy the 
> du.exe in an accessible directory with 4D means and run it with LEP. 
> Of course it is an .exe file, maybe some security software will stop 
> the execution. 
> 
> Only my 2 cents
> 
> Regards
> Lutz
> 
> 
> 
>> -Original Message-
>> From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of 
>> Chip Scheide via
>> 4D_Tech
>> Sent: Thursday, November 2, 2017 5:51 PM
>> To: 4D iNug Technical <4d_tech@lists.4d.com>
>> Cc: Chip Scheide <4d_o...@pghrepository.org>
>> Subject: RE: v13 - LEP and MS-DOS command line
>> 
>> Thanks for the link to DU for Windows, but in this instance the
>> software will not be on machines I control... so an additional piece of
>> software (outside of 4D, plugins are OK) does not work.
> **
> 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: v13 - LEP and MS-DOS command line

2017-11-02 Thread Epperlein, Lutz (agendo) via 4D_Tech
Regarding 'du' on Windows:
You don't need to install it on the client machine. Only copy the du.exe in an 
accessible directory with 4D means and run it with LEP. Of course it is an .exe 
file, maybe some security software will stop the execution. 

Only my 2 cents

Regards
Lutz



> -Original Message-
> From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Chip Scheide 
> via
> 4D_Tech
> Sent: Thursday, November 2, 2017 5:51 PM
> To: 4D iNug Technical <4d_tech@lists.4d.com>
> Cc: Chip Scheide <4d_o...@pghrepository.org>
> Subject: RE: v13 - LEP and MS-DOS command line
> 
> Thanks for the link to DU for Windows, but in this instance the
> software will not be on machines I control... so an additional piece of
> software (outside of 4D, plugins are OK) does not work.
**
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: NTK plugin installed but not recognizing commands on client using server

2017-11-02 Thread Michael Ferguson via 4D_Tech
Thanks Doug,

Seems strange. The application runs fine in standalone with NTK in demo mode, 
but the problem appears on using a client. Might be a licensing issue even if 
the register command returns 1 valid. Using NTK 3.1 with v13.

Michael


> On Nov 2, 2017, at 9:39 AM, Douglas von Roeder via 4D_Tech 
> <4d_tech@lists.4d.com> wrote:
> 
> Michael:
> 
> The content of the plugins folder is read when the application launches
> (server or mono).
> 
> 
> --
> Douglas von Roeder
> 949-336-2902
> 
> On Thu, Nov 2, 2017 at 9:33 AM, Michael Ferguson via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
> 
>> Hi,
>> 
>> The license is properly installed and it is recognized in the Explorer,
>> but from the client none of the  NTK commands are recognized.
>> 
>> Is this because a re-download of resources, etc., has to forced to the
>> clients?
>> 
>> Thanks,
>> 
>> Michael Ferguson
>> MyOfficeLink.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 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 - LEP and MS-DOS command line

2017-11-02 Thread Chip Scheide via 4D_Tech
Thanks for the link to DU for Windows, but in this instance the 
software will not be on machines I control... so an additional piece of 
software (outside of 4D, plugins are OK) does not work.
 
On Thu, 2 Nov 2017 16:21:14 +, Timothy Penner via 4D_Tech wrote:
> I was going to suggest using the 'du' command on macOS:
> 
https://developer.apple.com/legacy/library/documentation/Darwin/Reference/ManPages/man1/du.1.html
> 
> On windows, you can get the 'du' command from Microsoft/Sysinternals 
> and call it from the resources folder:
> https://docs.microsoft.com/en-us/sysinternals/downloads/du
> 
> -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
> **
---
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: NTK plugin installed but not recognizing commands on client using server

2017-11-02 Thread Douglas von Roeder via 4D_Tech
Michael:

The content of the plugins folder is read when the application launches
(server or mono).


--
Douglas von Roeder
949-336-2902

On Thu, Nov 2, 2017 at 9:33 AM, Michael Ferguson via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Hi,
>
> The license is properly installed and it is recognized in the Explorer,
> but from the client none of the  NTK commands are recognized.
>
> Is this because a re-download of resources, etc., has to forced to the
> clients?
>
> Thanks,
>
> Michael Ferguson
> MyOfficeLink.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
**

NTK plugin installed but not recognizing commands on client using server

2017-11-02 Thread Michael Ferguson via 4D_Tech
Hi,

The license is properly installed and it is recognized in the Explorer, but 
from the client none of the  NTK commands are recognized.

Is this because a re-download of resources, etc., has to forced to the clients?

Thanks,

Michael Ferguson
MyOfficeLink.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: open gmail in browser from 4D

2017-11-02 Thread Epperlein, Lutz (agendo) via 4D_Tech
> open url(“mailto:some mail”;"https://mail.google.com/“)

Of course this doesn't work. The second parameter is called appName according 
the docs (http://doc.4d.com/4Dv15/4D/15.5/OPEN-URL.301-3576781.en.html). 4D 
will use the local system to search for such an app. "https://mail.google.com/“ 
isn't an app, it is an URL.

You can try 
OPEN URL("https://mail.google.com/mail/u/0/#inbox?compose=new";) 
Of course the user has to be logged in into Gmail already. 
Maybe there is some documentation on the Google developer pages to do it more 
reliable.

HTH

Regards
Lutz

--  
Lutz Epperlein  
--
Agendo Gesellschaft für politische Planung mbH
Köpenicker Str. 9
10997 Berlin
http://www.agendo.de/
--



**
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 - LEP and MS-DOS command line

2017-11-02 Thread Timothy Penner via 4D_Tech
I was going to suggest using the 'du' command on macOS:
https://developer.apple.com/legacy/library/documentation/Darwin/Reference/ManPages/man1/du.1.html

On windows, you can get the 'du' command from Microsoft/Sysinternals and call 
it from the resources folder:
https://docs.microsoft.com/en-us/sysinternals/downloads/du

-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: [Warning] Settings properties values on object field by object notation

2017-11-02 Thread Timothy Penner via 4D_Tech
Hi Bernd,

> Problem is: how does the public find that forum?

Sorry - I was wrong about the public visibility of that particular subforum. It 
does appear to require a login, any user account should work (it does not need 
to be a partner). Once you have logged in to the forums you can find the 
feature requests forum under the list of Public Forums, it is labeled as 
"Feature requests". You can also use this direct link (login required): 
http://forums.4d.com/Forum/EN/1075213/0/0

Most of the subforums on forums.4d.com are publically visible, without needing 
to login, and I had assumed that this section was also visible to the public 
without login. But as you noticed, this is not the case with the feature 
requests forums. So I admit, I was wrong about that point, sorry for not double 
checking the visibility first.

-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: open gmail in browser from 4D

2017-11-02 Thread Charles Miller via 4D_Tech
Good try but no. I want to open a new mail message from inside a 4D
application. When I enter

open url(“mailto:some mail”;"https://mail.google.com/“)

it still opens my default email program.

I tried downloading the gmail application but that does the same thing.

Regards

Chuck

On Wed, Nov 1, 2017 at 6:29 PM, Keisuke Miyako via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> how about
>
> OPEN URL("https://mail.google.com/";)
>
> you could analyse the absolute path to reach a particular folder,
> but they could change at any time.
>
> and if the user is not already logged in to Google on their browser,
> they'd be redirected anyway.
>
>
>
> **
> 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
> **
>



-- 
-
 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)
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: Web Preferences Change on 15.5

2017-11-02 Thread Doug Hall via 4D_Tech
Thank you. This will help tremendously. I had read references to "User
Settings" before, but did not make the connection. Thanks for pointing me
right where I needed to go.

Doug

On Wed, Nov 1, 2017 at 9:36 PM, Keisuke Miyako via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Hello,
>
> my understanding is that since v2003, when client web server was first
> introduced,
> you need to edit a setting for the web server on client from 4D Remote (4D
> Client).
>
> if you change anything using 4D (single user),
> you would effectively over write all the settings for single user, server
> and remote.
>
> if you wanted to deploy client web server,
> the idea was to open your development structure file using 4D Server,
> connect with 4D Remote,
> change the settings for client web server,
> restart single user,
> and then export 4DC.
>
> since v11, you can even compile or restart the structure directly from a
> 4D Remote, provided you have the necessary licenses. it is no longer
> necessary to switch to mono, compile and build, then restart C/S.
> besides, to keep network usage under control, it is always good to develop
> a C/S application using 4D Remote, from time to time, if not all the time.
>
> it sounds as if either the web client settings are not set at the 4DB
> level, or was not properly copied to the exported 4DC file. if that is the
> case, you might want to pin down at which point the settings are lost. my
> understanding is that it was never the case that the remote settings would
> survive 4DC replacement on the server side.
>
> having said that, since v13, the preferred way to manage such
> configuration is to take advantage of user settings.
>
> http://doc.4d.com/4Dv15/4D/15.4/Using-user-settings.300-3285395.en.html
>
> > 2017/11/02 11:17、Doug Hall via 4D_Tech <4d_tech@lists.4d.com> のメール:
> > I didn't notice this happening on 4D 15.4, but it seems that now, when I
> > replace my structure on my 4D Server machine
>
>
>
>
> **
> 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: [Warning] Settings properties values on object field by object notation

2017-11-02 Thread Kirk Brooks via 4D_Tech
+1 - all of it

On Wed, Nov 1, 2017 at 9:56 PM, David Adams via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Thanks to TIm and Brian for responding here, always appreciated.
>
> There is no lack of clarity from 4D that the official channel is to post on
> the forums. Before that, it was bugs.4d.fr. That's always been clear.
> Heck,
> I can't even count the number of times I said that on this list over the
> years. Of course when I said it, I didn't really think much good would come
> from it. I can open up 4D today and point out tons of bugs (cosmetic,
> usability, functional, and crashing) that have been known about for years
> and versions. So, yeah, reporting bugs doesn't have a lot to do with bugs
> getting fixed.
>
> Pardon me for being so simple minded, but what remains completely unclear
> is why customer information is ignored. See, that's the issue: You've got
> customers sending you information, you know what they say, and you say
> "nope, doesn't count." That's about 4D's relationship with your customers,
> it's not about your customers doing things wrong. "Posting on the NUG
> doesn't count" just feels like a weak cop-out. That 4D doesn't see this, I
> just don't understand.
>
> If you guys used any sort of normal, commercial bug-tracking or forum
> platform, I think the position "do everything there" would be a lot more
> tenable.  But a hidden bug system (which I still have no access to because
> of my hemisphere) and a home-made forum system in 2017? You just have to
> accept that that's not going to work for some people. For good reason.
>
> I've tried the Forums. While 4D Engineers participate there a little, I
> heard nothing form the Product Team. Ever. And from Engineering, I mostly
> heard or observed that posts were being put in the "wrong" forum, and that
> any sort of design critique wasn't welcome. You can say that a feature is
> not working correctly, but that a feature or feature set has a design flaw?
> Not a good reception. At all.
>
> The question is, do you want to make 4D better? Do you want to make 4D more
> reliable? Yes or no. Blowing off customer input = "no". Making it harder
> for customers to provide input = "no". Not providing feedback on bug status
> = "no." Not documenting the tools properly = "no". Calling bad design
> "standard behavior" = "no." Telling people that its' down to us to track
> down a bug that freezes the server and that 4D isn't actively investigating
> it on their own? Yeah, that's most definitely "no." Giving people a hard
> time for pointing out flaws in the *design* of features, also "no".
>
> Your business, your choice.


-- 
Kirk Brooks
San Francisco, CA
===

*The only thing necessary for the triumph of evil is for good men to do
nothing.*

*- Edmund Burke*
**
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 - LEP and MS-DOS command line

2017-11-02 Thread Chip Scheide via 4D_Tech
I have not yet looked at the plugin, but my idea was to let the OS 
handle directory size calculations, on both platforms.

on Mac/Unix du -c returns text which looks something like this (desktop 
folder size):
 10472072/Users//Desktop/
 27426552  /Users//Desktop


as I understand the DOS command 'dir', and my simple test in cmd.exe.
Dir  /S --- returns the current directory, and sub directories, 
listing, with a total of ALL file and sub-directory sizes.
the last 3 lines of this (assuming the result is text) look like this:
 Total Files Listed:
2678 File(s)  1,839,599,592 bytes
2924 Dir(s)  369,796,022,272 bytes free

given that, it is simple to parse out the total directory size (2678 
File(s)  1,839,599,592 bytes)

On Thu, 2 Nov 2017 08:42:38 +, Keisuke Miyako via 4D_Tech wrote:
> I looked up the internet, it turns out we really have to traverse the 
> directory tree...
> given the atomic nature of LEP, it might not be the best way to 
> calculate the total size of files in a folder.
> 
> here is plugin with an option to abort:
> 
> https://github.com/miyako/4d-plugin-get-folder-size
> 
> 
> 
> **
> 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: v13 - LEP and MS-DOS command line

2017-11-02 Thread Chip Scheide via 4D_Tech
WOW!
Great!

Thanks!

Chip
> I looked up the internet, it turns out we really have to traverse the 
> directory tree...
> given the atomic nature of LEP, it might not be the best way to 
> calculate the total size of files in a folder.
> 
> here is plugin with an option to abort:
> 
> https://github.com/miyako/4d-plugin-get-folder-size
> 
> 
> 
> **
> 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
> **

Hell is other people 
 Jean-Paul Sartre
**
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 - LEP and MS-DOS command line

2017-11-02 Thread Keisuke Miyako via 4D_Tech
I looked up the internet, it turns out we really have to traverse the directory 
tree...
given the atomic nature of LEP, it might not be the best way to calculate the 
total size of files in a folder.

here is plugin with an option to abort:

https://github.com/miyako/4d-plugin-get-folder-size



**
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
**