Re: Sales Tax Solutions for 4D

2018-08-16 Thread Kirk Brooks via 4D_Tech
So kinda pricey?


On Thu, Aug 16, 2018 at 8:07 PM Jeffrey Kain via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Probably all negotiated individually...
>
> > On Aug 16, 2018, at 5:40 PM, Kirk Brooks via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
> >
> > What do they cost?
>
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
Kirk Brooks
San Francisco, CA
===

*We go vote - they go home*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Sales Tax Solutions for 4D

2018-08-16 Thread Jeffrey Kain via 4D_Tech
Probably all negotiated individually... 

> On Aug 16, 2018, at 5:40 PM, Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> What do they cost?

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Sales Tax Solutions for 4D

2018-08-16 Thread Kirk Brooks via 4D_Tech
Jeff,
What do they cost?

On Thu, Aug 16, 2018 at 2:26 PM Jeffrey Kain via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> We integrated with Avalara.
>
> Should have bought their stock before the Supreme Court ruling on sales
> tax... lol
>
> > On Aug 16, 2018, at 4:16 PM, Kirk Brooks via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
> >
> > That's a great tip.
> >
> > On Thu, Aug 16, 2018 at 10:20 AM Lee Hinde via 4D_Tech <
> 4d_tech@lists.4d.com>
> > wrote:
> >
> >> I talked to this service via 4D. Best API I’ve dealt with aside from
> maybe
> >> Stripe.
> >>
> >> https://www.taxjar.com/ 
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
Kirk Brooks
San Francisco, CA
===

*We go vote - they go home*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Sales Tax Solutions for 4D

2018-08-16 Thread Jeffrey Kain via 4D_Tech
We integrated with Avalara. 

Should have bought their stock before the Supreme Court ruling on sales tax... 
lol

> On Aug 16, 2018, at 4:16 PM, Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> That's a great tip.
> 
> On Thu, Aug 16, 2018 at 10:20 AM Lee Hinde via 4D_Tech <4d_tech@lists.4d.com>
> wrote:
> 
>> I talked to this service via 4D. Best API I’ve dealt with aside from maybe
>> Stripe.
>> 
>> https://www.taxjar.com/ 
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Why Does one throw an error and not the other?

2018-08-16 Thread Pat Bensky via 4D_Tech
Chip,
What version? I have seen some very bizarre compiler errors with v17r2.
PB

On Thu, 16 Aug 2018 at 21:54, Chip Scheide via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> : ($Size=6)
> SORT
> ARRAY(($Handle->{$One})->;($Handle->{$Two})->;($Handle->{$Three})->;\
> ($Handle->{$Four})->;($Handle->{$Five})->;($Handle->{$Six})->;>)
>
> : ($Size=7)
> SORT
> ARRAY(($Handle->{$One})->;($Handle->{$Two})->;($Handle->{$Three})->;\
> ($Handle->{$Four})->;($Handle->{$Five})->;($Handle->{$Six})->;\
> ($Handle->{$Seven})->;>)
>
>
> the first one ($Size=6) when trying to compile throws an error:
> did not expect the operator >; where as the following code ($Size = 7)
> does not throw the size error.
>
> Copying $Size=7 to $Size=6 and removing the last element I am still
> getting the same error.
> Retyping the entire line of code error persists.
> ---
> Gas is for washing parts
> Alcohol is for drinkin'
> Nitromethane is for racing
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Why Does one throw an error and not the other?

2018-08-16 Thread Chip Scheide via 4D_Tech
: ($Size=6)
SORT 
ARRAY(($Handle->{$One})->;($Handle->{$Two})->;($Handle->{$Three})->;\
($Handle->{$Four})->;($Handle->{$Five})->;($Handle->{$Six})->;>)

: ($Size=7)
SORT 
ARRAY(($Handle->{$One})->;($Handle->{$Two})->;($Handle->{$Three})->;\
($Handle->{$Four})->;($Handle->{$Five})->;($Handle->{$Six})->;\
($Handle->{$Seven})->;>)


