Re: HTTP AUTHENTICATE - how to know if the authentification worked

2019-09-30 Thread John DeSoi via 4D_Tech
Hi Paul,

Start here and see the linked RFCs.

https://en.wikipedia.org/wiki/Digest_access_authentication

I probably have some old code somewhere that implemented this, I'll see if I 
can dig it up and send it to you.

John DeSoi, Ph.D.



> On Sep 29, 2019, at 11:42 AM, Paul Lovejoy  wrote:
> 
> Hi John,
> 
> Thanks for your input. I wouldn’t know where to begin creating the 
> authentication digest myself. Can you point me somewhere?
> 
> Cheers,
> 
> Paul
> 
> 

**
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
**

Windows XPS Document Writer Preview problem

2019-09-30 Thread David Rose via 4D_Tech
In a 4D v15 database running on Windows 10 computers, clicking the Preview box 
in the print settings screen invokes the Windows XPS Document Writer, and works 
fine on all existing computers. I just installed 4D and the database on a brand 
new Win 10 computer, and clicking the Preview box on this computer does not 
produce the preview screen - nothing happens.

The Windows XPS Document Writer is installed on this computer (I know it was 
phased out by Microsoft in the 1803 version, but it is in the printer list). 
The printer port for this driver is set to the default PORTPROMPT, and all 
controls on the Port tab of the Printer Preferences screen are disabled.

I tried selecting the Windows XPS Document Writer in the print settings screen 
- same result.

Any ideas besides Miyako's xpsview solution?

David

**
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: Windows XPS Document Writer Preview problem

2019-09-30 Thread Randy Jaynes via 4D_Tech
XPS Viewer is not installed in Windows 10 by default any more.

https://www.tenforums.com/tutorials/109719-add-remove-xps-viewer-app-windows-10-a.html
 


I would follow Option 1 to add it.

Randy

--
Randy Jaynes
Senior Programmer and Customer Support


> On Sep 30, 2019, at 12:36 PM, David Rose via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> In a 4D v15 database running on Windows 10 computers, clicking the Preview 
> box in the print settings screen invokes the Windows XPS Document Writer, and 
> works fine on all existing computers. I just installed 4D and the database on 
> a brand new Win 10 computer, and clicking the Preview box on this computer 
> does not produce the preview screen - nothing happens.
> 
> The Windows XPS Document Writer is installed on this computer (I know it was 
> phased out by Microsoft in the 1803 version, but it is in the printer list). 
> The printer port for this driver is set to the default PORTPROMPT, and all 
> controls on the Port tab of the Printer Preferences screen are disabled.
> 
> I tried selecting the Windows XPS Document Writer in the print settings 
> screen - same result.
> 
> Any ideas besides Miyako's xpsview solution?
> 
> David
> 
> **
> 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
**

Converting PICTs to PNGs

2019-09-30 Thread Doug Hall via 4D_Tech
I'm in the process of converting our main database from v15 to v17. With
the exception of a few plugins that I need (updating 4D Write to 4D Write
Pro and AreaList Pro 9.9.5 to 10.x), I think I have most of what I need. I
used 4D's Knowledgebase solution to "convert" PICT images into PNGs in 4D
v16 (with v16 4D Pack).  I ran this method
from the compiled application, first. I'm not sure if this is why, but now,
even after running the script uncompiled, I can only see some of my
converted images, and only from the compiled version. When I browse through
my Picture Library, almost all I see are those camera icons with the red
'X' through them and ".pict" below it.

My database uses Foundation_561, so I converted the PICT images there, as
well, and rebuilt the component so the results would come across in my
actual database. I can't really tell any difference here, though.

Is there an easier way to convert Foundation databases? Surely, someone out
there has done it already, and has those images already in PNG format.

Thanks for any advice,
Doug
**
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: Converting PICTs to PNGs

2019-09-30 Thread Tom Benedict via 4D_Tech
Doug Hall writes:

> I'm not sure if this is why, but now, even after running the script 
> uncompiled, I can only see some of my
> converted images, and only from the compiled version. When I browse through
> my Picture Library, almost all I see are those camera icons with the red
> 'X' through them and ".pict" below it.
> 
Did you run the script in 32bit mode?

Tom Benedict
**
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
**

v15 - what code runs before On Startup?

2019-09-30 Thread Chip Scheide via 4D_Tech
I have a component which I am trying to debug. The host is interpreted, 
stand alone.

When the component is compiled and built the host starts, but of course 
I can not trace the code in the component - from which I am getting an 
error message.

When I swap in the interpreted version of the component, during 
database startup I get an error not enough memory (obviously stuck in a 
loop). 

However, currently the very first line of code in the host ON STARTUP 
is TRACE.
The not enough memory error is presented BEFORE the trace is hit.

The ON STARTUP of the component is empty (no code).

What code could be running?

Thanks
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
**