Re: JSON Validator in POP component, where is it?

2018-04-08 Thread Keisuke Miyako via 4D_Tech
I am not sure if it is packaged as a Pop but you can find a validator demo here:

http://download.4d.com/4DBlog/Tips/JSONValidator_4Dv16R4.zip

and a How Do I? here:

http://download.4d.com/Demos/4D_v17/HDI_JSONFileValidation.zip

the demo was features in this blog post:

https://blog.4d.com/a-new-tool-json-validator/

> 2018/04/07 21:24、John Baughman via 4D_Tech <4d_tech@lists.4d.com> のメール:
>
> My summit notes for the Dynamic Forms session indicates that there is a JASON 
> validator in the POP component. If I heard hat correctly, what version of the 
> ocmponent is it in and where can I find it?




**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
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: Equivalent of FORM GOTO SUBFORM PAGE

2018-04-08 Thread truegold via 4D_Tech
Hi,

>> you can call FORM GOTO PAGE with an asterisk option 
>> http://doc.4d.com/4Dv15/4D/15.5/FORM-GOTO-PAGE.301-3577151.en.html”

Ah yes, this was mentioned to me some time ago and I had completely forgotten.

Thanks, that was so simple!

John…


> Hi All,
> 
> Might be a good time to revisit this issue I had some time back. well and 
> actually I have a need for it to work once again.
> 
> Scenario: I have a parent form which has a single subform container. This 
> container is set via code to a subform where I do edits of various kinds. 
> There are two pages of this subform (previously had two different subforms 
> but these are too similar).
> 
> When this parent form is opened I want this subform to change to either page 
> one or page two based upon a condition.
> 
> My questions are:
> 
> 1. Can a subform (within a subform container) have multiple pages that can be 
> switched to via code?
> 
> 2. If the answer is yes, then where do I tell this subform to change it’s 
> page.
> 
> 3. Since FORM GOTO PAGE seems to only work with the parent form do we have 
> the equivalent of FORM GOTO SUBFORM PAGE ?
> 
> Seems like we need something like this to work.
> 
> I’ve tried many different combinations of “CALL SUBFORM CONTAINER” and/or 
> “EXECUTE METHOD IN SUBFORM” but the code fires but the parent form always 
> changes page.
> 
> Anyone know how to deal with this?
> 
> Appreciate,
> John...

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

Thousands of invalid processes - Delay Process issue?

2018-04-08 Thread Jeffrey Kain via 4D_Tech
I posted last Saturday that we were hit by the DELAY PROCESS bug in v16 three 
times in one day - once on each of our two mirrors, and also on our production 
server in (at least) the stored procedure that generates the journal files.

I resumed the mirror process without any problem and let the production server 
run, but also noticed the usual pattern that 4D had stopped updating its user 
interface also. Things like the CPU graph on the monitor tab had stopped 
updating, and the uptime display was wrong.

I checked on the server today from the administration window command in 4D 
Remote, which doesn't stop updating even if the server UI does. There are about 
100 users connected with about 600 processes running, but on the Process tab 
there are over 5600 "Users Processes" and over 1200 "4D Processes" for just 100 
users.  There are MANY "Reused spare processes" and lots of processes from 
users who are no longer connected to the server (and users who wouldn't be 
working on a Sunday anyway). 

Anyone ever seen anything like this? This is a Windows Server 2012 64-bit 
running 16.3 HF2. I'm guessing that this all stems from the DELAY PROCESS bug - 
one thought is that some background cleanup/garbage collection task has stopped 
working.

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




**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
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: JSON Validator in POP component, where is it?

2018-04-08 Thread John Baughman via 4D_Tech
Thanks Miyako. 

> On Apr 8, 2018, at 12:52 AM, Keisuke Miyako via 4D_Tech 
> <4d_tech@lists.4d.com> wrote:
> 
> I am not sure if it is packaged as a Pop but you can find a validator demo 
> here:
> 
> http://download.4d.com/4DBlog/Tips/JSONValidator_4Dv16R4.zip
> 
> and a How Do I? here:
> 
> http://download.4d.com/Demos/4D_v17/HDI_JSONFileValidation.zip
> 
> the demo was features in this blog post:
> 
> https://blog.4d.com/a-new-tool-json-validator/
> 
>> 2018/04/07 21:24、John Baughman via 4D_Tech <4d_tech@lists.4d.com> のメール:
>> 
>> My summit notes for the Dynamic Forms session indicates that there is a 
>> JASON validator in the POP component. If I heard hat correctly, what version 
>> of the ocmponent is it in and where can I find it?
> 
> 
> 
> 
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

John Baughman
Kailua, Hawaii
(808) 262-0328
john...@hawaii.rr.com





**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
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 can I get a windows Users list

2018-04-08 Thread John Baughman via 4D_Tech
I want to run the command line command Net User on Windows Server 2008 to get a 
list the local users. 

If I run Net User in the command line it lists the local users, which is what I 
want. So I think I need to use LEP but I am not sure how. I think a PowerShell 
or PSP script is what I need, but I cannot find an example or figure how to 
write one.

Active Directory is not being used.

Thanks for any help,

John


John Baughman
Kailua, Hawaii
(808) 262-0328
john...@hawaii.rr.com





**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
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 can I get a windows Users list