the first one ($Size=6) when trying to compile throws an error:
did not expect the operator >; where as the following code ($Size = 7) 
does not throw the size error.

Copying $Size=7 to $Size=6 and removing the last element I am still 
getting the same error.
Retyping the entire line of code error persists.
---
Gas is for washing parts
Alcohol is for drinkin'
Nitromethane is for racing 
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Sales Tax Solutions for 4D

2018-08-16 Thread Kirk Brooks via 4D_Tech
That's a great tip.

On Thu, Aug 16, 2018 at 10:20 AM Lee Hinde via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> I talked to this service via 4D. Best API I’ve dealt with aside from maybe
> Stripe.
>
> https://www.taxjar.com/ 
>
>
> > On Aug 16, 2018, at 9:28 AM, Dan Ivy via 4D_Tech <4d_tech@lists.4d.com>
> wrote:
> >
> > I'm looking for suggestions to address the new US sales tax law and the
> > requirement for calculating sales tax across all states and
> jurisdictions. I
> > have done sales tax calculations for some clients with a physical
> presence
> > in a couple of states, and that is manageable. Trying to keep up with tax
> > laws in all states and counties, seems unmanageable, kinda like a 50
> state
> > payroll system.
> >
> > Has anyone done this directly in 4D? have you integrated 4D with a cloud
> > SaaS tax service?  Can regularly updated sales tax "tables" be purchased
> > from third parties?
> >
> > There's so little traffic on the 4D board about "sales tax" that it must
> be
> > given there's readily available solutions for tax calculation.
> >
> > Thanks for the ideas
> >
> > Dan Ivy
> > ivyleaf systems
> > birmingham al
> >
> >
>
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
Kirk Brooks
San Francisco, CA
===

*We go vote - they go home*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Creating Windows Taskbar Icons with 4D Version Numbers

2018-08-16 Thread Timothy Penner via 4D_Tech
Thanks Tim! I am working on publishing this info.

-Tim




-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Tim Nevels via 4D_Tech
Sent: Thursday, August 16, 2018 12:18 PM
To: 4d_tech@lists.4d.com
Cc: Tim Nevels 
Subject: Re: Creating Windows Taskbar Icons with 4D Version Numbers

On Aug 16, 2018, at 2:00 PM, Cannon Smith wrote:

> Thank, Tim. This is a great tip! In fact, it would make a good Tech Tip.

For what it’s worth — if is even necessary — I authorize 4D, Inc. to use this 
idea to create a Tech Tip. 

On macOS I do something different to get the same effect from the Dock. I 
rename the applications. So “4D.app” becomes “4D v17.0 HF1.app”. Then when you 
hover over the icon in the doc you see the version info instead of just “4D".

I didn’t mention this before because I assumed all the macOS developers already 
knew, but maybe not. So here it is for completeness.

Tim

*
Tim Nevels
Innovative Solutions
785-749-3444
timnev...@mac.com
*

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Creating Windows Taskbar Icons with 4D Version Numbers

2018-08-16 Thread Tim Nevels via 4D_Tech
On Aug 16, 2018, at 2:00 PM, Cannon Smith wrote:

> Thank, Tim. This is a great tip! In fact, it would make a good Tech Tip.

For what it’s worth — if is even necessary — I authorize 4D, Inc. to use this 
idea to create a Tech Tip. 

On macOS I do something different to get the same effect from the Dock. I 
rename the applications. So “4D.app” becomes “4D v17.0 HF1.app”. Then when you 
hover over the icon in the doc you see the version info instead of just “4D". 

I didn’t mention this before because I assumed all the macOS developers already 
knew, but maybe not. So here it is for completeness. 

Tim

*
Tim Nevels
Innovative Solutions
785-749-3444
timnev...@mac.com
*

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Sales Tax Solutions for 4D

