Re: Using TRANSFORM PICTURE Crop in a Scaled to fit (Proportional) picture variable

2019-06-08 Thread JOHN BAUGHMAN via 4D_Tech
Keisuke, Thanks for the helpful response. I had not thought about scaling the image manually. It took awhile, but I finally got the math right…. It works!! > is there a reason why your image is scaled on screen? If I understand the question, a user is manually cropping the image

Re: Open a v17 data file when Structure is unknown

2019-06-08 Thread Jörg Knebel via 4D_Tech
Hi JPR, Thanks for all the additional input it helped a fair bit. I try to be careful not to loose anything in regards of structures (DBs), passwords and pass phrases. ;-) Cheers Jörg ** 4D Internet Users Group (4D iNUG)

Re: Open a v17 data file when Structure is unknown

2019-06-08 Thread Kirk Brooks via 4D_Tech
Jorg, Sorry, I missed the bit about the compiled structure. Sounds like a difficult situation. But if you have access to user mode exporting all the data is as good a solution as any, really. It's slow doing the export but you only have to do it once. On Sat, Jun 8, 2019 at 6:31 PM Jörg Knebel

Re: Open a v17 data file when Structure is unknown

2019-06-08 Thread Jörg Knebel via 4D_Tech
Hi Kirk, As mentioned in an other post the client has a compiled structure, but the guy the business was bought of refuses to hand over the source code. The funny thing is the business is based on and depends on that application, meaning no application/data no business. It is possible to go to

RE: Anyone using zipcodeapi

2019-06-08 Thread Sannyasin Siddhanathaswami via 4D_Tech
I’m playing with the Google Geocode too. It’s useful for certain things. It’s free for up to $200 worth or requests per month. That’s a lot for minor uses! Sannyasin Siddhanathaswami On Jun 8, 2019, 7:11 AM -1000, David Ringsmuth via 4D_Tech <4d_tech@lists.4d.com>, wrote: John, I’m using the

Re: Open a v17 data file when Structure is unknown

2019-06-08 Thread JPR via 4D_Tech
[JPR] Hi Jörg, Kirk is right, the WEDD resource stands for Wedding, and it was just a resource used to open the proper data file when starting a structure file, there is nothing mysterious about it. The WEDD resource has been removed in 4D 2004, 15 years ago. It's only use was to mary a 4DB

RE: Anyone using zipcodeapi

2019-06-08 Thread David Ringsmuth via 4D_Tech
John, I’m using the Google Geocode API. It returns XML with street address info, which can be complicated…. It’s not free, but it is very in-expensive. David Ringsmuth From: JOHN BAUGHMAN via 4D_Tech Sent: Saturday, June 1, 2019 8:07 PM To: Ed Hammond via 4D_Tech Cc: JOHN BAUGHMAN Subject:

Re: Using TRANSFORM PICTURE Crop in a Scaled to fit (Proportional) picture variable

2019-06-08 Thread Keisuke Miyako via 4D_Tech
Unfortunately TRANSFORM PICTURE applies the cropping coordinates to the full size picture not the scaled picture, which of course is way off is there a reason why your image is scaled on screen? did you scale the image with TRANSFORM PICTURE or are you relying on the image's form object

Re: Open a v17 data file when Structure is unknown

2019-06-08 Thread Kirk Brooks via 4D_Tech
Jorg, Well, one man's 'data rescue' is another man's 'data breach'. Frankly it sounds a little hinky that a client would have a lone datafile and no clue about where the structure file is or who created it. But I have run bars and restaurants in my past and am suspicious of stories like that. In

Re: Open a v17 data file when Structure is unknown

2019-06-08 Thread Jörg Knebel via 4D_Tech
Kirk, > On 9 Jun 2019, at 24:01 AEST, Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > As I recall the WEDD was a simple string supplied by the developer. I never > looked into how, or if, 4D used that string to create anything more complex > like a hash. Well, as a matter of fact,

Re: Open a v17 data file when Structure is unknown

2019-06-08 Thread Kirk Brooks via 4D_Tech
Jorg, As I recall the WEDD was a simple string supplied by the developer. I never looked into how, or if, 4D used that string to create anything more complex like a hash. On Sat, Jun 8, 2019 at 12:37 AM Jörg Knebel via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Since this project turned into a

Using TRANSFORM PICTURE Crop in a Scaled to fit (Proportional) picture variable

2019-06-08 Thread JOHN BAUGHMAN via 4D_Tech
Ha anyone this and be willing to share their code” I have been trying to relate a selected area on the scaled picture to unscaled picture without any success figuring out the math. I am displaying the image in a fixed size variable on a form (819X550 odd numbers I know). The user selects the

Re: Open a v17 data file when Structure is unknown

2019-06-08 Thread Jörg Knebel via 4D_Tech
Thanks Keisuke, > On 7 Jun 2019, at 11:54 AEST, Keisuke Miyako via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > the data analyser written by JPR > > https://kb.4d.com/assetid=77253 > > had code that could essentially be used to retrieve structure information