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

2020-05-06 Thread Jeffrey Kain via 4D_Tech
Same here - see y'all over there > On May 6, 2020, at 1:37 PM, Jim Labos - infobase via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > Yes! Finally! I'll be using the new one from now on. > > However! Let's leave this one alone at least for searching old posts. > > Looking forward to seeing

Re: Multple windows within the same process

2020-04-30 Thread Jeffrey Kain via 4D_Tech
A lot more scalable too - one server process per client dedicated to the UI, no matter how many windows are open locally... > On Apr 29, 2020, at 11:52 PM, Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Where workers come in is to do, well - work. All the heavy processing be it >

Re: Multple windows within the same process

2020-04-29 Thread Jeffrey Kain via 4D_Tech
DIALOG with the More Power parameter (*)... it's not a dream! > On Apr 29, 2020, at 7:17 PM, Pat Bensky via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Maybe it was in a dream ... but I'm sure I recall reading something about a > new feature (v17) that allows more than one window to be open

Re: WAN vs LAN Cache

2020-04-28 Thread Jeffrey Kain via 4D_Tech
In v17R5 that number changes if you use different instances of 4D. As long as you use the same copy of the 4D application then it uses the same cache folder. Is this on Mac or Windows, and where is your 4D application installed? > On Apr 28, 2020, at 2:08 PM, Mitchell Shiller via 4D_Tech >

Re: Long running reports

2020-04-16 Thread Jeffrey Kain via 4D_Tech
Hey John - If it's on a Windows server, check out Process Monitor (procmon). It runs in the background and gives you a log of every filesystem activity. It's pretty amazing the stuff it reveals... but it should be able to track down who/when deleted your file:

Re: Drop User NOT working (after client disconnected using Force Quit)

2020-04-15 Thread Jeffrey Kain via 4D_Tech
This is what I do as well. Drop User doesn't work at all in v17R5, but killing off the processes does. The issue of ghost users sounds like our experience when we tried the not-so-new network layer. We don't see it very often at all with the legacy network. > On Apr 15, 2020, at 12:04 PM,

Re: NTK 32K limit in TCP Receive

2020-04-10 Thread Jeffrey Kain via 4D_Tech
Yeah, can you imagine how they could have sold and marketed 4D with A4D built in? Nothing on the market would have come close. > On Apr 10, 2020, at 5:03 PM, James Wright via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > So should Active4D!

Re: NTK 32K limit in TCP Receive

2020-04-10 Thread Jeffrey Kain via 4D_Tech
:) I miss the days of lots of thriving plug-ins. NTK should really be built into 4D. > On Apr 10, 2020, at 4:49 PM, Aparajita Fishman via 4D_Tech > <4d_tech@lists.4d.com> wrote: > >> Overreact much? > > Yes, I do. All the time unfortunately. > > We plugin authors are a dying breed. I plead

Re: NTK 32K limit in TCP Receive

2020-04-10 Thread Jeffrey Kain via 4D_Tech
> On Apr 10, 2020, at 1:09 PM, Aparajita Fishman via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > The documentation clearly says 32000 is the default maximum to read if you > **DON’T** specify the maximum. So I have to agree with Rob — what exactly is > the problem? Is it really so difficult

Re: NTK 32K limit in TCP Receive

2020-04-10 Thread Jeffrey Kain via 4D_Tech
Two problems; First, the maximum size of a text variable isn't 32000 bytes anymore, which leads me to believe this was an oversight and not a feature... :) Second, it was easy to receive text until a stop character is received, as long as the data is less than 32K. When your packets become

Re: NTK 32K limit in TCP Receive

2020-04-09 Thread Jeffrey Kain via 4D_Tech
Nope, it's for real. Easy enough to loop, etc.. But it's a bit of an anachronism in a modern plug-in like NTK. > On Apr 9, 2020, at 4:24 PM, Ben Kershaw via 4D_Tech <4d_tech@lists.4d.com> > wrote: > >> Why? :) >> "The bufferSize parameter indicates the maximum number of bytes to read. If >>

NTK 32K limit in TCP Receive

2020-04-09 Thread Jeffrey Kain via 4D_Tech
Why? :) "The bufferSize parameter indicates the maximum number of bytes to read. If it is omitted or set to 0, the plugin will use the maximum size for a text variable (32000 bytes)." ** 4D Internet Users Group (4D iNUG)

Re: v17.4 and UUIDs