2018-08-16 Thread Lee Hinde via 4D_Tech
I talked to this service via 4D. Best API I’ve dealt with aside from maybe 
Stripe.

https://www.taxjar.com/ 


> On Aug 16, 2018, at 9:28 AM, Dan Ivy via 4D_Tech <4d_tech@lists.4d.com> wrote:
> 
> I'm looking for suggestions to address the new US sales tax law and the
> requirement for calculating sales tax across all states and jurisdictions. I
> have done sales tax calculations for some clients with a physical presence
> in a couple of states, and that is manageable. Trying to keep up with tax
> laws in all states and counties, seems unmanageable, kinda like a 50 state
> payroll system.  
> 
> Has anyone done this directly in 4D? have you integrated 4D with a cloud
> SaaS tax service?  Can regularly updated sales tax "tables" be purchased
> from third parties? 
> 
> There's so little traffic on the 4D board about "sales tax" that it must be
> given there's readily available solutions for tax calculation.
> 
> Thanks for the ideas
> 
> Dan Ivy
> ivyleaf systems
> birmingham al
> 
> 

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: First day experience using 4D v17.0 HF1

2018-08-16 Thread Dave Nasralla via 4D_Tech
I'm on the slower end of things with a DSL line that does 25down/2up.
Latency seems to be more critical for me. If it stays under, say,
70ms, everything seems to work remarkably well, even searches.

dave

On Thu, Aug 16, 2018 at 8:58 AM, Jeffrey Kain via 4D_Tech
<4d_tech@lists.4d.com> wrote:
> Agreed.
>
> I do some remote development from home using 4D version 15. It's a cable 
> modem on my end (150 down/12 up) to a large university halfway across the 
> country.  Development is very speedy once things get cached, and even using 
> the application is pretty good with a few exceptions where there are lots of 
> tiny queries in loops, etc., instead of optimized S2A.
>
> The first thing I do when connecting to the server is to do a Find In Design 
> for text contains  which ends up locally caching all of the 
> methods. From that point on, everything in the design environment is super 
> fast.
>
>> On Aug 16, 2018, at 10:53 AM, Tim Nevels via 4D_Tech <4d_tech@lists.4d.com> 
>> wrote:
>>
>> This has only become possible in the last maybe 5 years due to the increases 
>> in internet speeds, and the changes 4D has made to optimize network traffic 
>> between 4D Server and 4D Client. I believe the new network layer is a major 
>> contributor to this.
>>
>> Trying to do what we have been doing 10 years ago with a 10 Mbps down and 
>> 1Mbps up internet connection would have been a horrible experience.
>
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
David Nasralla
Clean Air Engineering
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: E-Mail in 4D

2018-08-16 Thread Dave Nasralla via 4D_Tech
Hi Jody,

I think the new Gmail interface is technically following the RFCs for
rendering emails. If you are sending plain text emails, right before
the send command, I do a simple replace like:
$MessageBody_vt:=replace string(MessageBody_vt;<>CR;<>CRLF)

Where:
<>CR:=Char(13)
<>CRLF:=Char(13)+Char(10)

Interestingly, if I send plain text email with Mac Mail that has a
bunch of returns, Mac Mail encodes the carriage returns as <>CRLF - so
they render fine. Emails that have just Linefeeds (Char(10)), also
render fine (which makes so sense to me).

We are business customers with Google Suite and have access to their
Tech Support. On one had they created a support case for me, but on
the other, they said I was the only one complaining. The fix above
seemed to worked for us (though, today, I am troubleshooting sending
emails from Windows PCs with v17.0.HF1 - Macs seem fine).

Not sure if that helps - but there you go.

dave



