RE: iNUG List "From" Change

2017-02-17 Thread Epperlein, Lutz (agendo) via 4D_Tech
Which mailer do you use? Apple Mail? Outlook on Windows shows something like that: "4D_Tech <4d_tech-boun...@lists.4d.com>; im Auftrag von; Cannon Smith via 4D_Tech <4d_tech@lists.4d.com>" It's a German Outlook version, "im Auftrag von" means "on behalf of". In the headers there is presently

RE: Why doesn't 4D generate a crash log or report?

2017-02-23 Thread Epperlein, Lutz (agendo) via 4D_Tech
Two remarks to the Windows crash dump: - If the app is running in a by Windows write protected folder the crash dump is saved in the so called virtual store, e.g. if the 4D.exe of 4D V15.3 is crashed you will find the dump under "C:\Users\\AppData\Local\VirtualStore\Program Files (x86)\4D\4D

How to digitally sign an XML document

2017-03-28 Thread Epperlein, Lutz (agendo) via 4D_Tech
The subject says it. How do I do this with 4D? I found a description how to do it using the .NET Framework: https://msdn.microsoft.com/de-de/library/ms229745(v=vs.110).aspx The following question is the question for verifying of signed xml documents. There exists a .NET reference too:

RE: tab seperated text - what to use for Cr

2017-03-16 Thread Epperlein, Lutz (agendo) via 4D_Tech
The easiest way to get what Excel wants to get, is creating example data in Excel and exporting it as a tab delimited file. The problematic characters are line wraps, tabs and quotes inside a cell. The rules: - field delimiter is tab, record delimiter is CR LF (0x0d 0x0a) - Tabs inside cells

RE: 4D Server Crashes When Tracing Buggy Web Connection Code

2017-04-07 Thread Epperlein, Lutz (agendo) via 4D_Tech
To be honest, I don't understand these problems. Our main product relies heavily on the 4D webserver on the server, for years. So far there aren't any serious problems. If there are any, we wouldn't use 4D anymore. And running the webserver on a client isn't an option for us. The only problem

RE: 4D Server Crashes When Tracing Buggy Web Connection Code

2017-04-10 Thread Epperlein, Lutz (agendo) via 4D_Tech
To refer to the original cause of the crash ... Unfortunately the compiler doesn't find such problems (negative array index variable), this is a typical runtime problem. All what you can do is to write "defensive" code, e.g. checking the value of an index variable, using error handler, don't

RE: 4D unit testing framework

2017-04-10 Thread Epperlein, Lutz (agendo) via 4D_Tech
We use it with 4D V15.3, there aren't any serious problems with. Not tested with V16 yet. We implemented some minor changes in the past, mostly cosmetically by the help of a trainee. We plan an overhaul of the component to adapt it better to our processes. Unfortunately the trainee isn't

IMAP_Download and "Error with IMAP PARTIAL"

2017-04-13 Thread Epperlein, Lutz (agendo) via 4D_Tech
Hi, I'm just investigating to solve an error while downloading an email using IMAP. But so far I'm stuck. After using the command "IMAP_Download" of the Internet Commands plugin I got an error with code 10099 and the description "Error with IMAP PARTIAL". I'm not have any clue how to solve

RE: Methods, Components, Comments, and Tooltips

2017-04-20 Thread Epperlein, Lutz (agendo) via 4D_Tech
Hi Nigel, basically I'm interested, we are following a similar approach. I should explain it a bit. At first we use a modified version of the mentioned vc-framework component. It saves all changes in the code to text files immediately and keeps track of the timestamps of the changes in an

RE: Methods, Components, Comments, and Tooltips

2017-04-20 Thread Epperlein, Lutz (agendo) via 4D_Tech
> 1 - how does one get access to the 4D source code outside of 4D? Is there a > magic > command to get 4D to regurgitate its code into plain text? METHOD GET CODE Since V13 Than you can do what you want with the text. An example is the VC-Framework component by J. Fletcher:

RE: Methods, Components, Comments, and Tooltips

2017-04-20 Thread Epperlein, Lutz (agendo) via 4D_Tech
Kirk, Interesting approach. And your remark about deleted methods rings a bell ... > Something this won't catch that Josh's VC did is deleted methods... Yes, the vc-framework handles deleted methods for export. It means if I delete a method in 4D the former exported text file with the code is

RE: Methods, Components, Comments, and Tooltips

2017-04-20 Thread Epperlein, Lutz (agendo) via 4D_Tech
> Do your apps use 4D forms? If so, how do you deal with them with respect to > version > control? No, our approach doesn't cover forms, it is usable only for methods like project methods, object methods, form methods, short: all methods editable in the method editor of 4D. Since our