2020-03-27 Thread Jeffrey Kain via 4D_Tech
Bug in your code? > On Mar 27, 2020, at 11:44 AM, Chuck Miller via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > I would have assumed that all UUIDs would be filled. Indeed, most of them > were, but there were a few tables where there were duplicate values. Any > ideas as to why

Re: Receive packet stop character

2020-03-25 Thread Jeffrey Kain via 4D_Tech
You've got a smart quote in there... email post typo or is it in your code? Could the line ending have change to something else like \n ? > On Mar 25, 2020, at 9:31 PM, JOHN BAUGHMAN via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > I have a tab delimited text file and I want to get the first

Re: ds.Table.query() field not available

2020-03-10 Thread Jeffrey Kain via 4D_Tech
Never seen this. Remember everything in ORDA is case sensitive. > On Mar 9, 2020, at 10:08 PM, Sannyasin Siddhanathaswami via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > When I do a ds.Table.query() using a field/attribute of a non-indexed field, > I get an error.

Re: Editing a time in a collection-based list box

2020-02-14 Thread Jeffrey Kain via 4D_Tech
Thanks, Erick... > On Feb 14, 2020, at 3:48 PM, ericklui678 via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > You will have to convert the longint to Time then to a String in the > Expression pane of the property list as shown below: > > https://kb.4d.com/assetid=78298

Re: Runtime Explorer

2020-02-01 Thread Jeffrey Kain via 4D_Tech
You can call CHANGE CURRENT USER on the fly - maybe add a button to your developer palette if you have one, or a button or menu command somewhere in your UI that only you have access to - and do a quick switch to Designer as you need it. I do the same thing for OPEN ADMINISTRATION WINDOW. >

Re: 4D v16 in mixed mode 32 and 64bit

2020-01-29 Thread Jeffrey Kain via 4D_Tech
V17 64-bit is much better and unsupported now. It may have issues with Catalina that will never be fixed. I’d skip it and go to v17 or v18. > On Jan 29, 2020, at 4:45 AM, Andrew Hobson via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Until now, my main 4D Application runs on 4D v15. > With

Re: 4D Application as a 3-tier System

2020-01-28 Thread Jeffrey Kain via 4D_Tech
For a load balancer, you shouldn't care. There's nothing special about 4D's web server. > On Jan 28, 2020, at 4:54 PM, Stephen J. Orth via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > As an OEM, I do not get to dictate how the network is configured, or what > hardware can/cannot be purchased.

Re: 4D Application as a 3-tier System

2020-01-28 Thread Jeffrey Kain via 4D_Tech
I don't manage them, but we use A10 load balancers for our 4 4D Client instances running as virtual machines that serve web service requests from our website and a variety of other non-4D applications. The 4D Clients are running an HTTP server based on NTK (very very similar to the sample HTTP

Re: 4D Application as a 3-tier System

2020-01-28 Thread Jeffrey Kain via 4D_Tech
You stick a load balancer in front as the public-facing IP and let the load balancer, uh, balance the load. > On Jan 28, 2020, at 4:22 PM, Stephen J. Orth via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > So, what is the solution for balancing multiple 4D Client web servers?

Re: 4D v17 and catalina

2019-12-30 Thread Jeffrey Kain via 4D_Tech
Maybe Spotlight isn't done indexing yet after the upgrade? Catalina seems slightly faster to launch apps for me. > On Dec 30, 2019, at 3:32 PM, Chuck Miller via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > I am running combination on my development machine. Does anyone else notice > how slow

Re: Automatic Excel to Text-tab delimited?

2019-12-12 Thread Jeffrey Kain via 4D_Tech
4D View Pro is also really nice and can read and write xlsx files. It’s a wrapper for spreadJS integrated into the 4D environment: https://tinyurl.com/v7rz3r5 > On Dec 12, 2019, at 3:06 PM, Tom Benedict via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Converting Excel to Text is a problem that

Re: High Sierra or Mojave?

2019-12-11 Thread Jeffrey Kain via 4D_Tech
There's really no need for Catalina in my opinion. No big improvements, lots more headaches... The phrase macOS's Vista is pretty appropriate... :) > On Dec 10, 2019, at 8:31 PM, John DeSoi via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Mohave works fine with 4D 17 including Mac Mini

Re: Can't Define DEP Exception On Windows

2019-12-11 Thread Jeffrey Kain via 4D_Tech
Hey Ken - DEP hasn't been an issue for a very long time, unless you have some old plug-in that's requiring it. I thought it was since v11 or maybe even v2004... for sure v15 doesn't need it. > On Dec 10, 2019, at 7:48 PM, Ken Eyring via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Hi

Re: Jumpy forms in 64-bit

