Re: Server Process "Frozen"-ish

2017-10-25 Thread Cannon Smith via 4D_Tech
Hi Keith, Yes, that’s why I was curious about the machine up time. It would be curious if it was close to 24.86 days, for example. -- Cannon.Smith Synergy Farm Solutions Inc. Hill Spring, AB Canada 403-626-3236 > On Oct 25, 2017, at 8:34 AM, Keith White via

Re: Server Process "Frozen"-ish

2017-10-25 Thread Cannon Smith via 4D_Tech
Hi David, Good to have more information—thanks! I’m curious, do you know what the machine up time was when it stalled? Thanks. -- Cannon.Smith Synergy Farm Solutions Inc. Hill Spring, AB Canada 403-626-3236 > On Oct 25, 2017, at 7:57 AM, BTB-David via

Re: [Warning] Settings properties values on object field by object notation

2017-10-31 Thread Cannon Smith via 4D_Tech
This bug was first discovered in July of 2016. See the NUG thread "Does 4D Support Dotted Notation in Object Fields?” if you are interested in how it was discovered (thanks to Douglas Von Roeder). ACI0095526. Even though I filed the bug report, I can think of at least twice since then that

Collection.orderBy()

2018-04-27 Thread Cannon Smith via 4D_Tech
I’m having trouble with the collection.orderBy() command working. Not sure if it is me or a bug. I’m using 4D v16r6, 64-bit, on macOS with this line of code: $cSortedFrames:=$oPage.frames.orderby("position.zIndex asc”) In the method editor everything colors correctly, including

Re: Collection.orderBy()

2018-04-27 Thread Cannon Smith via 4D_Tech
Thanks Jeff and Julio. Funny, I thought I’d double-checked case, but apparently not well enough! As soon as I changed it from “orderby” to “orderBy” it started working. BTW, I finally turned on object notation in my database and have started using object notation as well as collections

Re: Collection.orderBy()

2018-04-27 Thread Cannon Smith via 4D_Tech
Hi Jeff, Yeah, the ending quote must have been converted by my mail app. It’s a proper quote in code. I _think_ the asc should be inside the double quotes. But I’m just going by the examples found at: http://doc.4d.com/4Dv16R6/4D/16-R6/collectionorderBy.301-3690504.en.html. I don’t

Download 4Dv16R5

2018-05-10 Thread Cannon Smith via 4D_Tech
I can’t find a place to download the 32-bit version of 4Dv16R5 for Windows. Does anyone know how to find older R-releases? Thanks. -- Cannon.Smith Synergy Farm Solutions Inc. Hill Spring, AB Canada 403-626-3236

Re: Analyzing .4BL Files

2018-05-17 Thread Cannon Smith via 4D_Tech
Thanks Chip, Randy, and Jeff. Thanks to your suggestions I was able to track down something that I should have know but did not. The RESTORE command will convert a .4BL to a .journal file. From there I can use the MSC to look at it or, even better, the LOG FILE TO JSON command which is nice for

OBJ Module and Date Issue

2018-05-24 Thread Cannon Smith via 4D_Tech
If anyone is using the OBJ module in v16r6 or v17, please be aware there is a bug in 4D (reported as ACI0098267) that causes problems with dates. The OBJ module stores dates in an object as a string in the format “2018-05-24” and handles the conversion back and forth as necessary. If the object

Analyzing .4BL Files

2018-05-16 Thread Cannon Smith via 4D_Tech
You know how you can open the MSC, go to Activity Analysis, and the Analyze the current log file? And export it to text? I need to go through a similar process with some log files that were backed up, but without integrating them. In the MSC there is a Browse button, but it won’t let me choose

Re: Build with code signing

2018-06-11 Thread Cannon Smith via 4D_Tech
Hi Wayne, The point of that comment was that nothing should change during the build process after signing and before distributing to the user. Once macOS has checked the code signing before running on the user’s machine, it doesn’t seem to care if it changes again. Of course, it is only a

Re: Delay process bug

2018-06-18 Thread Cannon Smith via 4D_Tech
I can’t answer this for Justin, but we have both kinds hitting this bug. Some are rather complicated methods that potentially do lots of things. But several are very simple—just a few lines of code to check whatever it needs to check and then go back to sleep. -- Cannon.Smith Synergy Farm

Re: Styled Text and QPDF Plugin

2018-06-18 Thread Cannon Smith via 4D_Tech
Hi Kirk, Yes, I did talk to Rob. He was the one that directed me to the QPDF Draw Text command and the embedded possibilities. I was thinking the same as you—that it should be possible, but a lot of code. That’s why I was asking if anyone had already tackled it. I’d be willing to trade some

Re: Difference between OB Copy and :=

2018-06-12 Thread Cannon Smith via 4D_Tech
> [Letter Templates]WP_SeriesPictures:=oPictures Both [Letter Templates]WP_SeriesPictures and oPictures point to the same C_Object instance in memory. If you change either one, they are “both” changed. > [Letter Templates]WP_SeriesPictures:=OB Copy(oPictures) [Letter

Re: Difference between OB Copy and :=

2018-06-12 Thread Cannon Smith via 4D_Tech
The neat thing about objects, in my opinion, is that they are reference based. I would try to stay away from using OB Copy unless it is warranted. For example, in your example you could just use the field directly or a reference to the field. Unless you save the record, changes won’t be put

Re: Delay process bug

2018-06-12 Thread Cannon Smith via 4D_Tech
We just released a new version of our software a week and a half ago. In this version I added a palette window on the server which runs On Timer. I also added code to most every background process which updates some information every time it wakes up from a Delay Process call. The palette

Re: Difference between OB Copy and :=

2018-06-14 Thread Cannon Smith via 4D_Tech
om> wrote: > > off the top of *my* head I understand the fix is not limited to object > notation. > > it was an optimisation made for wakanda server that somehow got lost on its > way to 4D object fields. > > so it's a fix at the database level. > >> 2018/06/14

Re: Difference between OB Copy and :=

2018-06-13 Thread Cannon Smith via 4D_Tech
Hi Tim, I haven’t had time to try this myself today, but do you know off the top of your head if this is only fixed when using dot notation? Or is it fixed when for the old style of code as well (when we had to traverse the object tree to the children, getting a reference to the child and then

Re: 64 vs 32 Bit 4D

2018-04-30 Thread Cannon Smith via 4D_Tech
tions.com> > On Apr 30, 2018, at 4:34 PM, Cannon Smith via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > I’m currently using 4D v16r5, Mac and Windows. I’m using the 64-bit versions > across the board. I may need to drop back to 32-bit for clients and > standalone f

64 vs 32 Bit 4D

2018-04-30 Thread Cannon Smith via 4D_Tech
I’m currently using 4D v16r5, Mac and Windows. I’m using the 64-bit versions across the board. I may need to drop back to 32-bit for clients and standalone for a little while. I can’t seem to remember or find if there are any features (besides the network settings) that are 64-bit only. Does

Re: 64 vs 32 Bit 4D

2018-04-30 Thread Cannon Smith via 4D_Tech
Thanks Miyako and Randy! -- Cannon.Smith Synergy Farm Solutions Inc. Hill Spring, AB Canada 403-626-3236 > On Apr 30, 2018, at 4:43 PM, Keisuke Miyako via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > also in language reference: > >

Re: Image Madness

2018-05-01 Thread Cannon Smith via 4D_Tech
Hi Douglas, I’m not sure why that would be the case as it has worked for me. Perhaps a clue it that my code only handles the 4 common cases. Could your picture be one of the other four cases? Not sure. I can give you the site I found that helped me understand this (to the small degree that I

Re: Picture Madness

2018-04-30 Thread Cannon Smith via 4D_Tech
Hi Douglas, You can do this in code. For example, here is some code I use: GET PICTURE METADATA($gPicture;TIFF orientation;$lOrientation) Case of : ($lOrientation=1) //Normal, no rotation needed : ($lOrientation=8) //Left 90˚, so need to rotate

Re: Constants - Can I make a Date Constant?

2018-04-30 Thread Cannon Smith via 4D_Tech
Only longs, reals, and strings. Not even booleans are allowed. -- Cannon.Smith Synergy Farm Solutions Inc. Hill Spring, AB Canada 403-626-3236 > On Apr 30, 2018, at 1:33 PM, Chip Scheide via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > for example :

Re: Server Process "Frozen"-ish

2017-10-19 Thread Cannon Smith via 4D_Tech
Thanks Jeff and Bernd. -- Cannon.Smith Synergy Farm Solutions Inc. Hill Spring, AB Canada 403-626-3236 > On Oct 19, 2017, at 12:24 AM, Bernd Fröhlich via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > Almost exactly the same setup over here.

Re: Server Process "Frozen"-ish

2017-10-27 Thread Cannon Smith via 4D_Tech
We had another server do this this morning. It had stopped on DELAY PROCESS again, so I tried the RESUME PROCESS idea. It did get the process going again. However, some of the Administration Window UI was not updating properly. After the process resumed, the UI still didn’t update properly so

Re: Server Process "Frozen"-ish

2017-10-27 Thread Cannon Smith via 4D_Tech
For those that have experiences this issue, has anyone experienced it on a server that wasn’t a “built” server? All mine are built servers. -- Cannon.Smith Synergy Farm Solutions Inc. Hill Spring, AB Canada 403-626-3236

Re: Server Process "Frozen"-ish

2017-10-27 Thread Cannon Smith via 4D_Tech
Thanks, Jeff. -- Cannon.Smith Synergy Farm Solutions Inc. Hill Spring, AB Canada 403-626-3236 > On Oct 27, 2017, at 1:02 PM, Jeffrey Kain via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Ours are normal, non-built servers.

Re: DELAY PROCESS bug

2018-01-05 Thread Cannon Smith via 4D_Tech
Hi Drew, I wonder if this might be related to the Server Process Frozen issue lots of us have been experiencing. It sounds like the result is pretty much the same. -- Cannon.Smith Synergy Farm Solutions Inc. Hill Spring, AB Canada 403-626-3236 > On Jan 5,

Re: DELAY PROCESS bug

2018-01-05 Thread Cannon Smith via 4D_Tech
> That's not really a solution though, we'd have to write like a process > watching that would have to make a call that process needed to be revived. And then another process to watch the watch dog process in case it stops. And then another one to watch the one watching the watch dog. Etc. :-)

Re: SFTP and Internet Commands

2017-12-21 Thread Cannon Smith via 4D_Tech
I’d like to thank Miyako for his help on this issue. It turned out that the plugin needed to be updated (twice!) to handle the type of FTP I was using and he did it all very quickly. If anyone else needs this, there is a version 1.2 of the plugin available now.

Re: BRING TO FRONT for process windows minimized

2018-01-10 Thread Cannon Smith via 4D_Tech
Hi John, This has been reported as ACI0096836. It isn’t fixed in v16.2, but I don’t know beyond that. -- Cannon.Smith Synergy Farm Solutions Inc. Hill Spring, AB Canada 403-626-3236 > On Jan 10, 2018, at 8:18 AM, John DeSoi via 4D_Tech <4d_tech@lists.4d.com>

Re: Stored procedures not waking up?

2018-02-05 Thread Cannon Smith via 4D_Tech
Some tech support cases exist for this. As far as I know no bug has been filed, probably because no one, including tech support, has been able to reproduce it on demand. Very frustrating bug. -- Cannon.Smith Synergy Farm Solutions Inc. Hill Spring, AB Canada 403-626-3236

Re: SFTP and Internet Commands

2017-12-20 Thread Cannon Smith via 4D_Tech
Hi Miyako, I’m really struggling to get the right syntax to upload a file with your plugin. I can get it to work fine on the command line: curl --ftp-ssl -T "/Users/Cannon/Desktop/test.zip" -u “install:redacted" "ftp://install.herdly.cloud/install/; --connect-timeout 5 But can’t figure out

Re: SFTP and Internet Commands

2017-12-20 Thread Cannon Smith via 4D_Tech
I did try to figure it out from the sample DB, but I guess I wasn’t smart enough. I’ve tried your example in the email alone, with SSL_VERIFYHOST set to 0, with SSL_VERIFYPEER set to 0, with both set to 0. I’ve also tried using the CAINFO option with the very you have in the Resources folder.

collection.min() Returns Null

2018-07-26 Thread Cannon Smith via 4D_Tech
I was surprised that the following code tries to return null instead of 80: $cTest:=New collection(100;200;Null;80) $lMin:=$cTest.min() I would have expected that a Null value in the collection would be ignored when looking for the minimum value. Is this what others are expecting or is this a

Re: collection.min() Returns Null

2018-07-26 Thread Cannon Smith via 4D_Tech
Hi Christian, Thanks. The values are a series that need to be graphed. Some values in a series may be null, indicating that the graph line should be skipped at that point since we don’t know what the value is. That’s why I decided to use C_COLLECTION instead of ARRAY REAL to hold the values.

Re: collection.min() Returns Null

2018-07-26 Thread Cannon Smith via 4D_Tech
("#null").min() //<—What should the query string be? Or should I be using a different function? Anyone know what I should be doing here? Thanks. -- Cannon.Smith Synergy Farm Solutions Inc. Hill Spring, AB Canada 403-626-3236 > On Jul 26, 2018, at 1:59 PM, Cannon Smith via 4D_Tec

Re: collection.min() Returns Null

2018-07-26 Thread Cannon Smith via 4D_Tech
Hi Miyako, Perfect! Thanks, that makes sense and works well. -- Cannon.Smith Synergy Farm Solutions Inc. Hill Spring, AB Canada 403-626-3236 > On Jul 26, 2018, at 3:27 PM, Keisuke Miyako via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > in your case, you could do something like > >

Re: collection.min() Returns Null

2018-07-27 Thread Cannon Smith via 4D_Tech
Hi Steve, FWIW, I'm only getting one copy of each message. -- Cannon Smith > On Jul 27, 2018, at 5:51 AM, Stephen J. Orth via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > For the past few days I'm getting multiples of the same message, over and > over. Today I received like 15 copies of this

Re: POW Function

2018-07-25 Thread Cannon Smith via 4D_Tech
Hi Andrew, Thanks for the answer. Also, thanks to Miyako and Jeremy. Spencer actually helped me get this figured out offline, but I didn’t realize we’d gone offline. So its all taken care of. Thanks. -- Cannon.Smith Synergy Farm Solutions Inc. Hill Spring, AB Canada 403-626-3236 > On Jul

SVG IDs in Listbox Cells

2018-08-13 Thread Cannon Smith via 4D_Tech
You know how you can give SVG elements IDs and then use SVG Find element ID by coordinates during a click or mouse over event to figure out what element the mouse is over in an SVG picture? I’d like to do this, except that the SVG picture is in a list box. In fact, the list box has several of

Re: SVG IDs in Listbox Cells

2018-08-15 Thread Cannon Smith via 4D_Tech
Hi Arnaud, Thanks for those. I ended up doing it in a pretty simple way. Basically, in the list box On Mouse Move event: GET MOUSE($lMouseX;$lMouseY;$lMouseButton) LISTBOX GET CELL POSITION(lbRanchMetrics;$lMouseX;$lMouseY;$lCol;$lRow) If ($lRow>0) LISTBOX GET CELL

Re: SVG IDs in Listbox Cells

2018-08-15 Thread Cannon Smith via 4D_Tech
Yes, this does work perfectly. Thanks. -- Cannon.Smith Synergy Farm Solutions Inc. Hill Spring, AB Canada 403-626-3236 > On Aug 14, 2018, at 6:15 PM, Keisuke Miyako via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > the command > >

Re: SVG IDs in Listbox Cells

2018-08-15 Thread Cannon Smith via 4D_Tech
Thanks, Jim. I have this working now, basically doing what you described. -- Cannon.Smith Synergy Farm Solutions Inc. Hill Spring, AB Canada 403-626-3236 > On Aug 15, 2018, at 3:36 AM, jim.dorrance--- via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > I think there is an example of that on my

Re: SVG IDs in Listbox Cells

2018-08-15 Thread Cannon Smith via 4D_Tech
Hi Arnaud, No, I’m manipulating the picture directly inside the list box. Not as efficient as I like and I haven’t tried Miyako’s latest suggestion which might be more efficient, but the whole process only takes 1-2 milliseconds interpreted, so fast enough. Here is more of the code (I’ve left

Re: Creating Windows Taskbar Icons with 4D Version Numbers

2018-08-16 Thread Cannon Smith via 4D_Tech
Thank, Tim. This is a great tip! In fact, it would make a good Tech Tip. -- Cannon.Smith Synergy Farm Solutions Inc. Hill Spring, AB Canada 403-626-3236 > On Aug 15, 2018, at 8:47 PM, Tim Nevels via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Shortcuts for all the pinned taskbar items are

Re: height and width of a fixed prtinted object

2018-08-07 Thread Cannon Smith via 4D_Tech
Hi Chuck, If I’m understanding what you’re after, you just need to use the max width parameter with OBJECT GET BEST SIZE. HTH. -- Cannon.Smith Synergy Farm Solutions Inc. Hill Spring, AB Canada 403-626-3236 > On Aug 7, 2018, at 8:58 AM, Charles Miller via 4D_Tech <4d_tech@lists.4d.com> >

Re: SVG IDs in Listbox Cells

2018-08-14 Thread Cannon Smith via 4D_Tech
Hi Keith, I just tried a little test and, yes, it does seem to work. I’ll play with this some more and see if all the parts will come together. Thanks! -- Cannon.Smith Synergy Farm Solutions Inc. Hill Spring, AB Canada 403-626-3236 > On Aug 14, 2018, at 8:52 AM, Keith Culotta via 4D_Tech

Re: SVG IDs in Listbox Cells

2018-08-14 Thread Cannon Smith via 4D_Tech
Thanks for everyone who commented on this. It is actually _almost_ doable. With some math it is possible to figure out where the cursor is over a particular picture cell and "SVG Find element ID by coordinates” works in this context. For example: $tID:=SVG Find element ID by

Re: SVG Shape With No Background

2018-07-20 Thread Cannon Smith via 4D_Tech
t;none";10) gives me a circle with no background. So, never mind! :-) -- Cannon.Smith Synergy Farm Solutions Inc. Hill Spring, AB Canada 403-626-3236 > On Jul 20, 2018, at 8:59 AM, Cannon Smith via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > $tRef:=SVG_New_circle

SVG Shape With No Background

2018-07-20 Thread Cannon Smith via 4D_Tech
Hi All, What is the best way to draw a shape (circle, rectangle, etc.) without a background using the SVG component? I tried using a “transparent” color: $tRef:=SVG_New_circle ($tSVG;200;200;100;"red";"white:0";10) //“white:0” = transparent But it seems that if you pass a color like

Re: SVG Shape With No Background

2018-07-20 Thread Cannon Smith via 4D_Tech
> some time ago, we received a similar question from a customer, > evidently it is intentional that opacity=0 is ignored (it is explicitly coded > that way). > the explanation from the developer was that opacity=0 makes no sense and > "none" should be used instead. I agree, it does make sense.

POW Function

2018-07-24 Thread Cannon Smith via 4D_Tech
I’m looking for an equivalent function in 4D as the pow function in other languages. For example: Does anyone know how to do this? My math is really rusty. Thanks. -- Cannon.Smith Synergy Farm

Re: POW Function

2018-07-24 Thread Cannon Smith via 4D_Tech
Hi Spencer, Yes, it is! So simple. Thank you. Perhaps some more help from someone? I’m trying to translate some code on the web into 4D. Here are the lines of code along with an explanation: range = max - min; exponent = int(log(range)); magnitude = pow(10, exponent); //So, for example, if

Re: Converting pictures on 4D forms (Windows) to get transparency

2018-07-09 Thread Cannon Smith via 4D_Tech
Hi Bob, I haven’t tried this, but maybe this tip would do what you want? -- Cannon.Smith Synergy Farm Solutions Inc. Hill Spring, AB Canada 403-626-3236 > On Jul 9, 2018, at 9:20 AM, Bob Miller via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > anyone

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

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

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>

Detecting 64-bit OS

2018-04-23 Thread Cannon Smith via 4D_Tech
I’ve been using the following code to detect whether I’m running on a 64-bit Windows OS for some time now. I think the code came from a tech tip. Anyway, I just had a computer reported today where this code said the computer was 64-bit, but it was actually only 32-bit. LAUNCH EXTERNAL

Re: Detecting 64-bit OS

2018-04-23 Thread Cannon Smith via 4D_Tech
Thanks Julio, Jeff, and John. It was definitely an English computer with regular settings. From your answers, I gather that the way I was doing it was rather brittle. Registry settings sound like the best way to go forward (until v17, anyway). Thanks for your replies. I appreciate it. --

Re: Moving Files With cURL FTP

2018-06-28 Thread Cannon Smith via 4D_Tech
Hi Miyako, Thanks. I’ll go get the new version now and give it a try. From your example on github, is this how you would move “c” up a level? OB SET($options;\ "URL";"ftp://ftp.example.com/a/b/c";\ "USERNAME";"user";\ "PASSWORD";"pass") $name:="ftp://ftp.example.com/a/c” //A full path here???

Re: Fastest Feature Request Implementation Ever

2018-06-28 Thread Cannon Smith via 4D_Tech
Hi Kirk, Thanks for the heads up. I’ll look for it. -- Cannon.Smith Synergy Farm Solutions Inc. Hill Spring, AB Canada 403-626-3236 > On Jun 28, 2018, at 6:37 PM, Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > There's a blog post and demo that's worth a look if you haven't

Re: Moving Files With cURL FTP

2018-06-28 Thread Cannon Smith via 4D_Tech
Never mind, I have it figured out now. It would just be “/a/c” to get what I need. Thanks again! -- Cannon.Smith Synergy Farm Solutions Inc. Hill Spring, AB Canada 403-626-3236 > On Jun 28, 2018, at 5:33 PM, Cannon Smith via 4D_Tech <4d_tech@lists.4d.com> > wrote: >

Moving Files With cURL FTP

2018-06-28 Thread Cannon Smith via 4D_Tech
Does anyone know if Miyako’s cURL FTP plugin can move files? I need to get a list of files in a directory and then move them all up into the parent folder and I’m not quite sure how to do that with his plugin. Thanks. -- Cannon.Smith Synergy Farm Solutions Inc. Hill Spring, AB Canada

Fastest Feature Request Implementation Ever

2018-06-28 Thread Cannon Smith via 4D_Tech
Some of you may know that I use a mechanism in my windows where each window and widget on the window has its own “model” object. This can be passed into a window and then manipulated after the window closes. This logic applies to subforms as well and is set up so that when a subform is typed as

Re: Longing IDs or UUIDs as primary key?

2018-10-24 Thread Cannon Smith via 4D_Tech
I've heard lots of comments over the years talking about how hard it is to work with UUIDs. I’d like to offer a different perspective. I switched to UUIDs from longints for primary keys 7 or 8 years ago. It took some careful programming to migrate the datafiles in place, but it was _so_ worth

Re: Current time (*) incorrect today on v17?

2018-11-05 Thread Cannon Smith via 4D_Tech
All of our customers also had to relaunch their servers yesterday. They are all on v16r6. Must be a new bug as I don’t remember this happening in the past. -- Cannon.Smith Synergy Farm Solutions Inc. Hill Spring, AB Canada 403-626-3236 > On Nov 4, 2018, at 12:01 PM, Jeffrey Kain via 4D_Tech

Re: Mojave

2018-11-30 Thread Cannon Smith via 4D_Tech
Thanks John and Kirk. I appreciate the feedback. If anyone else has more information, feel free to chime in. Thanks. -- Cannon.Smith Synergy Farm Solutions Inc. Hill Spring, AB Canada 403-626-3236 > On Nov 30, 2018, at 9:59 AM, John Baughman via 4D_Tech <4d_tech@lists.4d.com> > wrote: > >

Re: Mojave

2018-12-04 Thread Cannon Smith via 4D_Tech
Hi Jim, Thank you very much. That gives me some direction on what I’ll need to look for. Much obliged! -- Cannon.Smith Synergy Farm Solutions Inc. Hill Spring, AB Canada 403-626-3236 > On Dec 4, 2018, at 8:26 AM, Jim Hays via 4D_Tech <4d_tech@lists.4d.com> wrote: > > Good graphics - 32 bit

Re: Mojave

2018-12-04 Thread Cannon Smith via 4D_Tech
Thanks for the list, Miyako. Very helpful. -- Cannon.Smith Synergy Farm Solutions Inc. Hill Spring, AB Canada 403-626-3236 > On Dec 3, 2018, at 5:16 PM, Keisuke Miyako via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > ACI0098799On macOS 10.14.x (Mojave), unexpected white vertical line is >

Mojave

2018-11-30 Thread Cannon Smith via 4D_Tech
I don’t believe 4D has released a version that is fully compatible with Mojave, unless I missed an announcement. But I’m getting outside pressure to upgrade from Sierra to Mojave and may have to do it anyway. From what I’ve heard, v17 seems to work good enough for development at least in

Re: Mojave

2018-12-03 Thread Cannon Smith via 4D_Tech
Hi Jim, Do you have more specific information about this issue? Thanks. -- Cannon.Smith Synergy Farm Solutions Inc. Hill Spring, AB Canada 403-626-3236 > On Dec 3, 2018, at 2:54 PM, Jim Hays via 4D_Tech <4d_tech@lists.4d.com> wrote: > > We had a problem with SVG graphics in v17.0 on Mojave

Auto Updating 4D Not Working

2019-04-04 Thread Cannon Smith via 4D_Tech
I’m having trouble with one particular app auto updating. When it should be quitting, it just hangs forever. 4D v17.1HF1, macOS only. (It works fine on Windows). I’m using essentially the same code as in several other applications, also on v17.1HF1, but this is the only application that

Re: Auto Updating 4D Not Working

2019-04-05 Thread Cannon Smith via 4D_Tech
Hi Lutz, Thanks for replying. I’ve been using this mechanism in several applications for a few years now. No problems with any of them except this specific instance. I can’t see that I’m doing anything different in my code than with the other applications. Wondering if you can remember more

Re: Denver Area Developers

2019-02-22 Thread Cannon Smith via 4D_Tech
I’m even closer that Steve in Alberta. I had no idea Denver was so big! :-) -- Cannon.Smith Synergy Farm Solutions Inc. Aetna, AB Canada > On Feb 22, 2019, at 1:49 PM, Stephen J. Orth via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > If you count Madison, WI as part of Denver, then yes there

Re: Apple Notary Service

2019-03-16 Thread Cannon Smith via 4D_Tech
Hi Miyako, I do have the yearly membership and find it important to get our application to behave as closely as possible to what users expect. I often don’t have any contact with someone who downloads our software and if they see any kind of warning that looks fishy they won’t even try it out

Re: Delay Worker Process

2019-03-14 Thread Cannon Smith via 4D_Tech
Hi Gabriel, Part of what gets logged isn’t know at the time I know something needs to be logged. The code is easiest if I can say, “Hey, please log this situation” and have the actual logging happen a few seconds later. As I said, this is a quick a dirty injection of some logging code to track

Apple Notary Service

2019-03-15 Thread Cannon Smith via 4D_Tech
Has anyone tried to notarize a built 4D application with Apple yet? Is it possible with 4D? Thanks. -- Cannon.Smith Synergy Farm Solutions Inc. Aetna, AB Canada ** 4D Internet Users Group (4D iNUG) Archive:

Delay Worker Process

2019-03-13 Thread Cannon Smith via 4D_Tech
Hi Everyone, I’m trying to do some quick and dirty logging to track down an issue at a customer’s site. As part of that I need to log some information to a file, always on the server. I figured the simplest would be to call a method each time I need to log some information and pass the info to

Re: Apple Notary Service

2019-03-15 Thread Cannon Smith via 4D_Tech
Hi David, Thanks! I’m glad to know that it works. I wouldn’t be surprised if we need it this fall. -- Cannon.Smith Synergy Farm Solutions Inc. Aetna, AB Canada > On Mar 15, 2019, at 12:39 PM, David Ringsmuth wrote: > > I helped my client do this. >

Re: Apple Notary Service

2019-03-15 Thread Cannon Smith via 4D_Tech
Hi Jeff, That’s a pretty safe statement to make! :-) I’ll take a look. Thanks much. -- Cannon.Smith Synergy Farm Solutions Inc. Aetna, AB Canada > On Mar 15, 2019, at 12:57 PM, Jeffrey Kain via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > I think Miyako has something on his github

Re: 4D Server v17.1 and time change

2019-03-11 Thread Cannon Smith via 4D_Tech
Hi Jeff, We had to relaunch all our servers for them to get the time update, but they are still on v16r6. I thought the daylight saving bug had been fixed in v17.1 so I’m curious to know what you find if you get more information. Good luck. -- Cannon.Smith Synergy Farm Solutions Inc. Aetna,

Re: 4D Server v17.1 and time change

2019-03-11 Thread Cannon Smith via 4D_Tech
Thanks. Good to know it has been solid otherwise. P.S. Have you seen the delayed process not waking up issue since moving to v17.1? -- Cannon.Smith Synergy Farm Solutions Inc. Aetna, AB Canada > On Mar 11, 2019, at 4:47 PM, Jeffrey Kain wrote: > > Nobody else has responded... so I guess

Re: 4D Server v17.1 and time change

2019-03-11 Thread Cannon Smith via 4D_Tech
Thanks, Jeff. I’ll be sending out 1 v17.1 build next month and hope to see the same thing. I still have the issue several times a week in v16r6. Thanks. -- Cannon.Smith Synergy Farm Solutions Inc. Aetna, AB Canada > On Mar 11, 2019, at 5:19 PM, Jeffrey Kain wrote: > > No, not at all since

Re: Auto Updating 4D Not Working

2019-04-08 Thread Cannon Smith via 4D_Tech
Hi John, Thanks for the suggestion. I actually use a temporary folder to place the “new” version before calling SET UPDATE FOLDER. But I use the same one for all my applications and it works for all the rest, so I doubt security issues on the folder is the issue. Thanks anyway. --

Re: Checking If Methods Are Preemptive Ready

2019-04-12 Thread Cannon Smith via 4D_Tech
Hi Wayne, Thanks for the idea. So far the symbols files has provided what I need. Not as simple to parse as if it had been spit out in JSON, but okay. Mostly I’m trying to get an idea of which of my “foundation” modules are not thread safe, but could be. Thanks. -- Cannon.Smith Synergy Farm

Checking If Methods Are Preemptive Ready

2019-04-11 Thread Cannon Smith via 4D_Tech
Does anyone know if there is a way to get a list of methods that are (or are not) preemptive ready? Thanks. -- Cannon.Smith Synergy Farm Solutions Inc. Aetna, AB Canada ** 4D Internet Users Group (4D iNUG) Archive:

Re: Checking If Methods Are Preemptive Ready

2019-04-11 Thread Cannon Smith via 4D_Tech
Hi Dani, I believe that preemptive capable in that context just means that you’ve set the method properties that way. I don’t think it means that if you tried to compile the code would actually work in a preemptive context. I’d be happy to be corrected if I’m wrong? Thanks. -- Cannon.Smith

Re: Checking If Methods Are Preemptive Ready

2019-04-11 Thread Cannon Smith via 4D_Tech
Hi Vincent, Perfect. Thank you very much! -- Cannon.Smith Synergy Farm Solutions Inc. Aetna, AB Canada > On Apr 11, 2019, at 11:10 AM, Vincent de Lachaux via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > If you activate the generation of the symbol file in the compilation > preferences,

Re: Rotate Picture

2019-06-22 Thread Cannon Smith via 4D_Tech
Hi John, Here is the code from a method I use called Photo_Rotate: //This method rotates a picture. While it will rotate the picture to //any angle, this method is really expecting it to rotate 90˚, 180˚, //or 270˚. C_PICTURE($1;$gPicture) C_REAL($2;$rDegrees) //Expects 90, 180, or 270

Re: Rotate Picture

2019-06-22 Thread Cannon Smith via 4D_Tech
For all I remember you gave it to me! :-) Glad it works. -- Cannon.Smith Synergy Farm Solutions Inc. Aetna, AB Canada > On Jun 22, 2019, at 6:28 PM, JOHN BAUGHMAN via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Your code looked vaguely familiar to me. I had not thought to look and see if

Re: Printing structures

2019-05-08 Thread Cannon Smith via 4D_Tech
Hi Alexander, This is great! Thank you for sharing. Just a heads up on a bit of code that won’t work in countries that use a decimal place instead of a comma. In the method xml_atts2ob, lines 50, 54, 58, and 62 convert the decimal point in the height, left, top, and width of the XML values to

Collections and Entity Selections Cheat Sheets

2019-04-30 Thread Cannon Smith via 4D_Tech
I’ve been using collections and entity selections more lately and notice I spend a lot of time in the docs trying to remember what function does what. Some of them aren’t named very intuitively (at least to me). And I keep forgetting which ones return a deep or shallow copy or use a query

Re: Collections and Entity Selections Cheat Sheets

2019-05-07 Thread Cannon Smith via 4D_Tech
I made a small update to both cheat sheets, adding the syntax for the new "For each” command. I seem to get it mixed up a lot. :-) Update is here if anyone wants it: -- Cannon.Smith Synergy Farm Solutions Inc. Aetna, AB Canada

More Errors With RECEIVE BUFFER In v17

2019-10-01 Thread Cannon Smith via 4D_Tech
I’m wondering if anyone else has noticed an uptick in errors when using the RECEIVE BUFFER command to read from a serial port? Our application does a lot of serial port communication. We also log all errors. There has been a _significant_ uptick in errors that occur on the following line of

Re: ORDA/Collections

2019-10-30 Thread Cannon Smith via 4D_Tech
Hi Justin, Have you taken a look at the extract function on collections? I think it would do what you want. -- Cannon.Smith Synergy Farm Solutions Inc. Aetna, AB Canada > On Oct 30, 2019, at 2:45 PM, Justin Will via 4D_Tech <4d_tech@lists.4d.com> > wrote: > >

Re: Doing a GOTO (widget) in the On Load event - stumped

2019-12-02 Thread Cannon Smith via 4D_Tech
You’re welcome. Glad it worked. -- Cannon.Smith Synergy Farm Solutions Inc. Aetna, AB Canada > On Dec 2, 2019, at 5:58 PM, Peter Jakobsson wrote: > > Works a dream. > > Thanks Canon. I had forgotten about SET TIMER. Suddenly these query forms are > perfectly user-intuitive. Start off in

Re: Doing a GOTO (widget) in the On Load event - stumped

2019-12-02 Thread Cannon Smith via 4D_Tech
No worries! :-) -- Cannon.Smith Synergy Farm Solutions Inc. Aetna, AB Canada > On Dec 2, 2019, at 6:01 PM, Peter Jakobsson via 4D_Tech > <4d_tech@lists.4d.com> wrote: > >> Thanks Canon > > …sorry, I mean “Cannon” of course ;)

Re: Doing a GOTO (widget) in the On Load event - stumped

2019-12-02 Thread Cannon Smith via 4D_Tech
Hi Peter, Depending on how the subform is set up, it may not be loaded by then. But it should work if you use SET TIMER(-1) and then call EXECUTE IN SUBFORM($subform;”ACTION”) in the timer. HTH. -- Cannon.Smith Synergy Farm Solutions Inc. Aetna, AB Canada > On Dec 2, 2019, at 5:32 PM,

<    1   2   3   >