On Tue, Aug 14, 2018 at 6:56 PM, Jody Bevan via 4D_Tech
<4d_tech@lists.4d.com> wrote:
> The last time I wrote an E-Mail client with 4D was circuit 4D v11 and into 
> v12. It worked great. I left the programming world for a break for 2 years, 
> and then got back in.
>
> Now I am using 16R6, and will likely move into the v17. releases for a 
> product I am working on.
> From my review today, and lurking over the last several months, it looks like 
> not much has changed within 4D to dramatically change from what I did back 
> then. It does sound like the likes of google mail has done some changes that 
> will likely cause me some grief.
>
> For those of you that kept in the game, and advancing is this your take on it?
>
>
> Jody Bevan
> Developer
> Argus Productions Inc. 
> +1 587-487-6120
>
>
>
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
David Nasralla
Clean Air Engineering
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Sales Tax Solutions for 4D

2018-08-16 Thread Dan Ivy via 4D_Tech
I'm looking for suggestions to address the new US sales tax law and the
requirement for calculating sales tax across all states and jurisdictions. I
have done sales tax calculations for some clients with a physical presence
in a couple of states, and that is manageable. Trying to keep up with tax
laws in all states and counties, seems unmanageable, kinda like a 50 state
payroll system.  

Has anyone done this directly in 4D? have you integrated 4D with a cloud
SaaS tax service?  Can regularly updated sales tax "tables" be purchased
from third parties? 

There's so little traffic on the 4D board about "sales tax" that it must be
given there's readily available solutions for tax calculation.

Thanks for the ideas

Dan Ivy
ivyleaf systems
birmingham al



--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

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 in this folder. Simply change 
> the name of the shortcut to something meaningful and then restart Windows. 
> You must restart Windows so that it will reload the taskbar shortcut names. 

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: PDF Creation on Windows under v16 -- Changed?

2018-08-16 Thread Chip Scheide via 4D_Tech
Thanks for this info - I will incorporate into Fileutl, as a bad file 
name character on windows.

On Thu, 16 Aug 2018 09:53:23 -0500, Tim Nevels via 4D_Tech wrote:
> The issue is that if there is a comma “,” in the file name
---
Gas is for washing parts
Alcohol is for drinkin'
Nitromethane is for racing 
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: First day experience using 4D v17.0 HF1

2018-08-16 Thread Jeffrey Kain via 4D_Tech
Agreed. 

I do some remote development from home using 4D version 15. It's a cable modem 
on my end (150 down/12 up) to a large university halfway across the country.  
Development is very speedy once things get cached, and even using the 
application is pretty good with a few exceptions where there are lots of tiny 
queries in loops, etc., instead of optimized S2A.

The first thing I do when connecting to the server is to do a Find In Design 
for text contains  which ends up locally caching all of the methods. 
From that point on, everything in the design environment is super fast.

> On Aug 16, 2018, at 10:53 AM, Tim Nevels via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> This has only become possible in the last maybe 5 years due to the increases 
> in internet speeds, and the changes 4D has made to optimize network traffic 
> between 4D Server and 4D Client. I believe the new network layer is a major 
> contributor to this. 
> 
> Trying to do what we have been doing 10 years ago with a 10 Mbps down and 
> 1Mbps up internet connection would have been a horrible experience. 

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: First day experience using 4D v17.0 HF1

2018-08-16 Thread Tim Nevels via 4D_Tech
On Aug 16, 2018, at 9:01 AM, Tom Benedict wrote:

> Thanks for the report Tim. I'm very impressed that anyone is doing 
> development on 4D Server over the internet.

This has only become possible in the last maybe 5 years due to the increases in 
internet speeds, and the changes 4D has made to optimize network traffic 
between 4D Server and 4D Client. I believe the new network layer is a major 
contributor to this. 

Trying to do what we have been doing 10 years ago with a 10 Mbps down and 1Mbps 
up internet connection would have been a horrible experience. 

The 4D Server that I’m connecting to has 1Gbps up and 1Gbps down internet 
connection. My brother has Google gigabit internet access that is 1Gbps up and 
1Gbps down. I’ve connected to this 4D Server and it is almost like being on a 
LAN. Completely usable and a good experience. 

