4D server 12.6 as a service on a windows server 2016

2019-02-11 Thread Miguel Gonzalez via 4D_Tech
Hi All,

Has anyone is running 4D server12.6 as a service on a windows server
2016 machine?

When I start the service it tells me that the start parameter is wrong.
I've never used start parameters before.
Which parameter I need to supply to the service?

Thank you very much in advance.

-- 
Miguel Gonzalez
AcuBase Ltd.
**
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: v17 conundrum in design

2019-02-11 Thread Jim Hays via 4D_Tech
Chuck,

I've seen some cases where I put a break point in a method that was called
repeatedly.  I would click on the break point to remove it in the debugger,
but it would still stop there.
I solved it by:
- click to remove the break point
- click again, adding it back
- click again to remove it

Odd, but it worked and I didn't feel like figuring out why that happened.

Jim

On Sun, Feb 10, 2019 at 5:30 PM ADeeg via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> 4D Tech mailing list wrote
> > Hi All,
> >
> > I have an object method that shows no break points either in the method
> or
> > when I show break points, yet it continues to stop at a particular line
> of
> > code and it is annoying. Any ideas out there what it might be.
> >
> > Thanks and regards
> > Chuck
>
> Chuck does the code at this line contains the line split Charakter to split
> a long code line into several short lines?
>
> Sometimes my code stop at this line when they pasted from other sources
>
> Armin
>
>
>
> --
> Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
> **
> 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: v17 conundrum in design

2019-02-11 Thread Chuck Miller via 4D_Tech
Been there done that

Regards


Chuck

 Chuck Miller Voice: (617) 739-0306
 Informed Solutions, Inc. Fax: (617) 232-1064   
 mailto:cjmillerinformed-solutions.com 
 Brookline, MA 02446 USA Registered 4D Developer
   Providers of 4D and Sybase 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. 

> On Feb 11, 2019, at 11:47 AM, Jim Hays via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> Chuck,
> 
> I've seen some cases where I put a break point in a method that was called
> repeatedly.  I would click on the break point to remove it in the debugger,
> but it would still stop there.
> I solved it by:
> - click to remove the break point
> - click again, adding it back
> - click again to remove it

**
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 Write Pro-Creating Paragraphs

2019-02-11 Thread Mitchell Shiller via 4D_Tech
Hi,

Banging my head against the wall on this one.
Obviously a simple answer but it seems to be eluding me.

I want to programmatically create a series of paragraphs in WP,
Different paragraphs would have different attributes - e.g. font and margins 
etc.

I cannot find any examples in the KB or in the blog. Documentation seems a bit 
sparse on this.

Any hints?
Are there any example db’s out there?

Thanks

Mitch



**
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 display read-only input form

2019-02-11 Thread Jim Crate via 4D_Tech
On Feb 7, 2019, at 1:19 AM, Koen Van Hooreweghe via 4D_Tech 
<4d_tech@lists.4d.com> wrote:
> 
> Have you tried MODIFY SELECTION instead of MODIFY RECORD?
> Set the table in read only mode, make sure only the requested record is in 
> the current selection and then open the record using MODIFY SELECTION. 
> Without the. optional * parameters, this command should open it immediately 
> in the input form for a one record selection.
> If I remember correctly, no lock alert will be shown.

While the general consensus is that DIALOG is the way forward, I’ll try this 
for now since it should work with the code as it is.  In more user-oriented 
parts of the system, I am building more dynamic interfaces with subforms and 
such but for a quick “let me search and display data in this table” admin view 
this is convenient and easy.

> If a field is set to focusable but not enterable, the user can't edit the 
> content, but will be able to select and copy.

This works exactly as I wanted. Thanks!

Jim Crate

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

Error 30 When Using HTTP Get or HTTP Request

2019-02-11 Thread 4dinug via 4D_Tech
I am using v17R3 on Windows 10, and attempting to retrieve some 
resources from the web using HTTP Get() and HTTP Request() functions. 
Every attempt fails with an Error 30. Here is the contents of the arrays 
returned by GET LAST ERROR STACK:


*Code*  *Int Comp**
*   *Error description**
*
49
srvr
	SSL internal error : error:14077102:SSL 
routines:SSL23_GET_SERVER_HELLO:unsupported protocol

5
xbox
Access denied {path}
30  4DRT
Error #30

Attempting to retrieve the same resource from a web browser (e.g., 
Chrome) on the same machine is successful, so the problem is in 4D, not 
at the machine level.


Quitting 4D and restarting the database application had no effect.

There's  a thread from November where Bruno LeGay reported the same 
problem, but using v15.5 with  4D running as a service. Keisuke Miyako 
replied, saying something about DNS, but that can't be the issue here, 
since presumably 4D is using the same resolver that my web browser uses. 
Plus the error message returned says nothing about DNS, but rather 
indicates SSL issues as the source of the problem.


Any suggestions would be greatly appreciated.

Thanks.




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

Document-Management Solution for 4D

2019-02-11 Thread Klaus Droeder via 4D_Tech
Although I have used 4th Dimension for the last 25 years for my projects,
this is my first post (but hopefully not my last) in this forum.

My company specializes in medical database applications. In addition to
several 4D apps (mostly combined with SQL databases), we have developed a
professional DMS (Document Management System), which I would like to offer
here If you are interested in that kind of stuff read on, otherwise 
The target group for our software, simply called "MacPacs" are 4D
developers, who are looking for a performant and scalable option for saving
lots and lots of documents. Integration into any 4D application is done with
minimal effort, that is to say in less than half a day (seriously!).
If you only have to save a few thousand documents, you certainly do not need
such a software. Most of the time we used it to store medical reports (4D
Write, Word), scanned documents or sonography images. Because sometimes the
customer requirement was to store several million documents, we did not want
to save them either in the database or in the file system.