2018-04-08 Thread Julio Carneiro via 4D_Tech
Try this:

   C_TEXT($cmd;$in;$out;$err)
   $cmd:="net user"
   LAUNCH EXTERNAL PROCESS($cmd;$in;$out;$err)

$out should get the result from ‘net user’. All you have to do is parse it to 
get the user list.

Abraço,
julio

> On Apr 8, 2018, at 4:15 PM, John Baughman via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> I want to run the command line command Net User on Windows Server 2008 to get 
> a list the local users. 
> 
> If I run Net User in the command line it lists the local users, which is what 
> I want. So I think I need to use LEP but I am not sure how. I think a 
> PowerShell or PSP script is what I need, but I cannot find an example or 
> figure how to write one.
> 
> Active Directory is not being used.
> 
> Thanks for any help,
> 
> John
> 
> 
> John Baughman
> Kailua, Hawaii
> (808) 262-0328
> john...@hawaii.rr.com
> 
> 
> 
> 
> 
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

--
Julio Carneiro
jjfo...@gmail.com



**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
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 can I get a windows Users list

2018-04-08 Thread Chip Scheide via 4D_Tech
I have not used this particular command
try:
LEP("cmd.exe Net user";$LEP_Input;$LEP_Output;$LEP_Error)

this should put the text from the command line into the variable $LEP_Output


> I want to run the command line command Net User on Windows Server 
> 2008 to get a list the local users. 
> 
> If I run Net User in the command line it lists the local users, which 
> is what I want. So I think I need to use LEP but I am not sure how. I 
> think a PowerShell or PSP script is what I need, but I cannot find an 
> example or figure how to write one.
> 
> Active Directory is not being used.
> 
> Thanks for any help,
> 
> John
> 
> 
> John Baughman
> Kailua, Hawaii
> (808) 262-0328
> john...@hawaii.rr.com
> 
> 
> 
> 
> 
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: https://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: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: How can I get a windows Users list

2018-04-08 Thread John Baughman via 4D_Tech
Thanks Julio. That worked. The way the docs read with regard to LEP and 
windows, I thought that unlike on a mac, a file was needed.

To Chip, Thanks for you quick response. Needed to leave out the cmd.exe.

John

> On Apr 8, 2018, at 9:59 AM, Julio Carneiro via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> Try this:
> 
>   C_TEXT($cmd;$in;$out;$err)
>   $cmd:="net user"
>   LAUNCH EXTERNAL PROCESS($cmd;$in;$out;$err)
> 
> $out should get the result from ‘net user’. All you have to do is parse it to 
> get the user list.
> 
> Abraço,
> julio
> 
>> On Apr 8, 2018, at 4:15 PM, John Baughman via 4D_Tech <4d_tech@lists.4d.com> 
>> wrote:
>> 
>> I want to run the command line command Net User on Windows Server 2008 to 
>> get a list the local users. 
>> 
>> If I run Net User in the command line it lists the local users, which is 
>> what I want. So I think I need to use LEP but I am not sure how. I think a 
>> PowerShell or PSP script is what I need, but I cannot find an example or 
>> figure how to write one.
>> 
>> Active Directory is not being used.
>> 
>> Thanks for any help,
>> 
>> John
>> 
>> 
>> John Baughman
>> Kailua, Hawaii
>> (808) 262-0328
>> john...@hawaii.rr.com
>> 
>> 
>> 
>> 
>> 
>> **
>> 4D Internet Users Group (4D iNUG)
>> FAQ:  http://lists.4d.com/faqnug.html
>> Archive:  http://lists.4d.com/archives.html
>> Options: https://lists.4d.com/mailman/options/4d_tech
>> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
>> **
> 
> --
> Julio Carneiro
> jjfo...@gmail.com
> 
> 
> 
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

John Baughman
Kailua, Hawaii
(808) 262-0328
john...@hawaii.rr.com





**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
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: JSON Validator in POP component, where is it?

2018-04-08 Thread Wayne Stewart via 4D_Tech
Hi,

I think I saw it in the partner source code section of the forum


Regards,

Wayne


[image: --]
Wayne Stewart
[image: http://]about.me/waynestewart



On 9 April 2018 at 01:43, John Baughman via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> Thanks Miyako.
>
> > On Apr 8, 2018, at 12:52 AM, Keisuke Miyako via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
> >
> > I am not sure if it is packaged as a Pop but you can find a validator
> demo here:
> >
> > http://download.4d.com/4DBlog/Tips/JSONValidator_4Dv16R4.zip
> >
> > and a How Do I? here:
> >
> > http://download.4d.com/Demos/4D_v17/HDI_JSONFileValidation.zip
> >
> > the demo was features in this blog post:
> >
> > https://blog.4d.com/a-new-tool-json-validator/
> >
> >> 2018/04/07 21:24、John Baughman via 4D_Tech <4d_tech@lists.4d.com> のメール:
> >>
> >> My summit notes for the Dynamic Forms session indicates that there is a
> JASON validator in the POP component. If I heard hat correctly, what
> version of the ocmponent is it in and where can I find it?
> >
> >
> >
> >
> > **
> > 4D Internet Users Group (4D iNUG)
> > FAQ:  http://lists.4d.com/faqnug.html
> > Archive:  http://lists.4d.com/archives.html
> > Options: https://lists.4d.com/mailman/options/4d_tech
> > Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> > **
>
> John Baughman
> Kailua, Hawaii
> (808) 262-0328
> john...@hawaii.rr.com
>
>
>
>
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> 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)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**