I’ve been told 1Gbps service is coming to my area later this year. I’ll 
definitely upgrade to that. 

> When deployed does your app use 4D Client or does it have a web front end? I 
> ask because in our experience 4D performance over a WAN was intolerable. 
> Minutes to open a record. But that involved long queries and loading records 
> from multiple tables and executing lots of code/forms/etc. We also were 
> dealing with tables with millions of records and 200 - 300 concurrent users. 
> Our app may not be typical though.

The production database does not use 4D Client to connect to 4D Server. It uses 
a custom REST server over http. It was designed from the beginning to be fast 
one a WAN on the internet. We have no speed issues in production. I’m only 
talking about development work with 4D Server/4D Client and using the Design 
environment and doing some testing of development work. 

Some operation are super slow still going over the WAN as opposed to a LAN. 
These have not been optimized. Liberal use of the “Execute on server” method 
property and rewriting some code to reduce network traffic would speed these 
areas up. When we run across a “slow” area that we are “sensitive” about, we 
take some time to make changes and have seen the performance improve. But 
hardly ever is it exactly the same speed as on a LAN. We accept that. We just 
want it to be usable when doing development and testing. 

Tim

*
Tim Nevels
Innovative Solutions
785-749-3444
timnev...@mac.com
*

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

PDF Creation on Windows under v16 -- Changed?

2018-08-16 Thread Tim Nevels via 4D_Tech
> On Aug 16, 2018, at 9:01 AM, Allan Udy  wrote:
> 
> After recently upgrading one of our vertical market apps to v16R6 (from 
> v14), we're getting reports from several user sites that the (relatively 
> simple) PDF reports that they've been emailing to their clients are now 
> failing on a more regular basis.
> 
> Failure consists of:
> 
> a) attached PDFs not actually appearing at the email destination, or
> 
> b) some of the attached PDFs that do arrive are corrupt and are unreadable.
> 
> At this stage there seems to be a mix of both Win 7/8 clients using PDF 
> Creator, and Win 10 clients using the built-in pdf writer (our software 
> auto switches depending on the OS).
> 
> We know that there are SMTP Server, spam filter and ISP issues at work 
> (as there always have been), and we're working through this trying to 
> get more info, but it would be useful to know if anyone else noticed the 
> appearance of more problems with PDFs under v16 compared with earlier 
> versions?

I recently got bitten by a rather obscure Windows 10 bug relating to the built 
in "Microsoft Print to PDF” driver. Where in the past using 4D and PDF Creator 
printer driver to produce PDFs works without issues, sometime PDF would be 
produced using Windows 10 and "Microsoft Print to PDF” would not open. Reported 
they were corrupt. The file size looked about right, but they would open.

I worked for hours trying to track this down. I tried a shorter file path, that 
didn’t help. I switch to PDF Creator, that worked but the client really wanted 
to use Microsoft Print to PDF and not have to deal with PDF Creator (and I 
wanted that too). Finally I tried a different file name, “test.pdf” and it 
worked. 

The issue is that if there is a comma “,” in the file name or file path when 
using Windows 10 and Microsoft Print to PDF the resulting PDF will be created 
but corrupt, or will not be created at all. Yeah… how’s that for a kick in the 
teeth. Comma in a file name makes it go crazy.

Go see for yourself and Google "windows pdf driver and comma in filename”. 
There are many people finding this and going crazy. 

In my particular situation the client wanted/needed commas in file names and 
sometimes in folder names. So the workaround for me was to check for a comma in 
the file path for the PDF and if found — and using Microsoft Print to PDF 
driver — I create the PDF in a temp directory with a name with no comma, Once 
the PDF is created I MOVE DOCUMENT it to the original file path that has the 
comma in it. That works!

Thank you Microsoft for wasting 4 hours of my life one day to find and resolve 
this bug.