2019-11-22 Thread Jeffrey Kain via 4D_Tech
Hey Doug - I've never seen that, but I will say that I could never get our application to function properly on v16 in 64-bit mode. In contrast, on v17, it fired right up and required minimal changes. Not sure if a v17 upgrade is possible, but maybe you could try it and see if that just

Re: FYI: [v17.3] Get System Info on Windows 10

2019-11-06 Thread Jeffrey Kain via 4D_Tech
The power button on the TV screen doesn't turn off the PC :) > On Nov 6, 2019, at 7:47 AM, Jörg Knebel via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > I started the Win10-Box about 10 minutes before conducting the tests… > > > Out of curiosity I went to “Task Manager - Performance” and

Re: MySQL connection from 4D

2019-10-28 Thread Jeffrey Kain via 4D_Tech
Are you sure it's version 3? According to Wikipedia that version dates back to the 1990s... :) Jeff > On Oct 28, 2019, at 11:40 AM, Nigel Greenlee via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > Hi > > Does anyone know if 4D is able to connect to a MySQL server running version > 3x?

Re: Cache flushing did not complete... best practice

2019-10-28 Thread Jeffrey Kain via 4D_Tech
Or use a mirror. Highly recommended if the database is important... > On Oct 28, 2019, at 12:59 PM, JPR via 4D_Tech <4d_tech@lists.4d.com> wrote: > > The only 100% accurate way is to restart from the Backup file (made by 4D) > and integrate the current log file(s). This is the only way to be

Re: MySQL connection from 4D

2019-10-28 Thread Jeffrey Kain via 4D_Tech
If you don't get anywhere with SQL LOGIN (which should work, given the right driver settings), Pluggers Software sells the MyConnect plug-in which works perfectly and is very fast/reliable. https://www.pluggers.nl/product/myconnect-plugin/ We've been using it for many years performing crucial

Re: Capturing barcodes without a 'text' field

2019-10-15 Thread Jeffrey Kain via 4D_Tech
If you want to use a USB barcode scanner and still have complete control, you can use ON EVENT CALL to manage this. You'll need to program a prefix character and a suffix character into the barcode scanner, and have your ON EVENT CALL method watch for these characters to determine what to do.

Re: QUERY WITH ARRAY - SQL Equivalent?

2019-09-18 Thread Jeffrey Kain via 4D_Tech
SELECT ... FROM Table WHERE [ID] in ( comma separated list of IDs ) ID is a reserved word in sql so if that’s the name of your field you need to escape it (I use brackets in 4D). ** 4D Internet Users Group (4D iNUG) Archive:

Re: Object property inheritance - why does this this not work ?

2019-09-15 Thread Jeffrey Kain via 4D_Tech
I think you should stop thinking about dot notation as object orientation. Concepts like classes and inheritance aren't supported yet, and saying $animal:=$dog isn't inheritance -- it's just assigning one object's reference to another and kind of backwards at that. Don't try to fit a square

Re: Sweetwater is hiring!

2019-09-13 Thread Jeffrey Kain via 4D_Tech
Oops - here's the link to our virtual tour: https://www.sweetwater.com/tour/ > On Sep 13, 2019, at 5:44 PM, Jeffrey Kain wrote: > > Sweetwater is looking to add a Database Programmer/Application Developer to > our existing team of developers. As a Database Pro

Sweetwater is hiring!

2019-09-13 Thread Jeffrey Kain via 4D_Tech
Sweetwater is looking to add a Database Programmer/Application Developer to our existing team of developers. As a Database Programmer, you will be responsible for continuing the development of our custom business management package running on 4D and PostgreSQL, supporting over 1500 users.

Re: Views - how to access them

2019-09-12 Thread Jeffrey Kain via 4D_Tech
with a SELECT. The FROM is your view name. And remember views are read only. > On Sep 12, 2019, at 3:01 PM, Chip Scheide via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > How do I access the data in the view? ** 4D Internet

Re: 4D authentication system that allow for stronger security.

2019-09-06 Thread Jeffrey Kain via 4D_Tech
I be concerned enough about to devote my efforts at "home > brewing" something better? > > Thanks, > > Tom Benedict > >> On Sep 6, 2019, at 06:15, Jörg Knebel via 4D_Tech <4d_tech@lists.4d.com> >> wrote: >> >> Jeffrey, >> >>

Re: "automatically repaired method"

