Re: Docs about "twinned" process and pre-emptive mode

2018-01-18 Thread Peter Jakobsson via 4D_Tech
Thanks Miyako. That’s useful. I basically was wanting to know if inline SQL used the “twinned” pre-emptive thread or not. Peter > On 19 Jan 2018, at 04:10, Keisuke Miyako via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > are you familiar with the request log file? > > you will see a P (for pre

ScreenshotToFile Method

2018-01-18 Thread Tim Nevels via 4D_Tech
I’ve been working on a feature that I include in my 4D applications that allows the user to easily send me an email with a bug report. The way it works is there is a toolbar button called “Bug Report” that the user clicks. It grabs some pertinent environment information about what the are doing

Re: Docs about "twinned" process and pre-emptive mode

2018-01-18 Thread Keisuke Miyako via 4D_Tech
Hello, focusing on commands or syntax may lead you in the wrong direction, as there are so many possibilities in SQL and QUERY. are you familiar with the request log file? you will see a P (for preemptive) or C (for cooperative) indicated for each network request. **

Docs about "twinned" process and pre-emptive mode

2018-01-18 Thread Peter Jakobsson via 4D_Tech
Hi I’ve been raking through the online documentation trying to find where the querying modes pre-emptive / co-operative are documented but have been unsuccessful. What I’m specifically looking for is more background on what conditions SQL queries use the twinned pre-emptive process for example

Re: Can I use METHOD GET NAMES in the Host to get methods from a component?

2018-01-18 Thread Kirk Brooks via 4D_Tech
Hey Julio, Thanks for the example. I did pretty much the same thing by creating a component method to get the method names and comments of methods. I was hoping for a way to get the names of all available methods in other components - not just the ones I write. On Thu, Jan 18, 2018 at 1:34 PM, Jul

Re: Creating .docx files

2018-01-18 Thread Peter Bozek via 4D_Tech
On Thu, Jan 18, 2018 at 12:39 PM, Pat Bensky via 4D_Tech < 4d_tech@lists.4d.com> wrote: > > If the two folders (Brownies and Brownies-CB) contain the exact same > contents, why would one work and the other, not? > > Note - there is one hidden file in the package and I checked to make sure > that i

Re: Can I use METHOD GET NAMES in the Host to get methods from a component?

2018-01-18 Thread Julio Carneiro via 4D_Tech
Try this: - Add a new method to host, call it “ProxyMethodGetNames" and make it ‘shared between host and components’, with the following code: > C_Pointer($1;$arrNames) > > $arrNames:=$1 > METHOD GET NAMES($arrNames->) - on your component, replace METHOD GET NAMES call by: > ARRAY TE

Re: Can I use METHOD GET NAMES in the Host to get methods from a component?

2018-01-18 Thread Charles Miller via 4D_Tech
Don’t think so. In any event it would only return available methods (those shared between component and host) so you would not get all any way Regards Chuck On Thu, Jan 18, 2018 at 3:22 PM, Kirk Brooks via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Doesn't look like it but maybe there is something

Can I use METHOD GET NAMES in the Host to get methods from a component?

2018-01-18 Thread Kirk Brooks via 4D_Tech
Doesn't look like it but maybe there is something I'm not thinking of. Thanks! -- Kirk Brooks San Francisco, CA === *The only thing necessary for the triumph of evil is for good men to do nothing.* *- Edmund Burke* ***

Re: Creating .docx files

2018-01-18 Thread Keisuke Miyako via 4D_Tech
although it's true that DOCX files are created using the zip algorithm, you can't just zip a folder and change it's fie extension; that's not how it works. to prove that point, you could change the extension of a valid DOCX to ZIP, zip it back, and change it's extension back to DOCX. it's now a b

Re: 4D 6.8 Removing Components

2018-01-18 Thread Ed Glassgow via 4D_Tech
Hi Jody, I have it for Windows… Ed Glassgow glass...@pcisys.net On 1/18/18, 10:12 AM, "4D_Tech on behalf of Jody Bevan via 4D_Tech" <4d_tech-boun...@lists.4d.com on behalf of 4d_tech@lists.4d.com> wrote: I asked this a few months ago. I have finally got from the client the correct versio

4D 6.8 Removing Components

2018-01-18 Thread Jody Bevan via 4D_Tech
I asked this a few months ago. I have finally got from the client the correct version of their structure. It is written in 6.8.6 of 4D (USA). It has some components that I need to get out to convert to much later version so I can use on my big screens and later version of 4D. I am not concerned

Re: Creating .docx files

2018-01-18 Thread Chip Scheide via 4D_Tech
Pat, something simpler? create an .RTF file - (re)name it .docx word is happy to open it Mac OS x 10.9 and office 2011 Chip On Thu, 18 Jan 2018 11:39:14 +, Pat Bensky via 4D_Tech wrote: > I think I am slowly losing my sanity. > Trying to create DOCX files from 4D. > My code creates the requi

Creating .docx files

2018-01-18 Thread Pat Bensky via 4D_Tech
I think I am slowly losing my sanity. Trying to create DOCX files from 4D. My code creates the requisite XML files, then zips them up and produces a .docx document. My test document is very simple: it contains one word, "Brownies". If I unzip that .docx I can see all the files and they all appear t