LEP that will quit Chrome?

2019-02-28 Thread Keith Goebel via 4D_Tech
Hi all. I am trying to formulate a LEP command from 4D v17.0HF3 Win on Win7 (although it will be deployed on Win Server 2016). The idea is to quit Chrome from within 4D. After lots of Google searches I have tried (in my development version) $Command_t:="TASKKILL /IM /t chrome.exe" SET

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

2019-02-28 Thread Stephen J. Orth via 4D_Tech
I agree with Chuck here... We never install our OEM system on the C drive, let along in the Program Files directory. We always insist the server hardware be configured as C-Drive for Windows, D-Drive for data. All our systems run as a service, with no special configuration required Best,

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

2019-02-28 Thread cjmiller--- via 4D_Tech
I have found it is always better to Install program and data on a second drive. I do not run as a service but had many update problems and running problems when on c drive Regards Chuck Sent from my iPhone > On Feb 28, 2019, at 2:24 PM, Ken Kuehn via 4D_Tech <4d_tech@lists.4d.com> > wrote:

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

2019-02-28 Thread Ken Kuehn via 4D_Tech
Hi Paul, I use Inno Setup to create Windows installers for our 4D client and 4D server applications, the default install path for the server application is C:\Program Files. I normally set the data folder at the root of the C drive. However, the application that I support is installed at

Re: Crash on startup, v17.1 merged app

2019-02-28 Thread Randy Jaynes via 4D_Tech
Yeah…that’ll show you. Randy -- Randy Jaynes Senior Programmer and Customer Support http://printpoint.com • 845.687.3741 • PrintPoint, Inc • 57 Ludlow Lane • Palisades, NY 10964 Please send all email

Re: Crash on startup, v17.1 merged app

2019-02-28 Thread Pat Bensky via 4D_Tech
Thanks Randy ... you are absolutely correct :) I had simply Zipped the files up. I created a signed installer with DropDMG and now it's OK. That'll teach me to be lazy :) Pat On Thu, 28 Feb 2019 at 16:00, Randy Jaynes via 4D_Tech <4d_tech@lists.4d.com> wrote: > 1) Permissions issue on the

Re: 4D Web Log Out

2019-02-28 Thread Dani Beaubien via 4D_Tech
Have you looked at the "WEB CLOSE SESSION” command? That is probably what you are looking for assuming you are using the built in 4D sessions. Dani Beaubien Open Road Development > On Feb 28, 2019, at 9:38 AM, Douglas Cryer via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Hello folks, > >

Re: "Attempting to retype using a pointer"

2019-02-28 Thread John DeSoi via 4D_Tech
Hi Chip, > > On Feb 28, 2019, at 9:12 AM, Chip Scheide <4d_o...@pghrepository.org> wrote: > > I see the issue -- The time array is NOT an array of Time > using v13 (no Time array) > so I had to use a longint array, or a time variable which points out > the problem. Version 13 is long dead and

Re: "Attempting to retype using a pointer"

2019-02-28 Thread Kirk Brooks via 4D_Tech
I just noticed something when I stepped through one of my examples - in this case: $to:=New object $from:=New object $i:=100 $from.ptr:=->$i $to.ptr:=->$k $to.ptr->:=$from.ptr-> // $k = 100 at this line The value of $k changed as soon as this line runs. I also wondered what would happen if I

4D Web Log Out

2019-02-28 Thread Douglas Cryer via 4D_Tech
Hello folks, Forgive me if this question has been asked many times before but I am a bit stumped. Logging on to 4D via a web page is relatively simple wither using the nasty dialog or rolling your own page to submit the httpauth details. Logging off however is proving to be more difficult.

Re: "Attempting to retype using a pointer"

2019-02-28 Thread Kirk Brooks via 4D_Tech
Jeremy, On Wed, Feb 27, 2019 at 11:53 PM Jeremy Roussak via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Objects pre-date ORDA, as you know. True. In this case what we are really talking about is 4D's object notation. I tend to use 'ORDA' for all the new capabilities and should be more specific.

Re: Crash on startup, v17.1 merged app

2019-02-28 Thread Randy Jaynes via 4D_Tech
1) Permissions issue on the folder on the Mac. 2) Did you install it using a signed installer or DMG so that OS X Gatekeeper recognizes it as a registered program. This sounds more like #2 to me, but in the past I’ve solved #1 by creating an Applications folder inside the user’s home folder,

Crash on startup, v17.1 merged app

2019-02-28 Thread Pat Bensky via 4D_Tech
Running a compiled & merged single-user app v17.1 on a customer's Mac (OS v. 10.12.6), the app crashes soon after startup - before it has asked for a data file. Of course, it runs OK on any other Mac we try it on :) If I hold down the Alt key as it's starting up, it never gets to the open options

Re: "Attempting to retype using a pointer"

2019-02-28 Thread Chip Scheide via 4D_Tech
John, I see the issue -- The time array is NOT an array of Time using v13 (no Time array) so I had to use a longint array, or a time variable which points out the problem. I believe it is: Even though there is a TIME ARRAY() command, the underlying array is not actually time but longint. If

Re: "Attempting to retype using a pointer"

2019-02-28 Thread John DeSoi via 4D_Tech
4D has improved over the years, but there is still a number of type handling inconsistencies. Only option seems to be to work around them by moving data into different variable types. The method below (_TEST) works interpreted but gives a runtime error in compiled mode. Reported as a bug in

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

2019-02-28 Thread Ken Kuehn via 4D_Tech
Sent from my iPhone > On Feb 28, 2019, at 3:08 AM, Paul Dennis via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > What is the file path to the location where you have the exe and data > installed. You can only use c:\\program files for the exe not the data. For > that use c:\\program data or as

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

2019-02-28 Thread Paul Dennis via 4D_Tech
What is the file path to the location where you have the exe and data installed. You can only use c:\\program files for the exe not the data. For that use c:\\program data or as mentioned install under a user account. In which case it runs from c:\users\username etc. Paul -- Sent from:

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