2019-09-06 Thread Jeffrey Kain via 4D_Tech
Tom - We used to see this a lot after a repair. To confirm Miyako's comments, it seems to not happen very much anymore, and it seems like this should be impossible once we start using project mode someday. Jeff > On Sep 6, 2019, at 5:43 AM, Tom Benedict via 4D_Tech <4d_tech@lists.4d.com> >

Re: 4D authentication system that allow for stronger security.

2019-09-05 Thread Jeffrey Kain via 4D_Tech
4D integrates well with Active Directory/LDAP servers. That's probably the best way to go, along with some custom code to track failed login attempts > On Sep 5, 2019, at 10:22 AM, Eric Naujock via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Does anyone have a replacement login system for 4D

Re: Possible to SELECT a record number?

2019-08-29 Thread Jeffrey Kain via 4D_Tech
Great - thank you! > On Aug 29, 2019, at 9:46 PM, Keisuke Miyako via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > select the virtual field __ROW_ID > > https://doc.4d.com/4Dv16/4D/16/Replication-via-SQL.300-3201184.en.html > >> 2019/08/30 7:10、Jeffrey Kain vi

Possible to SELECT a record number?

2019-08-29 Thread Jeffrey Kain via 4D_Tech
Is it possible to SELECT a 4D record number in the SQL engine? I'm not finding it in the documentation yet but I thought there was a way. Thanks in advance... Jeff ** 4D Internet Users Group (4D iNUG) Archive:

Re: Win32API setup woes

2019-08-20 Thread Jeffrey Kain via 4D_Tech
Hey David, Why are you using a Win4DX folder and not just putting the bundle into the Plugins folder? I’d start there. > Both are Windows and version 16.3 of 4D single user. Both have the > WIN32API.4dx and WIN32API.rsr installed in the \Win4DX directory found in > the same directory as the

Re: Overlapping Objects in Data Segment #65

2019-08-09 Thread Jeffrey Kain via 4D_Tech
Yes, as far as I know. But default R5 reindexes your alpha/text fields only. > On Aug 9, 2019, at 7:13 AM, Spencer Hinsdale wrote: > > can you drop indexes for the conversion? > > Spencer ** 4D Internet Users Group (4D iNUG)

Re: Overlapping Objects in Data Segment #65

2019-08-08 Thread Jeffrey Kain via 4D_Tech
9, at 8:19 PM, Spencer Hinsdale wrote: > > no but i feel like _you_ posted a while back that is the indy index of > structure ;) > > https://kb.4d.com/assetid=76692 > > Spencer > > > On Aug 8, 2019, at 4:58 PM, Jeffrey Kain via 4D_Tech <4d_tech@lists.4d.com>

Overlapping Objects in Data Segment #65

2019-08-08 Thread Jeffrey Kain via 4D_Tech
I ran a verify of our data file, and records were fine, indexes were fine, but at the end of the log was an error: Error: Overlapping Objects in data segment # 65 : Address overlaps(31;140) Does anyone know what this means? -- Jeffrey Kain jeffrey.k...@gmail.com

Re: Sending Text Messages From 4D

2019-08-05 Thread Jeffrey Kain via 4D_Tech
Are you URLEncoding the body of the text message? Also, We have the country code with every phone number including the sending phone number (1 for US). Did you try that? > On Aug 5, 2019, at 2:06 PM, Jeffrey Kain wrote: > > Here's what I wrote for our app ($tUserName would be uniq

Re: Sending Text Messages From 4D

2019-08-05 Thread Jeffrey Kain via 4D_Tech
Here's what I wrote for our app ($tUserName would be unique to you, along with $tPassword and $tFromNumber). The method HTTP_Request_Build is just building a text variable like: "From=155=156=This%20is%20the%20text" String_FixURL is just a URL-encode method that Miyako

Re: No Object Auto-Completion for 4D Commands?

2019-08-02 Thread Jeffrey Kain via 4D_Tech
And if you misspell a property (or get the case wrong), it will suggest that to you forever as well. So don't make a mistake... ever! :) > On Aug 2, 2019, at 1:10 PM, Narinder Chandi via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > This current behaviour as is means that there is a great

Re: User and Group information error on validation

2019-07-31 Thread Jeffrey Kain via 4D_Tech
I have a bunch of these too - preventing a clean bill of health when I check my structure file. I'd love to have a solution for this. > On Jul 31, 2019, at 4:03 PM, JOHN BAUGHMAN via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > I am getting the following error… > > The group 15003 is

Re: can't load internal 4D component

