How can I identify a process with an active transaction from outside the process

2018-12-17 Thread Kirk Brooks via 4D_Tech
Here's the deal - I only want a user logged in once. So if I am logged in and walk into another room and attempt to login using a different computer I get a message informing me I'm already logged in and asking if I want to cancel that session. The mechanism for managing this involves registering

Re: Appearance of Tab Control objects

2018-12-17 Thread Chip Scheide via 4D_Tech
not using v17, but maybe a method which returns an RGB value in the background(?) color of the tab object Chip > Using v17 - > Is there any way to control the appearance of tab control objects? I have 3 > tab controls on a form and I'd like to differentiate them by maybe giving > them a

Re: How to print a document from LEP?

2018-12-17 Thread Keisuke Miyako via 4D_Tech
if you have already figured out how to do it via the CLI, you are just one step away from doing the same with LEP. if the application (AcroRd32.exe in your case) does not run directly via LEP, you probably need to start it via cmd.exe (the console application). see ex.10

Re: How to print a document from LEP?

2018-12-17 Thread Darin Schroeder via 4D_Tech
Bob, Is the printer you are using IP-based and understand PCL? If it is, we basically turn the PDF into PCL using GhostScript (using LEP) and then push the PCL to the printer using TCP commands. This only works for PDF with GhostScript though. Maybe there's a PCL convertor for other programs,

Appearance of Tab Control objects

2018-12-17 Thread Pat Bensky via 4D_Tech
Using v17 - Is there any way to control the appearance of tab control objects? I have 3 tab controls on a form and I'd like to differentiate them by maybe giving them a background colour or setting the font in a different colour. The only options seem to be the font style. I tried using *OBJECT

Re: UI Form Updates

2018-12-17 Thread Chip Scheide via 4D_Tech
you need to update the current selection of records in the selection from the table the listbox is displaying. ex: create set([table];"$Temp") use set("Listbox_Selection_Set") delete selection([table]) difference("$Temp";"Listbox_Selection_Set";"$Temp") use set("$Temp") clear set("$Temp") Chip

UI Form Updates

2018-12-17 Thread Sandor Szatmari via 4D_Tech
I added a page to an existing form.  I can add and delete rows.  I have + button to show the data entry form and a '-' button to display a 'confirm the deletion of the selected row' dialog.  However, once the entry form or the dialog are dismissed the ListBox in the table does not update to

How to print a document from LEP?

2018-12-17 Thread Bob Miller via 4D_Tech
Hi Everyone, This is a most fundamental thing, but I've now wasted enough time on it that I think that either I should take some time off OR lay off the holiday egg nog (maybe both). If I programatically create a file using 4D, such as an Acrobat PDF file or an Excel file, and then I want to

4D WritePro Toolbar xliff

2018-12-17 Thread David Ringsmuth via 4D_Tech
4D v17 32bit 17.2.0.0 227919 WP_Toolbar The tab titles show: :xliff:Home :xliff:insertAndView :xliff:margins :xliff:borders :xliff:images :xliff:printing :xliff:spell I dragged the WP_Toolbar into this database from another v17 structure that correctly shows the WP_Toolbar tab titles. I

Re: Windows Server Machine TCP Overload?

2018-12-17 Thread Tony Ringsmuth via 4D_Tech
Thanks Miyako, This link: https://serverfault.com/questions/648424/windows-server-2012-r2-runs-out-of-ephemeral-ports-though-it-shouldnt ... seems like it's leading me on the right path. I'm having our IT guys follow up on that. On 12/14/18, 8:26 PM, "4D_Tech on behalf of Keisuke Miyako

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

Re: Excel copy error while 4D is running (Windows)

2018-12-17 Thread Jim Hays via 4D_Tech
I should have said - I've googled it myself and found the suggestions about clearing the Excel/Office clipboard. I've tried clearing the temp folder and the clipboard items from Excel. It did not help. We've seen this problem with the rdpclip.exe process in remote desktop sessions, and I've

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.

Re: Coding/Development Style Guide?

2018-12-17 Thread Jeremy Roussak via 4D_Tech
And one that I’ve seen frequently: there are 10 kinds of people in the world: those who understand binary and those who don’t. Jeremy > On 17 Dec 2018, at 03:51, Tom Benedict via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > >> On Dec 16, 2018, at 14:24, Kirk Brooks via 4D_Tech