AW: IP address problem

2020-06-04 Thread Epperlein, Lutz (agendo) via 4D_Tech
Hi Chip, That's a very good answer. Are you able to post this on the new forum? Chuck posted the same question there. You can find it here: https://discuss.4d.com/t/ip-adress-issue-on-server/14033?u=epperlein.lutz Regards Lutz -Ursprüngliche Nachricht- Von: 4D_Tech [mailto:4d_tech-boun..

AW: PDF to Jpeg

2020-05-28 Thread Epperlein, Lutz (agendo) via 4D_Tech
That's a rather strange task, I just imagine I would get the 28-page-PDF in front of me as a jpeg. Anyway, I would investigate some research in using the ImageMagick command "convert". There are a plenty of options for conversion from almost any format to almost any other format. And then start

AW: iNUG Messages ― Is it time for it to be more than just 'plain text' ???

2020-05-07 Thread Epperlein, Lutz (agendo) via 4D_Tech
The old 4D forum is now accessible in read-only mode at the old location. And most of the old forum posts have been migrated to the new forum. Which posts were transferred is described here: https://discuss.4d.com/uploads/short-url/6GUCGwxhG3VLP7zWpUntMDe9u5x.pdf to be found at https://discuss.4

New Forum (was: AW: 4D Summit Videos)