2019-07-28 Thread Jeffrey Kain via 4D_Tech
Just a thought — We had similar errors on Mac due to our anti-malware package which actually removed contents of the 4D bundle that it thought were unsafe. Have you written exceptions in your antivirus software? > On Jul 28, 2019, at 12:42 PM, David Ringsmuth via 4D_Tech >

Re: MacOS Character Viewer (emojis) and 4D

2019-07-17 Thread Jeffrey Kain via 4D_Tech
includes a search function. > > Jim Crate > >> On Jul 16, 2019, at 4:00 PM, Jeffrey Kain via 4D_Tech <4d_tech@lists.4d.com> >> wrote: >> >> It seems like 4D doesn't allow the macOS character viewer to open with

MacOS Character Viewer (emojis) and 4D

2019-07-16 Thread Jeffrey Kain via 4D_Tech
It seems like 4D doesn't allow the macOS character viewer to open with cmd+ctrl+space. Has anyone found a workaround for this? ** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options:

Re: 4D v17r4 Windows Print To PDF ignoring PAGE SETUP

2019-07-09 Thread Jeffrey Kain via 4D_Tech
to figure out what you want, or specify height and width in pixels. -- Jeffrey Kain jeffrey.k...@gmail.com > On Jul 8, 2019, at 8:40 PM, Tim Nevels via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Paper names can be an issue cross platform. I settled on using the “Paper > o

Re: 4D v17r4 Windows Print To PDF ignoring PAGE SETUP

2019-07-08 Thread Jeffrey Kain via 4D_Tech
On 64-bit Mac, if you specify a paper size that does not exist in your driver, OK gets set to zero and your job won’t print. This is new behavior. Best to set pixels for page width and height. Even different drivers on Macs have different names for paper sizes. > On Jul 8, 2019, at 4:24

Re: 4D v17r4 Windows Print To PDF ignoring PAGE SETUP

2019-07-06 Thread Jeffrey Kain via 4D_Tech
When we upgraded to v17 64-bit, the biggest thing we had to change were old printing forms. To get them to work, I changed old reports that relied on saved page setups to use the equivalent SET PRINT OPTION command, and it worked in all cases... -- Jeffrey Kain jeffrey.k...@gmail.com

Re: 4D v17r4 Windows Print To PDF ignoring PAGE SETUP

2019-07-03 Thread Jeffrey Kain via 4D_Tech
The newest versions of 4D do better if you set these options in code instead of a saved page setup. Try using SET PRINT OPTION to change it to landscape mode. > On Jul 3, 2019, at 6:13 PM, Cameron Ambrose via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > Just updated to 4D v17r4 and it

Re: Macs slow down generating PDFs

2019-07-03 Thread Jeffrey Kain via 4D_Tech
per second and it doesn't slow down. > On Jul 2, 2019, at 10:29 PM, Jeffrey Kain wrote: > > Memory was stable for 4D - didn’t check the overall system though. > >> On Jul 2, 2019, at 6:26 PM, Wayne Stewart via 4D_Tech <4d_tech@lists.4d.com> >> wrote: >>

Re: Macs slow down generating PDFs

2019-07-02 Thread Jeffrey Kain via 4D_Tech
Memory was stable for 4D - didn’t check the overall system though. > On Jul 2, 2019, at 6:26 PM, Wayne Stewart via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > What's memory consumption look like? ** 4D Internet Users Group

Macs slow down generating PDFs

2019-07-02 Thread Jeffrey Kain via 4D_Tech
Anyone notice that generating a large batch of PDFs on MacOS slows down? I'm trying to generate several thousand PDFs, and it starts out (on my Mac) at a clip of over 1 per second... after an hour it's down one every few seconds... after a few hours its a couple of PDFs per minute. Same code

Username/password dialog timeout in v17

2019-06-20 Thread Jeffrey Kain via 4D_Tech
ction to the database has been interrupted" message. This is 4D Server 17.1 HF2 and 4D Remote 17.1. Thanks... Jeff -- Jeffrey Kain jeffrey.k...@gmail.com ** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/arc

Re: Window type -724 (more info)

2019-06-19 Thread Jeffrey Kain via 4D_Tech
You should look at the v17 docs for the window types that will work going forward. A lot of these old window types won’t work on 64-bit - it won’t crash but some odd things happen like opening the new form in the existing window, etc. Stick to the v17 documented window types for best results

Re: V17 current release vs R-release

2019-06-15 Thread Jeffrey Kain via 4D_Tech
It's safe to do... as you said if you use new features in the R release you'll have to redo those parts of your code. > On Jun 15, 2019, at 9:30 PM, JOHN BAUGHMAN via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Any thoughts with regard to the soundness of deploying a structure that has > been