You can find all the technical details in a compact documentation here
(http://download.macdoc.biz/download.php?file=432). Any feedback or
questions are welcome.

If this (sub-)forum is not the right place for such content, I would like to
apologize in advance.

Thanks

Klaus Dröder



--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
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: Error 30 When Using HTTP Get or HTTP Request

2019-02-11 Thread Bruno LEGAY via 4D_Tech
Hi,

Could be there that the SSL/TLS version of your server is not supported (too 
old or too new).

You can use nmap or online tools to check the configuration of the server...

https://www.ssllabs.com/ssltest/

This will give you a list of ciphers

HTH
Bruno LEGAY


signature.asc
Description: Message signed with OpenPGP using GPGMail
**
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
**

[off] Project Request

2019-02-11 Thread David Ringsmuth via 4D_Tech
A customer of mine asked me to post this.

He has a project request using 4D’s REST API or Wakanda in front of 4D, 
creating a web-site that can replace an existing web site that is partially 
generated from Active4D.

If you are interested, and familiar with these tools, please contact me.

Thanks!
David Ringsmuth

**
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: Error 30 When Using HTTP Get or HTTP Request

2019-02-11 Thread Timothy Penner via 4D_Tech
I agree with Bruno; the most likely answer is that the server does not support 
TLS 1,2 - use the site Bruno mentioned in order to test the server to see what 
TLS versions it supports.

Check out the blog post from October 2017 describing the change in 4D where we 
no longer allow connections to servers that do not support TLS 1.2:
https://blog.4d.com/more-security-for-your-4d-server/

You can handle this on the 4D Side by lowering the minimum TLS version (shown 
in the tech tip below) but it's not recommended:
https://kb.4d.com/assetid=78102

Honestly, you should ask the provider to update their software so that it 
supports TLS 1.2 as the older algorithms have vulnerabilities in them and you 
shouldn't enable them if you are concerned about security.

-Tim





-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Bruno LEGAY via 
4D_Tech
Sent: Monday, February 11, 2019 12:18 PM
To: 4d_tech@lists.4d.com
Cc: Bruno LEGAY 
Subject: Re: Error 30 When Using HTTP Get or HTTP Request

Hi,

Could be there that the SSL/TLS version of your server is not supported (too 
old or too new).

You can use nmap or online tools to check the configuration of the server...

https://www.ssllabs.com/ssltest/

This will give you a list of ciphers

HTH
Bruno LEGAY
**
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
**

[off] Project Request

2019-02-11 Thread Tom DeMeo via 4D_Tech
Hi David,

I've worked extensively with Active4D for over a decade, and also did a 2 year 
full time stint building an app with Wakanda, so I should have the skills your 
client is looking for. 

Let me know if they have any interest in discussing this project. 


Regards,

Tom DeMeo
tde...@walthamsoftware.com 
781-405-9381



A customer of mine asked me to post this.

He has a project request using 4D’s REST API or Wakanda in front of 4D,
creating a web-site that can replace an existing web site that is partially
generated from Active4D.

If you are interested, and familiar with these tools, please contact me.

Thanks!
David Ringsmuth

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

Quoted from: 
http://4d.1045681.n5.nabble.com/off-Project-Request-tp5762348.html


_
Sent from http://4d.1045681.n5.nabble.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: Error 30 When Using HTTP Get or HTTP Request

2019-02-11 Thread 4dinug via 4D_Tech
Thanks, Tim and Bruno. You are both correct. This particular 
organization's server uses SSL3 and supports only TLS 1.0.


Given that the site in question belongs to one of the five largest 
museums in the world, I would rate my chances at getting them to 
re-deploy their server platform at my request are between zero and nil.


Thanks again.

On 2/11/2019 12:29 PM, Timothy Penner wrote:

I agree with Bruno; the most likely answer is that the server does not support 
TLS 1,2 - use the site Bruno mentioned in order to test the server to see what 
TLS versions it supports.

Check out the blog post from October 2017 describing the change in 4D where we 
no longer allow connections to servers that do not support TLS 1.2:
https://blog.4d.com/more-security-for-your-4d-server/

You can handle this on the 4D Side by lowering the minimum TLS version (shown 
in the tech tip below) but it's not recommended:
https://kb.4d.com/assetid=78102

Honestly, you should ask the provider to update their software so that it 
supports TLS 1.2 as the older algorithms have vulnerabilities in them and you 
shouldn't enable them if you are concerned about security.

-Tim




Timothy Penner
Senior Technical Services Engineer

4D Inc
95 S. Market Street, Suite #240
CA 95113 San Jose
United States

Téléphone : +1-408-557-4600
Standard :  +1-408-557-4600
Fax :   +1-408-271-5080
Email : tpen...@4d.com
Web :   www.4D.com





-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Bruno LEGAY via 
4D_Tech
Sent: Monday, February 11, 2019 12:18 PM
To: 4d_tech@lists.4d.com
Cc: Bruno LEGAY 
Subject: Re: Error 30 When Using HTTP Get or HTTP Request

Hi,

Could be there that the SSL/TLS version of your server is not supported (too 
old or too new).

You can use nmap or online tools to check the configuration of the server...

https://www.ssllabs.com/ssltest/

This will give you a list of ciphers

HTH
Bruno LEGAY



**
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: Error 30 When Using HTTP Get or HTTP Request

2019-02-11 Thread Keisuke Miyako via 4D_Tech
in case you missed it, the blog link that Tim posted
does explain how you can lower your TLS threshold on the 4D side
with SET DATABASE PARAMETER.

2019/02/12 8:15、4dinug via 4D_Tech 
<4d_tech@lists.4d.com>のメール:
I would rate my chances at getting them to re-deploy their server platform at 
my request are between zero and nil.



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