RE: IMAP_Download and "Error with IMAP PARTIAL"

2017-04-18 Thread Epperlein, Lutz (agendo) via 4D_Tech
Hi Armin, many thanks for your code. I implemented it in our app and it works like a charm. But we do an upgrade of 4D the same time. And now, believe it or not, it works with the IMAP_Download command from the Internet Commands plugin too. But that is not all of the story. There wasn't a 4D

RE: v15 - html/help viewer documentation

2017-04-20 Thread Epperlein, Lutz (agendo) via 4D_Tech
Just read your posting and I thought, ahh, it's a good idea to download the language reference to have an offline access. But the download links are broken on http://doc.4d.com/4Dv15/4D/15.4/4D-Language-Reference.100-3273598.en.html: Souce code: Doc_HTML_multilang_4Dv15.zip (736,54 Mo) No

RE: Backup files - restoring backup

2017-03-13 Thread Epperlein, Lutz (agendo) via 4D_Tech
> I think the .bk files must be there somewhere - they just can't find them. Maybe. Or they have only a (very large) journal file ... Because the backup isn't configured, but the writing the journal file is active. Regards Lutz

RE: sending mail with Exchange server

2017-03-10 Thread Epperlein, Lutz (agendo) via 4D_Tech
Hi, you just opened the whole box of Pandora regarding email sending. In the last years more and more techniques are evolved to prevent spam, SPF, DKIM, DMARC to name a view. And if someone argue "it worked in the past for years" it is the best sign, there could be something wrong. We are

RE: Bug or feature?

2017-03-06 Thread Epperlein, Lutz (agendo) via 4D_Tech
> Most programming environments have a way to deal with runtime errors. Many > good ones have constructs like try/catch/throw. 4D really needs something > like this. I second this too, it would be much better than the present state. But regarding the discussion about runtime errors, pl4ease read

JSON/objects and two-dimensional arrays

2017-08-03 Thread Epperlein, Lutz (agendo) via 4D_Tech
> JSON Validate, Collections and a NULL command! > > http://blog.4d.com/en-whats-new-in-4d-v16-r4/ Nice improvements. Unfortunately they didn't remove the limitation of the OB SET ARRAY command regarding the support of two-dimensional arrays. At least the docs say: > Note: It is not possible

RE: Wiki software: Confluence

2017-07-13 Thread Epperlein, Lutz (agendo) via 4D_Tech
> From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Jeffrey Kain > via > > Jira sucks. That's a statement, it would be interesting to know why do you think so? Or are you convinced the TAOW (https://taow.4d.com/Home/home.en.html) by 4D is better? (To throw in a complete

RE: PHP Execute

2017-07-17 Thread Epperlein, Lutz (agendo) via 4D_Tech
> (please say yes) Yes! What's the reason of the question? Or, why do you think PHP and 4D don't work in a compiled environment? Regards Lutz -- Lutz Epperlein -- Agendo Gesellschaft für politische Planung mbH Köpenicker Str. 9 10997 Berlin

RE: 2dim json arrays with scalar values

2017-07-27 Thread Epperlein, Lutz (agendo) via 4D_Tech
ux > via 4D_Tech > Sent: Thursday, July 27, 2017 2:35 PM > To: 4D iNug Technical <4d_tech@lists.4d.com> > Cc: Rob Laveaux <rob.lave...@pluggers.nl> > Subject: Re: 2dim json arrays with scalar values > > > > On 27 Jul 2017, at 14:09, Epperlein, L

2dim json arrays with scalar values

2017-07-27 Thread Epperlein, Lutz (agendo) via 4D_Tech
Hi, Maybe it is related to the recent discussion pro and contra the quality of 4D's JSON implementation. I think I found a serious problem, a real limitation of 4D's JSON. 4D's JSON resp. object implementation is able to handle arrays, so far, so good. But even the doc states that it doesn't

RE: 2dim json arrays with scalar values