Tim

*
Tim Nevels
Innovative Solutions
785-749-3444
timnev...@mac.com
*

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: [offish] Code to make your head hurt

2018-08-16 Thread Chip Scheide via 4D_Tech
On Thu, 16 Aug 2018 11:26:40 +0200, Arnaud de Montard via 4D_Tech wrote:
> 
> Second syntax of MULTI SORT ARRAY does not work?
Arnaud,

I did not know about this command (or had forgotten about it), but 
reading through the documentation:
MULTI SORT ARRAY ( ptrArrayName ; sortArrayName ) 

Note: ptrArrayName can be an array of local ($ptrArrayName), process 
(ptrArrayName) or inter-process (<>ptrArrayName) pointers. Conversely, 
the elements of this array must point to ** process or inter-process 
arrays only **.

** - emphasis is mine

--I have not had a chance to test compiled, but --interpretedly-- the 
below (in a component) works where the pointer array elements point to 
local arrays.
Execute formula("Sort 
Array(($Handle->{1})->;($Handle->{2})->;($Handle->{3})->;>)")

Chip
---
Gas is for washing parts
Alcohol is for drinkin'
Nitromethane is for racing 
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: First day experience using 4D v17.0 HF1

2018-08-16 Thread Dennis, Neil via 4D_Tech
> Thanks for the report Tim. I'm very impressed that anyone is doing 
> development on 4D Server over the internet.

We have been developing over the internet for about 9 years now. One thing that 
it does is show us where the application is network intensive. We have tuned 
the performance so that it isn't too bad. In production we deploy with XenApp 
Citrix.

Neil







Privacy Disclaimer: This message contains confidential information and is 
intended only for the named addressee. If you are not the named addressee you 
should not disseminate, distribute or copy this email. Please delete this email 
from your system and notify the sender immediately by replying to this email.  
If you are not the intended recipient you are notified that disclosing, 
copying, distributing or taking any action in reliance on the contents of this 
information is strictly prohibited.

The Alternative Investments division of UMB Fund Services provides a full range 
of services to hedge funds, funds of funds and private equity funds.  Any tax 
advice in this communication is not intended to be used, and cannot be used, by 
a client or any other person or entity for the purpose of (a) avoiding 
penalties that may be imposed on any taxpayer or (b) promoting, marketing, or 
recommending to another party any matter addressed herein.
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Anyone using FTP_Receive under 64-bit?

2018-08-16 Thread Randy Jaynes via 4D_Tech
Allan,

Here is a zip file with 4 methods to send and receive using callbacks for 
optional debugging messages and using the progress bar component for the 
uploads and downloads.

https://www.dropbox.com/s/ey2600zfie7o42i/cURL_FTP.zip?dl=0 


The cURL_Debug_Callback uses an interprocess messaging system to just display 
whatever message is passed. I didn’t include that because it’s a lot of arrays, 
interprocess communication, etc.

HTH,
Randy

--
Randy Jaynes
Senior Programmer and Customer Support

http://printpoint.com • 845.687.3741 • PrintPoint, Inc • 57 Ludlow Lane • 
Palisades, NY 10964 
Please send all email contacts to supp...@printpoint.com 





> On Aug 15, 2018, at 6:59 PM, Allan Udy  wrote:
> 
> Hi Randy,
> 
> I'd greatly appreciate seeing a bit of example code that works. Many thanks.
> 
> 
> Randy Jaynes wrote on 16/08/18 9:25 AM:
>> Yes it does. I have it implemented if you’d like a copy of the method I can 
>> email it directly to you.
>> It’s fairly generic, but I can strip out the application specific stuff and 
>> comment it before sending.
> 
> Cheers,
> Allan Udy
> 
> Golden Micro Solutions Ltd, Blenheim, New Zealand
> http://www.golden.co.nz   
> 

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Multipart MIME emails

2018-08-16 Thread Pat Bensky via 4D_Tech
Thanks Miyako - that works really well!

Pat

On Thu, 16 Aug 2018 at 02:36, Keisuke Miyako via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> I don't have an answer to what exactly might be going wrong,
> but if it helps,
> I've posted an example some time ago that constructs alternative MIME
> messages using 4D code.
>
> https://github.com/miyako/4d-component-email
>
> there is also a parser
>
> https://github.com/miyako/4d-plugin-gmime
>
> and a writer
>
> https://github.com/miyako/4d-plugin-etpan
>
> 2018/08/16 5:36、Pat Bensky via 4D_Tech <4d_tech@lists.4d.com 4d_tech@lists.4d.com>>のメール:
> Any idea what I'm doing wrong?
>
>
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: PDF Creation on Windows under v16 -- Changed?

2018-08-16 Thread UKVetDerm via 4D_Tech
Allan

Somewhere around v16r4–6 there was a change in the maximum file name length and 
path length that caused us considerable problems (we are Mac based and had been 
sending reports with enormous descriptive titles before this generated on the 
fly using 4D write and then attached to emails via 4D Internet commands). You 
might want to look at that for the sites where PDFs are missing, but the text 
of the email is correct.

Regards

Steve
UKVetDerm

-- 
On 16/08/2018, 10:13, "4D_Tech on behalf of Allan Udy via 4D_Tech" 
<4d_tech-boun...@lists.4d.com on behalf of 4d_tech@lists.4d.com> wrote:

Hi again,

After recently upgrading one of our vertical market apps to v16R6 (from 
v14), we're getting reports from several user sites that the (relatively 
simple) PDF reports that they've been emailing to their clients are now 
failing on a more regular basis.

