Re: Errors in 4D Web Process

2018-04-24 Thread Julio Carneiro via 4D_Tech
Hey John, have you by any chance added an ON ERR CALL() during your web process, and are thus trapping errors yourself? Because that would cause your process to continue on w/o throwing any 4D error. I don’t think there is a way t detect if you’re trapping errors, nothing I see in debug can tell

Re: Errors in 4D Web Process

2018-04-24 Thread Dani Beaubien via 4D_Tech
You can use the "Method called on error” function to determine the name of the method that was set by an “ON ERR CALL”. Example of using this to temporarily change the ON ERR CALL and then putting it back: C_TEXT($currentOnErrMethod) $currentOnErrMethod:=Method called on error ON ERR CALL(

Re: Detecting 64-bit OS

2018-04-24 Thread Jim Hays via 4D_Tech
Just in case you haven't rolled your own yet: Win32API plugin: sys_IsWow64Process(isWow64) isWoW64 = 1 means 4D is 32 bit running on 64 bit Windows. On Mon, Apr 23, 2018 at 3:12 PM, John Baughman via 4D_Tech < 4d_tech@lists.4d.com> wrote: > I test for 64bit with… > > If (Test path name("C:\\

Re: Errors in 4D Web Process

2018-04-24 Thread John Baughman via 4D_Tech
Julio, I put ON ERR CALL (), note without the quotes, in on web connection and that itself threw an error as expected and the error messages started working again even after taking it back out. Strange. Before posting to the web I had put a call to Method called on error, got b

Re: Detecting 64-bit OS

2018-04-24 Thread Cannon Smith via 4D_Tech
Thanks Jorg and Jim. I appreciate the examples. It looks like there are lots of ways to accomplish this. -- Cannon.Smith Synergy Farm Solutions Inc. Hill Spring, AB Canada 403-626-3236 > On Apr 24, 2018, at 9:09 AM, Jim Hays via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > sys_IsWow64Process

Re: Errors in 4D Web Process

2018-04-24 Thread Julio Carneiro via 4D_Tech
hummm.. do you have you web server configuration “Reuse temporary contexts” enabled? Because that MIGHT (no idea if what I’ll say is indeed true, just a wild guess) cause your web process to be reused. Thus if while handling one request on err handling got enabled, that might stay ‘active’ as lo

Re: Errors in 4D Web Process

2018-04-24 Thread John Baughman via 4D_Tech
What makes this more mysterious is that while I was having the problem I changed to a different Web App and 4D Database and saw the same problem. I used the same version of 4d,, but the a completely different database. Really weird. As for the “Reuse temporary contexts” is enabled but according

RE: How to change title on 4D's main (MDI) window? [SOLVED]

2018-04-24 Thread Steve Makohin via 4D_Tech
That’s what I was missing. I was looking only at the interpreted version, and not thinking ahead to the compiled version. Thanks! -Steve -Original Message- From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Keisuke Miyako via 4D_Tech Sent: Monday, April 23, 2018 7:53 PM To

MSC Warnings

2018-04-24 Thread Cannon Smith via 4D_Tech
I have a few warnings when I verify my structure (v16r5). They are all basically the same: Referenced style sheet not found for this object: ProgressWin.Page1.vlProgress_Thermometer (vlProgress_Thermometer) Each object referenced is a thermometer widget. Since these kinds of widgets do

Re: MSC Warnings

2018-04-24 Thread Charles Miller via 4D_Tech
Nope I have the same problem with different object types. I have hundreds of them. I fix some of them when I can, but since I never have problems running? Regards Chuck On Tue, Apr 24, 2018 at 4:47 PM, Cannon Smith via 4D_Tech < 4d_tech@lists.4d.com> wrote: > I have a few warnings when I verify

Re: MSC Warnings

2018-04-24 Thread Cannon Smith via 4D_Tech
Yes, it runs fine. I’d just like to get rid of the warnings. I’m wondering if there was a time (v15?) when the object properties allowed setting a stylesheet on thermometers. Now that’s been fixed, but my structure still has a stylesheet attached to the thermometer, so it throws an error. The p

RE: MSC Warnings

2018-04-24 Thread Timothy Penner via 4D_Tech
Hi Cannon, > my structure still has a stylesheet attached to the thermometer, so it throws > an error. The problem is that I can’t get at it to fix it. I think you can make the style sheet option show up if you change the type of the object after the fact... For example, If you open the proper

Re: MSC Warnings

2018-04-24 Thread Keith Culotta via 4D_Tech
Try this. I don't remember if it was the stylesheet property at that time or another property, but you can see if it works. I have changed an object type that had no stylesheet in Properties to another type that had a stylesheet. After doing that the hidden stylesheet appeared and could be re

Re: Web Area display PDF

2018-04-24 Thread Axel Kohlepp via 4D_Tech
Hello, on WebArea with 32-Bit Mac you can use the Schubert-IT plugin: pdf-plugin-244.dmg AxelKohlepp®2015 John Baughman via 4D_Tech schrieb: The following code is not working... $file:="file://"+Convert path system to POSIX($file) //file = "file:///Volumes/T75-TRANS01/OrthoPr