Re: Konstants - trying to determine where it is defined

2019-05-30 Thread Jeffrey Kain via 4D_Tech
Is a Konstant a Russian version of a constant? :) Constants are normally defined in an xliff file in Resources (for a 4D structure), or inside the bundle of a plug-in or component (probably also in Resources). For example, our application's constants file is named Constants_Sweetwater.xlf and

Re: Benefits of 64-bit 4D Remote

2019-05-23 Thread Jeffrey Kain via 4D_Tech
There's really no compelling reason if you're still on v16. 32-bit works fine. As Arnaud wrote things may be changing in the Fall with the next release of macOS. My guess is that some kind of virtualization will be required to run 32-bit stuff at that point. Also, the 64-bit version of 4D

Re: SET PRINT OPTION Fails on a New Macbook Air

2019-05-17 Thread Jeffrey Kain via 4D_Tech
Not sure if you're on 32-bit or 64-bit, but printing on 64-bit is fussier -- it wants to have paper sizes assigned with SET PRINT OPTION that match exactly the printer you're printing to, otherwise it sets OK to zero and it won't print. The workaround I found, since different drivers have

Re: Windows Server transition - Best Practice Advice

2019-05-07 Thread Jeffrey Kain via 4D_Tech
4 bit, >> so that hurdle has been crossed. I’ll talk to our IT staff about defender >> issues. Any tips on where the application should be located? Pluses and >> minuses for running as a service? >> >>> On May 6, 2019, at 1:14 PM, Jeffrey Kain wrote: >>> >

Re: Windows Server transition - Best Practice Advice

2019-05-06 Thread Jeffrey Kain via 4D_Tech
One point - in Windows Server 2016, Windows Defender is turned on by default (antivirus/anti-malware). You'll definitely want to either write exclusions for all 4D-related directories and file types, or disable it altogether (you can do a Google search for how to completely disable it if your

Re: Split Screen Support with 4D and MacOS?

2019-04-30 Thread Jeffrey Kain via 4D_Tech
You could use Exposé to put your code windows side by side. Or just drag methods from one Explorer window to another. > On Apr 30, 2019, at 6:05 PM, Tom Benedict via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Am I missing something? If not, how do others work with two 4D structures on >

Re: 4D v17 R5 file and folder objects !!!

2019-04-24 Thread Jeffrey Kain via 4D_Tech
Time references for documents are a good weed-out mechanism - if you can find a millennial who just gets it, you have a keeper... :) > On Apr 24, 2019, at 2:51 AM, Bruno LEGAY via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Hi, > > I just noticed in 4D v17 R5 the new file and folder objets...

Re: Setting to not Open Methods into One Window

2019-04-23 Thread Jeffrey Kain via 4D_Tech
It’s a strange setting. I couldn’t find it either and ended up posting a question too. So bizarre! > On Apr 23, 2019, at 10:57 PM, Douglas von Roeder wrote: > > Jeffrey: > > You mean the one labeled “Window tabbing (macOS only)”? :-) > > I simply did not see it.

Re: Setting to not Open Methods into One Window

2019-04-23 Thread Jeffrey Kain via 4D_Tech
It is (was) in the first tab. > On Apr 23, 2019, at 6:18 PM, Douglas von Roeder wrote: > > Jeff: > > That’s what I was expecting but I don’t see a setting that allows me to shut > it off. > > Which “tab” would it be under?

Re: Setting to not Open Methods into One Window

2019-04-23 Thread Jeffrey Kain via 4D_Tech
Use tabbed windows setting in 4D prefs? > On Apr 23, 2019, at 6:03 PM, Douglas von Roeder via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > Using V17R3 64-bit on the Mac and methods are opening in the main window. > > Is there a was to change this behavior?

Re: I really recommend the 4D World Tour

2019-04-11 Thread Jeffrey Kain via 4D_Tech
I agree - it's easy to cherry-pick examples that are well-suited to ORDA. The ORDA engine is definitely fast, but our tests show that the classic commands are still faster overall. You just have to write a lot more code. In my tests in client/server mode (and 4D always demos ORDA in

Re: LEP - hide console?

2019-04-09 Thread Jeffrey Kain via 4D_Tech
Hi Pat, Did you try calling SET ENVIRONMENT VARIABLE with the _4D_OPTION_HIDE_CONSOLE option? It works with normal batch windows... not sure about PowerShell windows. https://doc.4d.com/4Dv15/4D/15.6/SET-ENVIRONMENT-VARIABLE.301-3817570.en.html Jeff > On Apr 9, 2019, at 5:34 AM, Pat Bensky