2020-04-23 Thread Epperlein, Lutz (agendo) via 4D_Tech
The forum is based on Discourse, a forum software I like very much. We used it to implement communication base between teachers, parents and off course students at the school of our children. If 4D had asked me, I would have recommended this software to them (they didn't ask). More information

Decode Kerberos ticket for web authentification

2020-04-15 Thread Epperlein, Lutz (agendo) via 4D_Tech
Hi, Are there ways to decode a Kerberos ticket using 4D? Background: We have to implement a SSO login mechanism for web users using Kerberos authentication. The authorization within a web server (IIS) in front of the 4D server works so far. We get a http request containing a header line “Author

AW: CREATE DOCUMENT erors

2020-04-09 Thread Epperlein, Lutz (agendo) via 4D_Tech
Do you use an error handler with ON ERR CALL? I've just tested it and I get an error -120 Tried to access a file by using a pathname that specifies a non-existing directory. Or -54 Attempt to open locked file for writing. Maybe your error from the error stack comes from an older one in this proc

AW: 4D v13 web service error: -9926

2020-04-01 Thread Epperlein, Lutz (agendo) via 4D_Tech
It may related to the XML content of your SOAP request or of response. Did you check that? Maybe you want to access some not existing elements. 9926 means -9926 The referenced element is invalid. https://doc.4d.com/4Dv17/4D/17.4/Database-Engine-Errors-10602-4004.300-4882076.en.html So it could

AW: HMAC SHA256 in native 4D code?

2020-03-20 Thread Epperlein, Lutz (agendo) via 4D_Tech
Regarding JWT (JSON Web Token), there is another plugin by Miyako: https://github.com/miyako/4d-plugin-jwt Lutz Epperlein -Ursprüngliche Nachricht- Betreff: Re: HMAC SHA256 in native 4D code? Hi, I had to spend some time looking into this recently myself. You have two options: 1 - K.

AW: 4D v18.0 LTS - Form Wizard Missing

2020-02-27 Thread Epperlein, Lutz (agendo) via 4D_Tech
It's in the R-release channel > Beta version forum. The subject of the post is "Form wizard / assistant". Maybe you have to be a partner to access this forum, I don't know. Regards Lutz -Ursprüngliche Nachricht- Betreff: Re: 4D v18.0 LTS - Form Wizard Missing Hallo, can´t open the Link

AW: 4D v18.0 LTS - Form Wizard Missing

2020-02-27 Thread Epperlein, Lutz (agendo) via 4D_Tech
See also this thread on the forums: The idea is to get generic forms is using generic built listboxes or similar. And there already such components available, e.g. by Th. Maul called AutoForms. Regards Lutz ***

AW: Document encoding

2020-01-13 Thread Epperlein, Lutz (agendo) via 4D_Tech
I think you should first think about what encoding means, in general file encoding means the encoding of text files. If you use your code below with pdf files you destroy the pdf in a very reliable way, since pdf files are binary files. The same is with nearly all picture formats (and with Word

Re: HTTP Upload file size too low

2020-01-09 Thread Epperlein, Lutz (agendo) via 4D_Tech
I'm not sure if I understand your environment in which you would do that file upload. As I mentioned before, I did some little testing with chunked uploads using a web browser as a client and there a javascript library. At the server side I use WEB GET BODY PART in conjunction with WEB Get body

AW: FLUSH BUFFER

2019-12-16 Thread Epperlein, Lutz (agendo) via 4D_Tech
Please use 0 as the value of the stack size. In most circumstances it is the best idea to leave the memory management to 4D. There was recently a thread about this topic on this mailing list or the forums. I can't find it just now. Regards Lutz -Ursprüngliche Nachricht- Von: 4D_Tech [ma

Re: HTTP Upload file size too low

2019-12-13 Thread Epperlein, Lutz (agendo) via 4D_Tech
I did a short test with chunked uploads, that's not really a problem. We use a jquery widget (https://blueimp.github.io/jQuery-File-Upload/) on the frontend (the website) for file upload. It's easy to start chunked uploads. You have to handle it on the server side. One solution could be to save

AW: HTTP Upload file size too low

2019-12-11 Thread Epperlein, Lutz (agendo) via 4D_Tech
The thing with file upload seems to be a bit strange ... I did some tests and upload a file with size 888.3 MB, no problem. Another test with a larger file with size 4.4G didn't work. Only a chunk of 334.9 MB (to be exact: 351255546 bytes) was handled. I'm not able to explain this behavior. Reg

AW: Can't Define DEP Exception On Windows

2019-12-11 Thread Epperlein, Lutz (agendo) via 4D_Tech
Two things I see: The first one, the Windows Server 2008 will not be supported anymore by Microsoft from the beginning of the next year. So it would be a very good idea to update the server OS, if someone will need it for production use (or even in other cases too). And for the second, you don

AW: Constants in code.

2019-12-09 Thread Epperlein, Lutz (agendo) via 4D_Tech
You have to use xliff and you can find an example here: https://kb.4d.com/assetid=76583 Regards Lutz -Ursprüngliche Nachricht- Von: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] Im Auftrag von Eric Naujock via 4D_Tech Betreff: Constants in code. Good morning, This seem pretty ru

AW: 4D Web Server Security

2019-11-26 Thread Epperlein, Lutz (agendo) via 4D_Tech
Steve, we don't do any load balancing, so I'm afraid I can't contribute anything. But that's an interesting area. Regards Lutz -Ursprüngliche Nachricht- Betreff: RE: 4D Web Server Security Lutz, Perfect, this is the information I was looking for. In the Apache example, when you say y

AW: 4D Web Server Security

2019-11-26 Thread Epperlein, Lutz (agendo) via 4D_Tech
It depends ... If the customer wants to run the application on their own (virtual) hardware then port 80 and/or 443 is used. But this run configuration isn't in the focus of the audits. In all other cases, application is accessible over the internet, we use an Apache web server in front. But th

AW: 4D Web Server Security

2019-11-26 Thread Epperlein, Lutz (agendo) via 4D_Tech
To be a bit illustrative ... From time to time we have to undergo security audits of our web application. The last time the IT security consultant, who made the audit, said he never found an application which so few security issues, because there weren’t any. Mostly they find some issues. -

AW: 4D Web Application and SAML or OpenID Connect

2019-11-06 Thread Epperlein, Lutz (agendo) via 4D_Tech
Hi, we do something in this area. We use an Apache webserver in front of the 4D web server as a reverse proxy or gateway. There is an Apache module called mod_auth_openidc (https://github.com/zmartzone/mod_auth_openidc) which is configured to use an external identity provider (IP). In our case

AW: Error signing built app for Catalina

2019-10-25 Thread Epperlein, Lutz (agendo) via 4D_Tech
Maybe this: https://blog.4d.com/?s=notarization Regards Lutz Epperlein -Ursprüngliche Nachricht- Von: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] Im Auftrag von Jeremy Roussak via 4D_Tech Gesendet: Donnerstag, 24. Oktober 2019 21:14 An: 4D iNug Technical <4d_tech@lists.4D.com> Cc: Jer

AW: Web aficionados - Not allow user to access file directly

2019-10-01 Thread Epperlein, Lutz (agendo) via 4D_Tech
Use the so-called "Web decoy" technique. Basically you put your html files in another folder outside your html root. Then redirect all requests using ON WEB CONNECTION. For every http request 4D cannot serve directly, it uses ON WEB CONNECTION. This is more elaborated e.g. here: How to skip ov

AW: Folder equivalent for: "SET DOCUMENT PROPERTIES"

2019-09-03 Thread Epperlein, Lutz (agendo) via 4D_Tech
For Windows: Don't use the old cmd, use powershell instead. For an example solution for your task see https://stackoverflow.com/a/24992975/1865659 HTH Regards Lutz Epperlein -Ursprüngliche Nachricht- Betreff: Re: Folder equivalent for: "SET DOCUMENT PROPERTIES" Narinder, Thanks for y

AW: v13 or v15 Pic Library usage

2019-08-21 Thread Epperlein, Lutz (agendo) via 4D_Tech
How is it with this: http://association-qualisoft.eu/qs_toolbox/ Regards Lutz -Ursprüngliche Nachricht- do you have a link ? Thanks! > Hi Chip > > you can use QS_Toolbox. There is a tool which list you the objects > using pictures. > - > Patrick EMANUEL > ---

AW: 4Dv15 app on Windows Service

2019-08-01 Thread Epperlein, Lutz (agendo) via 4D_Tech
That should be sufficient regarding rights. The question is which resource the server should access. If you run the service under the default system account, you could get problems accessing certain network resources, printer ... But I think this a known circumstance. Did you check the Windows e

AW: How to decode this text

2019-07-31 Thread Epperlein, Lutz (agendo) via 4D_Tech
Look here for further explanation: https://en.wikipedia.org/wiki/MIME#Encoded-Word Regards Lutz -Ursprüngliche Nachricht- Von: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] Im Auftrag von Chip Scheide via 4D_Tech Gesendet: Dienstag, 30. Juli 2019 22:52 Betreff: Re: How to decode this te

AW: can't load internal 4D component

2019-07-31 Thread Epperlein, Lutz (agendo) via 4D_Tech
Hi David, a question regarding this compatibility mode: Did you try it with 4D v17R5 too? In your first posting you only mentioned v17R4. The Software requirements document (https://download.4d.com/Documents/Products_Documentation/LastVersions/Line_17R5/VIntl/4D_v17_R5_SystemRequirements_EN.pdf

AW: Query by Formula Join vs. Comparison

2019-07-25 Thread Epperlein, Lutz (agendo) via 4D_Tech
Put the contents of the field you want to compare to in a variable, then use the variable instead of the field in the query. HTH Regards Lutz -Ursprüngliche Nachricht- Von: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] Im Auftrag von Jim Medlen via 4D_Tech Gesendet: Mittwoch, 24. Juli

RE: What is wrong with this statement?

2019-07-10 Thread Epperlein, Lutz (agendo) via 4D_Tech
If $Return_ptr and $Column1 are pointers, you have to dereference them: $Result:= $Column1->{ $Return_ptr->{$Item} } For better clarity I would extract $Return_ptr->{$Item} $index_col:= $Return_ptr->{$Item} $Result:= $Column1->{ $index_col } HTH Regards Lutz ***

RE: Dot Notation in Legacy 4D Code

2019-06-21 Thread Epperlein, Lutz (agendo) via 4D_Tech
If you deal with variables you can use "Rename..." in the context menu of the method editor too. Regards Lutz ** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/

RE: V17R3 vs PowerShell

2019-05-31 Thread Epperlein, Lutz (agendo) via 4D_Tech
Hi, we use Powershell a lot, even in conjunction with 4D. But we never divide between 32bit and 46bit-Powershell. Since you use the Powershell via LAUNCH EXTERNEL PROCESS (LEP) the architecture (bitness) of the Powershell binary shouldn't matter. And a question: Regarding your script how do you

RE: Managing 4D Server as a service

2019-05-10 Thread Epperlein, Lutz (agendo) via 4D_Tech
Ahh, there are at least two feature requests, meaning more or less the same: - https://forums.4d.com/Post/EN/19227573/1/19227655 - https://forums.4d.com/Post/EN/17994245/1/17994246 Therefor: double voting! Lutz -- Lutz Epperlein -- Agendo Gesellsc

RE: Managing 4D Server as a service

2019-05-10 Thread Epperlein, Lutz (agendo) via 4D_Tech
We use Windows Services all the time with success. But we have to launch the server application from time to time as a desktop application as John said, but it is pretty rare. Nearly all errors we try to catch and write the messages to a log file. But there are situations where this isn't possib

RE: 4D Security White Paper

2019-04-23 Thread Epperlein, Lutz (agendo) via 4D_Tech
There is something like that: https://blog.4d.com/4d-security-guide/ I don't know if that gives you the information you need. Regarding encryption there is something in v17R5: https://blog.4d.com/get-started-with-encryption-in-4d/ Regards Lutz > Does anyone know if 4D have published any white p

RE: Double Clickable app where should plugins be?

2019-04-23 Thread Epperlein, Lutz (agendo) via 4D_Tech
I would use these commands to detect which plugins and components are available: COMPONENT LIST PLUGIN LIST These are the plugins and components loaded by 4D. So they are working. It's not only a list of a folder's content. Just my 2 cents Regards Lutz ***

RE: LEP - hide console?

2019-04-09 Thread Epperlein, Lutz (agendo) via 4D_Tech
SET ENVIRONMENT VARIABLE("_4D_OPTION_HIDE_CONSOLE";"true") And see: https://doc.4d.com/4Dv17/4D/17.1/LAUNCH-EXTERNAL-PROCESS.301-4178683.en.html 9. To launch a command with the current directory and without displaying the console: SET ENVIRONMENT VARIABLE("_4D_OPTION_CURRENT_DIRECTORY";"C:\\4D

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

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 sh

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 plai

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 want

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 a

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 Au

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 adjus

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 Cert:\Curr

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 so

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: 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: 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: 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 \""+$PathToScript

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 acc

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. > > > > 201

RE: 4d-for-ios repo commit bonanza

2019-02-07 Thread Epperlein, Lutz (agendo) via 4D_Tech
Do you mean https://github.com/4d/4d-for-ios ? Which branch? -- Lutz Epperlein -- Agendo Gesellschaft für politische Planung mbH Köpenicker Str. 9 10997 Berlin http://www.agendo.de/ -- **

RE: Does 4D 64-bit Volume desktop use more than 1 core?

2019-01-31 Thread Epperlein, Lutz (agendo) via 4D_Tech
Right, I see the individual cores, but I'm not able to get the part a certain application uses. The summary view shows me that. See this screenshot: 4D.exe is selected, the orange line in the topmost graph shows the use by 4D, but this line is absent on the other gr

RE: Does 4D 64-bit Volume desktop use more than 1 core?

2019-01-31 Thread Epperlein, Lutz (agendo) via 4D_Tech
Just out of curiosity, how can I visualize the use of the CPU cores on Windows using some inbuilt tools of the OS? The task manager shows a summary only. In the resource monitor I can see the use the total use of all cores by an application, not the use of individual cores. Regards Lutz ***

RE: Does 4D 64-bit Volume desktop use more than 1 core?

2019-01-30 Thread Epperlein, Lutz (agendo) via 4D_Tech
> So then the real questions are : > > * Is it correct that 4D Volume desktop uses only 1 core? No. > * How can I enable 4D Volume desktop to use all cores? No. There isn't such a switch. It is a bit more complicated, a short query for "core" on the knowledgebase kb.4d.com reveals: 1.

RE: 4D and Subversion

2019-01-14 Thread Epperlein, Lutz (agendo) via 4D_Tech
For V15 you can try this: * with import or * without import it is ok to use the V14 version Regards Lutz ** 4D Internet Users Group (4D iNUG)

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. Bu

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 VC_Framewor

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 I

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. https://answers.microsoft.com/en-us/msoffice/forum/msoffice_excel-mso_win10/error-the-picture-is-too-large-and-will-b

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 ye

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 M

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 caug

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 on

RE: Using 4D with Git...

2018-11-07 Thread Epperlein, Lutz (agendo) via 4D_Tech
> What does this accomplish? It allows us to keep a record of changes (but no > smooth way to revert changes, and no way to track form changes). As I mentioned earlier (not in this thread) we use the component vc_framework initiated by Josh Fletcher some time ago. This component is able to export

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

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

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 push

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 sh

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 4D

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 system

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: 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 does

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 Ge

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

2018-10-16 Thread Epperlein, Lutz (agendo) via 4D_Tech
@Pat: No, this is the wrong approach. Did you looked at the github repositories? The sources are contained in text files and the data of forms in json files. The only way I'm aware of is to import the methods manually or use a component like https://github.com/elutz/vc-framework-v15. I don't kn

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 de

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 recommende

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 custo

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 ... Rega

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 t

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: 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) Arc

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: 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: http://lists.4d.com/archives.ht

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: 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: http://list

RE: Whoʼs the Gestapo?

2018-07-16 Thread Epperlein, Lutz (agendo) via 4D_Tech
I think this is the right one: 4d_tech-j...@lists.4d.com, isn't it? Regards Lutz > -Original Message- > From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Chip Scheide > via > 4D_Tech > Sent: Monday, July 16, 2018 3:58 PM > To: 4D iNug Technical <4d_tech@lists.4d.com> > C

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 t

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: 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: Thursda

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: Wednesd

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 V

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: Timoth

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

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

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

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] Gese

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:

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

  1   2   >