2017-07-27 Thread Epperlein, Lutz (agendo) via 4D_Tech
> The result should be: > { "values": [ > [ 4711 ] > ] } > > Is this possible too? OK, found it. It is possible. (To be honest, I didn't expect anything else) The only question is now, how do I combine the code developed using 4D's object commands with the NTK JSON API? E.g., I have a

RE: 4D and Git Connection

2017-08-22 Thread Epperlein, Lutz (agendo) via 4D_Tech
We use this component daily: https://github.com/elutz/vc-framework-v15 After export, which happens instantaneously, the changes are committed into a Mercurial VCS. We do the check in manually, but it would be possible to define hooks to do an automatic check in. All is explained on the github

RE: Getting back to interpreted mode

2017-08-23 Thread Epperlein, Lutz (agendo) via 4D_Tech
Start 4D, use the Open File dialog (Ctrl-O on Windows), choose your .4DB file and select the option "Interpreted application" of the Open button of the file dialog. HTH Lutz > -Original Message- > From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Doug > Cottrill via >

RE: SMTP error 10113 Error with Authentication

2017-05-10 Thread Epperlein, Lutz (agendo) via 4D_Tech
Try 4DIC Plugin 15.0 > -Original Message- > From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of David > Ringsmuth via 4D_Tech > Sent: Wednesday, May 10, 2017 5:41 PM > To: Timothy Penner via 4D_Tech <4d_tech@lists.4d.com> > Cc: davidi...@gmail.com > Subject: SMTP error 10113

RE: Migrating OS X server to Windows Server

2017-05-17 Thread Epperlein, Lutz (agendo) via 4D_Tech
My 2 cents: http://kb.4d.com/assetid=77769 Regards Lutz ** 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

RE: v13 crashes compiled and freezes

2017-05-23 Thread Epperlein, Lutz (agendo) via 4D_Tech
My first favorite cause of crashing compiled databases is a negative array index. That's very reliable, hard to find. The best way to avoid such problems is to code defensively while handling arrays. Good luck Lutz -- Lutz Epperlein -- Agendo

RE: Preemptive mode flaw

2017-05-08 Thread Epperlein, Lutz (agendo) via 4D_Tech
http://doc.4d.com/4Dv16R2/4D/16-R2.1620/Preemptive-4D-processes.300-3111846.en.html look at "Availability of preemptive mode" The use of preemptive mode is available in 4D 64-bit versions only. The following execution contexts are currently supported: Preemptive execution 4D Server X 4D

RE: Check if DOM element has attribute

2017-09-22 Thread Epperlein, Lutz (agendo) via 4D_Tech
I don't think so. But you can build your own implementation using - DOM Count XML attributes - DOM GET XML ATTRIBUTE BY INDEX Or - DOM GET XML ATTRIBUTE BY NAME in conjunction with an error handler HTH Lutz Epperlein > Is there a 4D equivalent of: DOMElement::hasAttributeNS — Checks to see

RE: Configure SSL Web Server on 4Dv15

2017-09-21 Thread Epperlein, Lutz (agendo) via 4D_Tech
Hi Andrea Look here: http://forums.4d.com/Post/DE/17153654/1/17153655#17153779 (in German, but you can translate it in a good quality with https://www.deepl.com/translator). Here is it done for you: --- The certificates must be in "pem" format, see:

RE: 4D Write Pro - WP EXPORT DOCUMENT to WORD?

2017-09-18 Thread Epperlein, Lutz (agendo) via 4D_Tech
+1 for exporting 4D Write Pro documents to MS Word (aka Office Open XML format). Maybe this could be worth feature request? Here it is: http://forums.4d.com/Post//20813501/1/ Please vote for it. Regards Lutz ** 4D Internet

RE: What to do about users who won't follow instructions?

2017-10-05 Thread Epperlein, Lutz (agendo) via 4D_Tech
Did you read this: http://www.clarify-it.com/blog/the-future-of-clarify: The Future (or Lack Thereof) of Clarify and Clarify-it.com Regards Lutz > > For short documentation/training, I use Clarify: > > http://www.clarify-it.com/learn > > It is on Mac &

(Offish) RE: NB: Pre-emptive mode hassle

2017-10-12 Thread Epperlein, Lutz (agendo) via 4D_Tech
> Nobody likes when someone says “what’s wrong with you? You are a weirdo for > not > thinking of this.” > > you are going to catch a lot more flies with honey than with vinegar. Give it > a > try you are going to find it really does work. > Who do you want to talk to or listen to? A

RE: QUERY BY ATTRIBUTE is slow af

2017-09-13 Thread Epperlein, Lutz (agendo) via 4D_Tech
Since the feature of object fields is very near the concept of NoSQL databases like MongoDB and so on (at least it is partly stolen from their) ... I think the following article by Sarah Mei summarizes the discussion in the this thread in a way:

RE: QUERY BY ATTRIBUTE is slow af

2017-09-12 Thread Epperlein, Lutz (agendo) via 4D_Tech
Maybe there is an issue with @ character in the search string ... I've no idea how to circumvent it. HTH Regards Lutz > -Original Message- > From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Jeffrey Kain > via > 4D_Tech > Sent: Tuesday, September 12, 2017 5:23 PM > To:

RE: NGINX Config

2017-10-02 Thread Epperlein, Lutz (agendo) via 4D_Tech
SSL certificates are tied to a domain, not to physical computer. A client (browser) is not able to resolve to a physical machine. And this is a good thing! I can't imagine what will happen if clients would get information of our physicals machines even it would be the MAC address only. The

RE: Making LOG EVENT thread-safe

2017-09-25 Thread Epperlein, Lutz (agendo) via 4D_Tech
I asked because we use a little own implementation of writing log files. This is all before V16. We use semaphores to avoid race conditions while writing to the file. And one of our first projects after updating to V16 should be the rewriting of this code using workers. So I'm a bit

RE: Making LOG EVENT thread-safe

2017-09-25 Thread Epperlein, Lutz (agendo) via 4D_Tech
A question: What other approaches did you try to implement a logging feature using preemptive threads. I'm pretty sure there is something buried in the threads of this mailinglist but I'm not able to find it. Thanks Lutz Epperlein > -Original Message- > From: 4D_Tech

RE: v13 - LEP and MS-DOS command line

2017-11-03 Thread Epperlein, Lutz (agendo) via 4D_Tech
Maybe the same thing like in this thread: Re: NTK plugin installed but not recognizing commands on client using server: > Solution found: > > Database was not retokenizing procedures, even though NTK calls looked > bold and active. I think putting the database through maintenance and > repair

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

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/“

RE: 4D Remote hanging at 3am after upgrading to Hi Sierra.

2017-10-30 Thread Epperlein, Lutz (agendo) via 4D_Tech
Brad, you wrote in your first posting, you saw a 4D error message very shortly. But you weren't able to read it. So it would be really helpful if a 4D Server would not show such messages only, they should also be logged into a file (or in system log) regardless of my settings, at least during

RE: Server Process "Frozen"-ish

2017-10-27 Thread Epperlein, Lutz (agendo) via 4D_Tech
> I am confident that 4D will find this bug and get it fixed. If it takes 6 > months, then my > upgrade plans will be on hold for 6 months. I’m in no hurry to upgrade right > now. Is there a case (TAOW or anywhere) in progress? I'm afraid that this discussion on the list doesn't lead to a

RE: POP3 Email Processing

2017-10-27 Thread Epperlein, Lutz (agendo) via 4D_Tech
The main problem with 4D Internet Commands is: It blocks the whole application while waiting for and downloading messages from the server. This is because the plugin interface of 4D is designed to be in cooperative mode. Even switching to v16 and using preemptive threads will not help, the

RE: 4D v16 Server and Windows Server 2016

2018-07-25 Thread Epperlein, Lutz (agendo) via 4D_Tech
> I am leaning towards using a user to run the 4D servers and lock the session > between > RDC sessions. We have done this in the past. But we will never do it again. It's calling for trouble. Every nightly Windows update stops your application beside other problems, e.g. admins not aware that

RE: Query for null/empty UUID

2018-08-21 Thread Epperlein, Lutz (agendo) via 4D_Tech
Found that: > Subject: Query for null/empty UUID > > What's the best way to query for a null/blank UUID () ? ** 4D Internet Users Group (4D iNUG)

RE: 4D Server as a Service

2018-07-20 Thread Epperlein, Lutz (agendo) via 4D_Tech
I can only guess ... We experienced something similar in the past, but always it reveals to be a problem caused by us. An example: Usually our server apps are updated automatically during the night, so the service hat to be restarted by the update script. In nearly all cases it works very well,

RE: v13 (+?) - Find in design

2018-07-20 Thread Epperlein, Lutz (agendo) via 4D_Tech
Supporting RegExp could be a way to construct more sophisticated queries. Regards Lutz > does anyone else want more capabilities with Find in Design? ** 4D Internet Users Group (4D iNUG) Archive:

RE: Who’s the Gestapo?

2018-07-16 Thread Epperlein, Lutz (agendo) via 4D_Tech
Below you can find a link to the list options: https://lists.4d.com/mailman/options/4d_tech There you are able to adjust e.g. the setting: > Receive your own posts to the list? > Ordinarily, you will get a copy of every message you post to the list. If > you don't want to receive this copy, set

RE: Server Monitoring...

2018-07-17 Thread Epperlein, Lutz (agendo) via 4D_Tech
NAGIOS works very well, all our servers are monitored by NAGIOS. And that by simply monitoring the http(s) ports. HTH Regards Lutz ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive:

RE: Storage — Server vs Client

2018-09-10 Thread Epperlein, Lutz (agendo) via 4D_Tech
If I'm not wrong the explanation is simple. If you access the storage on the client you get the storage of the client, on the server you get the storage object of the server. If you want to access the server's storage you can use something like EXECUTE ON SERVER or the appropriate attribute of

RE: Storage — Server vs Client

2018-09-10 Thread Epperlein, Lutz (agendo) via 4D_Tech
Maybe I didn't answer exactly enough: If you want to access the storage object of the server *from the client* you can use something like EXECUTE ON SERVER or the appropriate attribute of the method. If you want the storage object of another client, EXECUTE ON CLIENT comes into my mind ...

AW: 4D data on the web - what do you use?

2018-03-14 Thread Epperlein, Lutz (agendo) via 4D_Tech
We do the REST API thing. Since 4D introduced the object type it is easier than before. For the frontend we use the Angular framework with a bunch of tools and widgets. In the backend we don't use any special thing, just plain 4D. We build a client/server application. At some customer sites a

AW: 4D data on the web - what do you use?

2018-03-14 Thread Epperlein, Lutz (agendo) via 4D_Tech
> One of the best JavaScript IDEs for Mac is WebStorm by JetBrains. WebStorm runs on Windows too, I second Bernd's recommendation. Regards Lutz ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive:

RE: Signed emails to the list?

2018-04-05 Thread Epperlein, Lutz (agendo) via 4D_Tech
Hi Tim, Ok, here is a signed one ... Background: It is a S/MIME-signed email using MS Outlook. Regards Lutz > -Original Message- > From: Timothy Penner [mailto:tpen...@4d.com] > Sent: Thursday, March 29, 2018 6:36 PM > To: 4D iNug Technical <4d_tech@lists.4d.com> > Cc: Epperlein, Lutz

RE: Signed emails to the list?

2018-04-05 Thread Epperlein, Lutz (agendo) via 4D_Tech
Hi Tim, thanks, it seems to work, the signed email is delivered via iNUG. Lutz > -Original Message- > From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Epperlein, > Lutz > (agendo) via 4D_Tech > Sent: Thursday, April 5, 2018 9:42 AM > To: Timothy Penn

RE: v13+ LEP - What is sent to OS

2018-04-12 Thread Epperlein, Lutz (agendo) via 4D_Tech
I second this recommendation. Robocopy is far better and more flexible than xcopy. But the problem with escaping of paths remains the same. Regards Lutz > -Original Message- > From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Kenneth > Geiger > via 4D_Tech > Sent:

RE: v13+ LEP - What is sent to OS

2018-04-12 Thread Epperlein, Lutz (agendo) via 4D_Tech
AFAIK it is installed per default since Win XP, I'm sure that is installed in Win 7 and Win 10 and of course in the matching server versions. Regards Lutz > -Original Message- > From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Chip > Scheide via > 4D_Tech > Sent:

RE: Detection of 4D running in a VM

2018-04-09 Thread Epperlein, Lutz (agendo) via 4D_Tech
A call to "aa4D_M_Get_Information_Text" from the Info-Report component gives such information. E.g. EXECUTE METHOD("aa4D_M_Get_Information_Text";*;"Array_Profiler";->$infoReport) // Get the content of the Array_profiler.txt The result is: Manufacturer : VMware Model Identifier : VMware

RE: Web Service Call in 4Dv15

2018-04-19 Thread Epperlein, Lutz (agendo) via 4D_Tech
Not sure, but maybe there is an issue with the certificates on the v15 server. If I remember correctly, it isn't necessary to have a pub key file in the database folder, it could even be harmful to https connections. HTH Regards Lutz Epperlein

RE: Signed emails to the list?

2018-03-29 Thread Epperlein, Lutz (agendo) via 4D_Tech
Ok, it seems signing of emails prevents the delivery ... This email isn't signed ... > -Original Message- > From: Epperlein, Lutz (agendo) > Sent: Thursday, March 29, 2018 9:06 AM > To: '4d_tech@lists.4d.com' <4d_tech@lists.4d.com> > Subject: Signed emails to the list? > > Could it be,

RE: v13 -Automatically repaired method

2018-03-29 Thread Epperlein, Lutz (agendo) via 4D_Tech
Resend it, because the initial email was signed and signing isn't accepted by the iNUG ... > -Original Message- > From: Epperlein, Lutz (agendo) > Sent: Wednesday, March 28, 2018 9:32 AM > To: '4D iNug Technical' <4d_tech@lists.4d.com> > Subject: RE: v13 -Automatically repaired method >

AW: Collections

2018-03-16 Thread Epperlein, Lutz (agendo) via 4D_Tech
For another reason using collections see this feature request: http://forums.4d.com/Post/DE/19953344/1/19953345#19954007 Regards Lutz Epperlein Von: 4D_Tech [4d_tech-boun...@lists.4d.com] im Auftrag von Jim Dorrance via 4D_Tech [4d_tech@lists.4d.com]

RE: Leaving the .4DB behind??

2018-10-23 Thread Epperlein, Lutz (agendo) via 4D_Tech
No, I don't think so. It would be a complete different system. 4D relies on the structure file, it is a database of code and other information, UI and so on. And it is a kind of runtime environment. If you will run the 4D code only from text files (in a uncertain future) you end up with a

RE: Structure to TEXT files... GitHub

2018-10-17 Thread Epperlein, Lutz (agendo) via 4D_Tech
> So, could this structure data not be used to create a new 4D database? Can > it be > imported back into 4D…? This question hits the nail on the head. So you can export all your code and the forms into text files and commit them into a source code revision system like git or hg. But this

RE: Help->v11 to v17 Upgrade or New?

2018-10-18 Thread Epperlein, Lutz (agendo) via 4D_Tech
If in doubt I would vote for a rewrite, even more if the old application is poor designed. We struggle from time to time with problems caused by using legacy 4D code. E.g. sometimes there were assumptions made in the past regarding performance they are nowadays simply wrong and are causing now

RE: how do I turn it into a component or a database

2018-10-16 Thread Epperlein, Lutz (agendo) via 4D_Tech
Thomas changed the Readme some hours ago. And in fact there is mentioned the version 4D V17R3. And ... > This is export only, you cannot directly import them. As I (and others) already said ... Regards Lutz Epperlein -- Lutz Epperlein -- Agendo

RE: SOAP over HTTPS

2018-10-29 Thread Epperlein, Lutz (agendo) via 4D_Tech
Sorry, I was bit too fast with my answer. Especially about the configuration of the web service on the side of 4D. This was my from remembering of using a 4D web service for testing purposes in the past. At this time we built this test service as a mockup of another external web service, that

RE: Using 4D with Git...

2018-11-01 Thread Epperlein, Lutz (agendo) via 4D_Tech
If bitbucket works like a usual git server (I don't have experiences with it), you have to *clone* your repository (the remote one at github or the local repo) to bitbucket. The repository contains the whole history of all commits. You don't lose anything. Subsequent sync operations such as

RE: Backing up a VM - is it dangerous ?

2018-11-05 Thread Epperlein, Lutz (agendo) via 4D_Tech
It will work, but it is *not* safe. I would use a 4D backup anyway on the same drive the vm works. In this case they save with the snapshot of the vm the 4D backup files too. Or you have to dive into the feature of volume shadow copies and the supporting of them by 4D. Regards Lutz >

RE: Structure Location--Best Practices...?

2018-11-02 Thread Epperlein, Lutz (agendo) via 4D_Tech
We use e.g. C:\intraplan\intraplan server\intraplan.exe C:\intraplan\intraplan server\server database\intraplan.4dc C:\intraplan\intraplan.4DD C:\intraplan\intraplan.4DIndx ... and so on .. The folder C:\intraplan\intraplan server is generated by the built process of 4D. The advantage is here

AW: SOAP over HTTPS

2018-10-26 Thread Epperlein, Lutz (agendo) via 4D_Tech
Only for clarification, do you offer a soap service over https using 4D? Or do you want to access an external soap service using 4D? The latter shouldn'nt be a problem. We use it in our since 4D 2004 without problems (beside a proxy problem). In the first case, do you access the service with

RE: what to do when I don't want back button funtionality in a browser of pages from 4d

2018-10-10 Thread Epperlein, Lutz (agendo) via 4D_Tech
Hi, at first it isn't possible to switch off the back button in a browser. But there are some hacks around using javascript to mimic the behavior, e.g. look at https://stackoverflow.com/q/12381563/1865659. But all these techniques are not safe, I wouldn't recommend any of them. Better is to

RE: 4Dv15 applications as a Service in Windows Server 2012

2018-09-04 Thread Epperlein, Lutz (agendo) via 4D_Tech
Do you run only one single 4d server on this Windows server? If you have multiple 4d servers please set the SQL port to a different value even you don't use SQL (not only the common C/S ports). > -Original Message- > From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Ronnie

RE: button picture problems in v16 and v17

2018-09-21 Thread Epperlein, Lutz (agendo) via 4D_Tech
Which user mode component do you use, the really old one by Th. Maul or the slightly more up-to-date by Keisuke Miyako? Look here: http://kb.4d.com/assetid=76942 With Thomas' component you are out of luck. There isn't any source code available and it uses .pict pictures. And it isn't

RE: Excel copy error while 4D is running (Windows)

2018-12-17 Thread Epperlein, Lutz (agendo) via 4D_Tech
I'm pretty sure the problem hasn't any relation to 4D. A quick search with the engine of your choice shows many results: "Excel The picture is too large and will be truncated" e.g.

RE: Excel copy error while 4D is running (Windows)

2018-12-17 Thread Epperlein, Lutz (agendo) via 4D_Tech
Yes, I've seen this error message in the past too. But I wasn't aware there is a connection to 4D. I got it using Excel without 4D even on computers without 4D installed. And regarding the rdpclip.exe problem, AFAIK this bug is fixed in a recent version of 4D, I'm think at least in 4D V13 (but

RE: v13 - Exporting tab delimited

2018-11-28 Thread Epperlein, Lutz (agendo) via 4D_Tech
You have to escape the data cell containing the linefeed with double quotes. The linefeed has to be encoded as a LF (0x0a) or as CRLF (0x0d 0x0a). E.g. Data data data data data "line1 line2" datadatadata This text file you can drag onto Excel to open it (Windows). Double click

RE: [off-ish] Regex help

2018-11-29 Thread Epperlein, Lutz (agendo) via 4D_Tech
Peter answered already, but if you want to test your regex, you can use e.g.: https://regexr.com/440e2 this is with Kirk's example. You regex looks there: https://regexr.com/440ee This is a nice tool which provides explanations for your regex too. Regards Lutz > -Original

RE: 4D Structure Export...

2018-12-10 Thread Epperlein, Lutz (agendo) via 4D_Tech
> Maybe we need to consider moving team development from the centralized 4D Team > Developer model to a distributed model using individual copies of 4D. That > would > match the classic development model and practice which non-4D developers have > enjoyed for decades Is anyone doing > this

RE: Unusual crash / failure to start 4D

2018-11-28 Thread Epperlein, Lutz (agendo) via 4D_Tech
Do you do some XML Processing? If yes, you should request some data from this user try to reproduce the issue with this data. Maybe there is something wrong with parsong of XML in 4D. The "" says only 4D is not able to produce a useful stacktrace of the crash. HTH Regards Lutz > Exception

RE: 4D Structure Export...

2019-01-11 Thread Epperlein, Lutz (agendo) via 4D_Tech
Hi Tom, The use of the VC_Framework component is completely independent of the version control system. I don't know much about the Team Foundation Server, but in AFAIK it has means to manage the source code. But again, the approach works with 4D and the import functionality of the

RE: 4D and Subversion

2019-01-14 Thread Epperlein, Lutz (agendo) via 4D_Tech
Look at this posting from last week: The other docu you find on GitHub And regarding the import feature: you can't import forms, it is implemented only for methods.

RE: PDF generation on Windows - Latest Thinking

2018-09-13 Thread Epperlein, Lutz (agendo) via 4D_Tech
I second the statement below. We did some testing with PDF Creator in the Past and were not convinced. Especially we wanted to use it on the server side, creating PDFs for providing via the webserver. First, it was not stable. Second, we had to explain which software we want to install on the

RE: Best scripting language to use with LEP (docx to PDF)

2019-04-05 Thread Epperlein, Lutz (agendo) via 4D_Tech
The more interesting question is, at least from my point of view, which tools do you use for the conversion from docx to PDF. And do this tools work in a context of Windows service. Does the conversion works reliable if started from a 4D app running as a Windows Service. And as suggestion for

RE: Best scripting language to use with LEP (docx to PDF)

2019-04-05 Thread Epperlein, Lutz (agendo) via 4D_Tech
> An easy way to create Word files is: > - create a file in XML format > - Change the file extension from xml to docx > > Voila! AS long as your XML is well-formed and conforms to the Open XML > standard, it works a treat. That's nearly the same we do. With the difference that we don't create

RE: Creating Word docs in 4D

2019-04-05 Thread Epperlein, Lutz (agendo) via 4D_Tech
We do that nearly the same way, with the difference that we don't use 4D Write or Write pro. And for Zipping and unzipping we use PHP. And with 4D 17R4 it should possible to export from Write Pro to docx. Regards Lutz > -Original Message- > Subject: Creating Word docs in 4D > > As of

RE: Best scripting language to use with LEP (docx to PDF)

2019-04-05 Thread Epperlein, Lutz (agendo) via 4D_Tech
Hi Alexander, Some time ago we gave this tool a try. The results were really good. There were two versions of the tool, the Total Doc Converter for desktop use and the Total Doc ConverterX for server use. The testing of the desktop version shows a dialog with a progress bar, this is rather a

RE: Auto Updating 4D Not Working

2019-04-05 Thread Epperlein, Lutz (agendo) via 4D_Tech
We use our own update mechanism (introduced before SET UPDATE FOLDER and RESTART 4D). But we tested the 4D mechanism some time ago (I think it was with 4D v13 or maybe v12). The main problem was, that the application after calling RESTART4D doesn’t quit fast enough. And there was no way to

RE: Best scripting language to use with LEP (docx to PDF)

2019-04-05 Thread Epperlein, Lutz (agendo) via 4D_Tech
Regarding the topic: MS Word on the server In the past we use the following approach to generate native .doc files: - The application on the server generated reports as html files - These files got an extension .doc These files were able to open in MS Word. But there were problems e.g. if you

RE: Securing sensitive data in a 4D data file (Chip Scheide)

2019-04-01 Thread Epperlein, Lutz (agendo) via 4D_Tech
Windows has some support of Public Key Infrastructure. Maybe that's useful for storing keys. Some examples using Powershell: To find all relevant Powershell commands: Get-Command | where Source -eq pki To list certificates: Get-ChildItem Cert: List user certificates Get-ChildItem

RE: Benchmark Speed Test Method

2019-04-08 Thread Epperlein, Lutz (agendo) via 4D_Tech
> Also, has anyone moved up to v17 web server yet application? (Not "web > area", but rather the full "web server application") Can you tell how it > compares to v15 please? Any issues one should be aware of? We are on V17, and didn't noticed any difference. But we didn't do a real benchmark.

RE: LEP that will quit Chrome?

2019-03-01 Thread Epperlein, Lutz (agendo) via 4D_Tech
Can't speak for Windows7 for sure, but in all newer versions it is integrated. > > is powershell now (win7+ standard? -- Lutz Epperlein -- Agendo Gesellschaft für politische Planung mbH Köpenicker Str. 9 10997 Berlin http://www.agendo.de/

RE: LEP that will quit Chrome?

2019-03-01 Thread Epperlein, Lutz (agendo) via 4D_Tech
A correction: At least in Windows Server 2008 *R2* Powershell is pre-installed. So I think it is the same with Windows 7. > Can't speak for Windows7 for sure, but in all newer versions it is > integrated. > > > > > is powershell now (win7+ standard? Regards Lutz

RE: 4D Web Log Out

2019-03-04 Thread Epperlein, Lutz (agendo) via 4D_Tech
Hi Douglas, > In our case we land the user at a login page which handles the httpAuth send > avoiding > the nasty dialog. > If the user is not authenticated they do not get in. No problem there. > If the user is authenticated then they are taken to the application (written > in Angular) > At

RE: LEP that will quit Chrome?

2019-03-01 Thread Epperlein, Lutz (agendo) via 4D_Tech
We use powershell. In powershell you can do Get-Process chrome And if you want to kill the process: Get-Process chrome | Stop-Process Calling with LEP can do this way: $vtxtBatchName:="powershell.exe -executionpolicy remotesigned -OutputFormat Text "+\ "-File

RE: 4D Web Log Out

2019-03-01 Thread Epperlein, Lutz (agendo) via 4D_Tech
I'm not really understand your problem. What do you mean with "the browser still persists with the username and password"? Does it mean that you send these credentials with every request to the web server? What we do is this: If the browser makes a request without a cookie or with wrong cookie,

RE: Can'r run as a service on Windows 2016

2019-02-28 Thread Epperlein, Lutz (agendo) via 4D_Tech
Pat, Have a look at the docs: https://doc.4d.com/4Dv17/4D/17.1/Registering-a-Database-as-a-Service.300-4203714.en.html They recommend to run the server under an user account, if you want to use network shares, printers and so on. But we don't install the services this way, we stay at system

RE: Odd thing with iso dates

2019-02-08 Thread Epperlein, Lutz (agendo) via 4D_Tech
Jeremy is right, mind the "Z" at the end of the date string. Regards Lutz > At a guess, it’s because at that time of year, British Summer Time is active; > so 00:00 > on 14th August local time is 23:00 on 13th August GMT. > > > >

  1   2   >