Re: PDF viewing alternative in v17/64 bit

2019-04-08 Thread Jeffrey Kain via 4D_Tech
Are you sure it's a 64-bit client and that the embedded web area setting is marked? The Google viewer only works in 64-bit 4D. > -Original Message- > From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Piotr Chabot > Stadhouders via 4D_Tech > Sent: Monday, April 8, 2019 6:16 AM >

Re: PDF viewing alternative in v17/64 bit

2019-03-27 Thread Jeffrey Kain via 4D_Tech
If I get time I’m going to try updating the open source pdfjs files in that component and see if it fixes that stuff. The version in my component is a bit old. > Strangely, using right click to print, the pdf document is printed 50% > reduced at center of page: any idea,

PDF viewing alternative in v17/64 bit

2019-03-27 Thread Jeffrey Kain via 4D_Tech
Just ran into a nice surprise in 4D v17 on 64-bit using the embedded "Blink" web area... it has a very nice cross-platform PDF viewer built in. Just pass the path of a PDF into WA Open URL and it will display exactly the same on both Mac and Windows -- no plug-ins or extra configuration

Re: Call workers allowing multiple threads to run at once.

2019-03-25 Thread Jeffrey Kain via 4D_Tech
That's the point of workers. You queue up messages for the worker to handle, in order, so your calling method doesn't block. > On Mar 25, 2019, at 4:33 PM, Eric Naujock via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > But I have found that my loop pushing photos to the server moves so fast it

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

2019-03-18 Thread Jeffrey Kain via 4D_Tech
Our server disconnected all users and stopped responding at the time of the time change in v17.1. Coincidence? > On Mar 18, 2019, at 9:42 AM, Alan Tilson via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Just wanted to let everyone know that this is still happening in v17.0. Does > anyone know

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

2019-03-18 Thread Jeffrey Kain via 4D_Tech
It was supposed to have been fixed in 17.0 HF4. > On Mar 18, 2019, at 9:42 AM, Alan Tilson via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Hello out there, > Just wanted to let everyone know that this is still happening in v17.0. Does > anyone know if it is fixed in v17.1? > Thanks,

Re: Apple Notary Service

2019-03-15 Thread Jeffrey Kain via 4D_Tech
I think Miyako has something on his github account... > On Mar 15, 2019, at 12:02 PM, Cannon Smith via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Has anyone tried to notarize a built 4D application with Apple yet? Is it > possible with 4D? > > Thanks.

Re: 4D V16 R6 Vs 4D V16.5

2019-03-13 Thread Jeffrey Kain via 4D_Tech
I definitely agree that 4D's new internal processes and continuous delivery model have improved product quality a LOT. There's no way I would have ever considered putting a .0 release into production, but we did just that with v17.0. > On Mar 13, 2019, at 9:02 AM, GI -AJAR via 4D_Tech

Re: 4D V16 R6 Vs 4D V16.5

2019-03-13 Thread Jeffrey Kain via 4D_Tech
It's really not that hard, nor that unusual. Is Windows Server 2008R2 a beta of Windows Server 2012? Nope. It's an incremental release with new features. > On Mar 13, 2019, at 6:14 AM, Bernd Fröhlich via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > Maybe all the folks at 4D understand how

Re: 4D Server v17.1 and time change

2019-03-11 Thread Jeffrey Kain via 4D_Tech
No, not at all since v17.0 initial release. > On Mar 11, 2019, at 7:07 PM, Cannon Smith > wrote: > > 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?

Re: 4D Server v17.1 and time change

2019-03-11 Thread Jeffrey Kain via 4D_Tech
Nobody else has responded... so I guess it was just us. Or maybe not that many are running client/server in v17.1 yet. Aside from this weird glitch v17.1 has been very solid. -- Jeffrey Kain jeffrey.k...@gmail.com > On Mar 11, 2019, at 3:57 PM, Cannon Smith via 4D_Tech <4d_tech

4D Server v17.1 and time change