Failure consists of:

a) attached PDFs not actually appearing at the email destination, or

b) some of the attached PDFs that do arrive are corrupt and are unreadable.


At this stage there seems to be a mix of both Win 7/8 clients using PDF 
Creator, and Win 10 clients using the built-in pdf writer (our software 
auto switches depending on the OS).

We know that there are SMTP Server, spam filter and ISP issues at work 
(as there always have been), and we're working through this trying to 
get more info, but it would be useful to know if anyone else noticed the 
appearance of more problems with PDFs under v16 compared with earlier 
versions?


Cheers,
Allan Udy

Golden Micro Solutions Ltd, Blenheim, New Zealand
http://www.golden.co.nz

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: [offish] Code to make your head hurt

2018-08-16 Thread Arnaud de Montard via 4D_Tech

> Le 16 août 2018 à 01:29, Chip Scheide via 4D_Tech <4d_tech@lists.4d.com> a 
> écrit :
> 
> interpretably it does work - with locals!
> 
> tomorrow Ill try compiled...

Second syntax of MULTI SORT ARRAY does not work?

-- 
Arnaud de Montard 





**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

PDF Creation on Windows under v16 -- Changed?

2018-08-16 Thread Allan Udy via 4D_Tech

Hi again,

After recently upgrading one of our vertical market apps to v16R6 (from 
v14), we're getting reports from several user sites that the (relatively 
simple) PDF reports that they've been emailing to their clients are now 
failing on a more regular basis.


Failure consists of:

a) attached PDFs not actually appearing at the email destination, or

b) some of the attached PDFs that do arrive are corrupt and are unreadable.


At this stage there seems to be a mix of both Win 7/8 clients using PDF 
Creator, and Win 10 clients using the built-in pdf writer (our software 
auto switches depending on the OS).


We know that there are SMTP Server, spam filter and ISP issues at work 
(as there always have been), and we're working through this trying to 
get more info, but it would be useful to know if anyone else noticed the 
appearance of more problems with PDFs under v16 compared with earlier 
versions?



Cheers,
Allan Udy

Golden Micro Solutions Ltd, Blenheim, New Zealand
http://www.golden.co.nz

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**