2019-03-10 Thread Jeffrey Kain via 4D_Tech
Did anyone else have any weirdness with their 4D Server v17.1 and the change to Daylight Savings Time this morning? Most, but not all, of our users got disconnected around the time of the change, the SQL server and the 4D Server UDP port that broadcasts the server name stopped responding (we

Re: What is "DirectWrite API" and "GDI API"?

2019-03-03 Thread Jeffrey Kain via 4D_Tech
Different low level APIs in Windows for handling fonts and graphics. GDI is older. > On Mar 3, 2019, at 9:55 PM, Jeremy French via 4D_Tech <4d_tech@lists.4d.com> > wrote: > What is the meaning of: ** 4D Internet Users

Re: Highlighting rows using Row Font Color Array

2019-03-03 Thread Jeffrey Kain via 4D_Tech
If the color of your text is black, make sure the font color is set to automatic and not black. If you have other font colors that you want to reverse when they are selected, you have to do this yourself per the blog. > On Mar 3, 2019, at 4:14 PM, James Knight via 4D_Tech

Re: Replacing FootRunner in v16

2019-03-01 Thread Jeffrey Kain via 4D_Tech
This technique works great by the way. Add K @4D pointed this out to us last summer, and we implemented a secure, locked down way to do this in our compiled application; it has really saved us a few times! -- Jeffrey Kain jeffrey.k...@gmail.com > On Feb 23, 2019, at 4:24 AM, GI -AJAR

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

2019-02-27 Thread Jeffrey Kain via 4D_Tech
Pretty weird... I didn't have to change anything else, but I never tried connecting a client on the server machine while 4D Server was running as a service. Can you connect from a client over the network? Clients on the server machine seem to use an optimized protocol that doesn't involve

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

2019-02-27 Thread Jeffrey Kain via 4D_Tech
We have 4D Server v17 HF3 set up as a service on Windows Server 2016. I checked the service properties -- the "Log on as:" is set to "Local System account" and "Allow Service to interact with desktop" is checked. I also have FireDaemon installed to make it easy to bounce into the "session 0"

Re: Where to Find Docs and Source Code for 4D Pop

2019-02-14 Thread Jeffrey Kain via 4D_Tech
Hey Doug - try this: https://kb.4d.com/assetid=75217 > On Feb 14, 2019, at 3:41 PM, Douglas von Roeder via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > Can someone point me in the right direction for the source code and docs > for 4D Pop?

Re: Closing a window with another application in focus

2019-02-07 Thread Jeffrey Kain via 4D_Tech
Kirk/Albert Brooks pointed me in the right direction -- if you open the window with Open Form Window, then the behavior is just automatic. If you open the window with Open Window, then you need to enable the On Close Box event and write a handler for that event. 64-bit seems pickier/more

Closing a window with another application in focus

2019-02-05 Thread Jeffrey Kain via 4D_Tech
On macOS - some of the windows in my application will close if I click on the close box while another application has the focus, but others don't. Does anyone know what the secret is for this? They all close fine if 4D is the frontmost application - even if other 4D windows are on top I can

Re: BUG OR FEATURE

2019-02-04 Thread Jeffrey Kain via 4D_Tech
Could it be the difference between a 32-bit client and a 64-bit client? 64-bit clients on Mac get access to more printer driver features than the 32-bit client. > On Feb 4, 2019, at 2:17 PM, Charles Miller via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > When I am connected to an uncompiled

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

2019-01-31 Thread Jeffrey Kain via 4D_Tech
You can click it right click on the summary graph and have it display individual cores. > On Jan 31, 2019, at 4:31 AM, Epperlein, Lutz (agendo) via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > Just out of curiosity, how can I visualize the use of the CPU cores on > Windows > using some

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

2019-01-30 Thread Jeffrey Kain via 4D_Tech
No, not at all. You have to first mark the method that's called first from New Process as preemptive. That method, plus all methods called by that method, and all methods called by those methods, must be written in a preemptive-safe manner (i.e. no UI, no unsafe commands, no plug-ins). If all

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

2019-01-30 Thread Jeffrey Kain via 4D_Tech
Compiled 64-bit Volume Desktop can use more than one core, depending upon how you write your code. 64-bit 4D is required, as is being compiled, in the current implementation. You need to write preemptive-safe methods and your methods need to be marked as preemptive in the method properties.

Re: 4D Server V17.0 crashing on database open

2019-01-28 Thread Jeffrey Kain via 4D_Tech
Have you tried rebooting the server? Once in awhile our server will get into a pattern like this and the only solution is a reboot. I believe, but haven't proven yet, that it has something to do with 4D Server not closing all of its ports correctly when you shut down. > On Jan 28, 2019, at

Getting the workstation name for a locked record

2019-01-23 Thread Jeffrey Kain via 4D_Tech
We have a bunch of dedicated job clients that all log in to 4D with the same username. When a locked record occurs (I'm using LOCKED BY), I want to display the workstation name that's holding the lock... is there a way to get this, other than to assign each workstation a unique username? Jeff

  1   2   3   4   5   >