RE: Base64 Image

2021-06-04 Thread Stephen J. Orth via 4D_Tech
I'm still here, mostly just watching.  I agree it's nice to have professionals 
discussing issues.

Best,

*
  Stephen J. Orth
  The Aquila Group, Inc.  Office:  (608) 834-9213
  P.O. Box 690   Mobile:  (608) 347-6447
  Sun Prairie, WI 53590

  E-Mail:  s.o...@the-aquila-group.com
*

-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Randy Kaempen via 
4D_Tech
Sent: Friday, June 4, 2021 11:59 AM
To: 4D iNug Technical <4d_tech@lists.4d.com>
Cc: Randy Kaempen 
Subject: Re: Base64 Image

I agree guys.  I don’t think the new forum is a useful.

I’m still here.   :-)


Randy Kaempen
Intellex Corporation

**
4D Internet Users Group (4D iNUG)
New Forum: https://discuss.4D.com
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)
New Forum: https://discuss.4D.com
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

LDAP Implementation

2021-01-21 Thread Stephen J. Orth via 4D_Tech
We have a large customer who is asking us about SSO and using their LDAP
server to achieve this. Has anyone accomplished this, and if so, would be
willing to share any information? I know very little about LDAP and have
been doing as much reading as I can, but I’m sure there are smart ways to
accomplish this, and also not smart ways.

I’m also looking for any insights, tips, etc…to save me from pulling out
what little hair I have remaining! 

Thanks in advance!

Best,

Steve

*
  Stephen J. Orth
  The Aquila Group, Inc.  Office:  (608) 834-9213
  P.O. Box 690   Mobile:  (608) 347-6447
  Sun Prairie, WI 53590

  E-Mail:  s.o...@the-aquila-group.com
*


**
4D Internet Users Group (4D iNUG)
New Forum: https://discuss.4D.com
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: 4D Friday Happy Hour on ZOOM

2020-04-23 Thread Stephen J. Orth via 4D_Tech

"I like to cook with wine, sometimes I even put it in my food"

W. C. Fields

-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Wayne Stewart via 
4D_Tech
Sent: Thursday, April 23, 2020 2:41 PM
To: 4D iNug Technical <4d_tech@lists.4d.com>
Cc: Wayne Stewart 
Subject: Re: 4D Friday Happy Hour on ZOOM

8AM for me.

“I exercise strong self control. *I never drink anything stronger than
gin* before
breakfast.”

W. C. Fields


**
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: Configure 4D server as Windows Service on Windows Server 2016

2020-04-10 Thread Stephen J. Orth via 4D_Tech
Tim,

We have created an interface which uses the OPEN ADMINISTRATION WINDOW command. 
 This interface is provided to Admin's and accessible via the 4D Client 
connection.

Although this does not give you complete access to every Admin Tool, it 
generally is enough for normal usage when running as a service.

Best,


Steve

*
  Stephen J. Orth
  The Aquila Group, Inc.  Office:  (608) 834-9213
  P.O. Box 690   Mobile:  (608) 347-6447
  Sun Prairie, WI 53590

  E-Mail:  s.o...@the-aquila-group.com
*

-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Tim Fitzgerald via 
4D_Tech
Sent: Friday, April 10, 2020 3:10 PM
To: 4d_tech@lists.4d.com
Cc: Tim Fitzgerald 
Subject: Configure 4D server as Windows Service on Windows Server 2016

Hello,

We are having trouble being able to manage a 4D server (v18.2) on Windows 
Server 2016 when the 4D server Windows service is set up to run under a Local 
System account.  The interactive service window never shows up. I understand 
that Microsoft has turned off the Interactive Service window being able to 
interact with the desktop in Windows Server 2016.  How are people configuring a 
4D server to run as Windows service so that multiple users can have access to 
the 4D server admin screens?

Thank you!

--
Timothy S. Fitzgerald
Disability Resource Center
University of Minnesota
952-388-2172
**
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: Barcode

2020-03-20 Thread Stephen J. Orth via 4D_Tech
Even when we were using bar code fonts, we would always purchase them to ensure 
the quality of the image.  These need to be precise, especially if your using 
compact, high density codes.

Free fonts are really not free...


Steve

-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Keisuke Miyako via 
4D_Tech
Sent: Friday, March 20, 2020 6:41 PM
To: 4D iNug Technical <4d_tech@lists.4d.com>
Cc: Keisuke Miyako 
Subject: Re: Barcode

it seems like on some versions of 4D (for Mac), an invisible character is 
appended at the end for alignment.

that would screw up the barcode data.

2020/03/21 2:01、Lee Hinde via 4D_Tech 
<4d_tech@lists.4d.com>のメール:
But we ended up using hmBarcode because the free fonts didn't work with new 
scanners that the client got.

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

2020-03-20 Thread Stephen J. Orth via 4D_Tech
As I've said previously, we also switched away from fonts (to hmBarcode) for 
varying reasons:

1. The various Windows OS updates have caused problems due to the changes on 
how they index fonts internally.

2. Bar code fonts are not part of the normal Windows font list, so you need to 
have a way to install these on every system using your code.

3. Windows now treats fonts as potentially malicious ways to introduce 
something nefarious.  Depending upon where you store fonts, you will run into 
situations where the OS locks it down.

There are other reasons not to use fonts and instead use a "system" that 
generates pictures instead.

Best,


Steve


-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Lee Hinde via 4D_Tech
Sent: Friday, March 20, 2020 12:02 PM
To: 4D iNug Tech <4d_tech@lists.4d.com>
Cc: Lee Hinde ; stardata.info 
Subject: Re: Barcode

There are a bunch:

https://www.google.com/search?client=firefox-b-1-d=barcode+fonts+free

But we ended up using hmBarcode because the free fonts didn't work with new 
scanners that the client got.


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

2020-03-18 Thread Stephen J. Orth via 4D_Tech
I would also highly recommend hmBarcode...


Steve

-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of kculotta via 4D_Tech
Sent: Wednesday, March 18, 2020 9:12 AM
To: 4D iNug Technical <4d_tech@lists.4d.com>
Cc: kculotta 
Subject: Re: barcode

This is a good place to look: 
https://github.com/miyako?tab=repositories=zint==

> On Mar 18, 2020, at 5:53 AM, stardata.info via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> Hi All,
> 
> Someone know how print bar codes in 4D?
> Now i use a font.
> 
> Thanks
> 
> /Ferdinando/

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

JSON File To Object

2020-03-07 Thread Stephen J. Orth via 4D_Tech
I'm having a brain-fart and looking for the fastest way to get a JSON
formatted document imported and put into an object.

Any insight would be appreciated!

Best,


Steve

*
  Stephen J. Orth
  The Aquila Group, Inc.  Office:  (608) 834-9213
  P.O. Box 690   Mobile:  (608) 347-6447
  Sun Prairie, WI 53590

  E-Mail:  s.o...@the-aquila-group.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: Necessary To End Task After Quitting Server

2020-02-25 Thread Stephen J. Orth via 4D_Tech
Allan,

We get this occasionally and the best I can attribute it to is that 4D is 
waiting for something to stop before exiting.

Just make sure you don't have something hung up during the shutdown process.


Steve

-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Allan Udy via 4D_Tech
Sent: Tuesday, February 25, 2020 2:37 PM
To: 4d_tech@lists.4d.com
Cc: Allan Udy 
Subject: Necessary To End Task After Quitting Server

Hi all,

We've run into an issue where on a deployed server application, when using the 
File > Quit menu item, the server effectively hangs and does not actually quit 
(even when all Clients have disconnected), and the DBA has to use the Windows 
Task Manager to actually force quit the application.

This has happened on both Windows Server 2012 and 2019, in all flavors of v17RX 
(and possible earlier).

Currently on the live server (Windows Server 2019) it happens all the time.

On the DBA's test server machine it wasn't happening, but now it is.

On our Windows Server 2019 test machine in our office it doesn't happen at all 
-- the application quits as one would expect.

Has anyone seen anything like this?

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: Bar code

2020-02-21 Thread Stephen J. Orth via 4D_Tech
Chuck,

Why would you ever want to do this by yourself instead of using a great plugin 
like hmBarcode?

Drawing bar codes makes no sense to me, and seems like a waste of developer 
time.

Just my two-cents...


Steve


-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Chuck Miller via 
4D_Tech
Sent: Friday, February 21, 2020 10:47 AM
To: 4DTechList Tech <4d_tech@lists.4d.com>
Cc: Chuck Miller 
Subject: Bar code


Hi all. 

I had thought there was a tech note or something on how to draw bar codes in 4D 
using bag area. Can someone point me the the right direction

Thanks and regards 
Chuck
Sent from my iPhone

**
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: Printing a form with a graphic icon

2020-02-11 Thread Stephen J. Orth via 4D_Tech
Gary,

How is the "visibility" of this object set?  It is set to always be visible, or 
is that controlled by code?

Is there any chance the object is being moved via code, or that the loading of 
image is not happening (i.e. can't load the record, or no record loaded)?


Steve


-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Gary Boudreaux via 
4D_Tech
Sent: Tuesday, February 11, 2020 12:51 PM
To: 4d_tech@lists.4d.com
Cc: Gary Boudreaux <4dli...@vistaservices.com>
Subject: Printing a form with a graphic icon

One of my databases allows the user to print a purchase order with a small 
graphic icon in the header (about 100x100 pixels). The graphic only prints 
about half of the time. I suspect that he is grabbing graphics from a variety 
of sources, so I’m not sure what the format is. The graphic is stored in a 
field for the PO, and it does always display when the input form is shown. Any 
idea what could cause the inconsistency when printing?

**
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: Write failed

2020-02-11 Thread Stephen J. Orth via 4D_Tech
Gary,

There could be multiple reasons for this error, but in our world (windows) it 
typically means something interfered with your connection to the Server.  For 
example, the port was closed on the network, or something cause the network to 
hiccup.


Steve


-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Gary Boudreaux via 
4D_Tech
Sent: Tuesday, February 11, 2020 11:39 AM
To: 4d_tech@lists.4d.com
Cc: Gary Boudreaux <4dli...@vistaservices.com>
Subject: Write failed

My client is running 4D Server/Client v16 64-bit. They are occasionally getting 
an error dialog that says: Write failed. Connection error with the server. 
Please restart the application.

I had them to add memory to the Mac Mini, but the error persists (sometimes). 
Has anyone seen this error? Any idea what could cause this?

**
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: Poor Image Quality When Converting Pict Image to JPG and TIF Using CONVERT PICTURE

2020-02-06 Thread Stephen J. Orth via 4D_Tech
Ken,

The reason for my question was to determine if this was something related to 
the 4D command.  If you can convert the image properly, external of 4D, then is 
seems to be something in the way 4D does the conversion.

Unfortunately I have no suggestions because we always do image 
design/manipulation outside of 4D, so as to achieve the best image quality.


Steve

-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Ken Eyring via 4D_Tech
Sent: Thursday, February 6, 2020 11:41 AM
To: '4D iNug Technical' <4d_tech@lists.4d.com>
Cc: Ken Eyring 
Subject: Re: Poor Image Quality When Converting Pict Image to JPG and TIF Using 
CONVERT PICTURE

Hi Steve,

I tried converting the images to .jpg. ipng and .tif using CONVERT PICTURE.  
Each format I tried resulted in blurry images.

To follow up on your question... I opened up a window that displayed one of the 
images that is stored in a field.  I copied the image into Preview on a Mac, 
then saved it as a .png file format.  That worked fine.

To verify, I then copied the .png image back into my 4D database and saved it.  
That image was also stored properly -- without being blurry.

I have a work around for changing the format of the images, but I really don't 
want to do this one-by-one for each image that is in every customer database 
that will eventually need to be updated.

Any suggestions are greatly appreciated.

Thanks,
Ken



**
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: Poor Image Quality When Converting Pict Image to JPG and TIF Using CONVERT PICTURE

2020-02-06 Thread Stephen J. Orth via 4D_Tech
Ken,

Just curious...

Do you get different results if you use a graphic's application for the 
conversion?


Steve


-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Ken Eyring via 4D_Tech
Sent: Thursday, February 6, 2020 11:00 AM
To: 4d_tech@lists.4d.com
Cc: Ken Eyring 
Subject: Poor Image Quality When Converting Pict Image to JPG and TIF Using 
CONVERT PICTURE

I have a table that stores all of the images that are used on reports and 
labels, and some of them are PICT format.  Since this format is not supported 
on 64-bit, I want to convert them in v15 prior to migrating over to v17 64-bit. 
 However, when I call the following line of code, the resulting image is blurry.

CONVERT PICTURE([Logos]Logo;".TIF")

I also get the same issue when trying to convert to jpg:

CONVERT PICTURE([Logos]Logo;".JPG")

Any thoughts how I can best convert the images in my data file without losing 
any quality?

Thanks,
Ken

**
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: 4D Application as a 3-tier System

2020-01-28 Thread Stephen J. Orth via 4D_Tech
John,

Thank you for this information.  We have looked at NGINX previously, but in a 
different role.  I'll do some additional research on this, because as an OEM I 
may have more control installing this on our customer's hardware, than telling 
them they need to purchase load balancing hardware.

Best,


Steve


-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of John DeSoi via 4D_Tech
Sent: Tuesday, January 28, 2020 6:06 PM
To: 4D iNug Technical <4d_tech@lists.4d.com>
Cc: John DeSoi 
Subject: Re: 4D Application as a 3-tier System

NGINX is also a popular option as a load balancer. Free and open source.

https://docs.nginx.com/nginx/admin-guide/web-server/reverse-proxy/

It can also proxy non-http protocols. I wonder if the silly "must be 3 tier" 
requirement could be satisfied by putting NGINX in in between 4D Client and 4D 
Server :).

John DeSoi, Ph.D.


> On Jan 28, 2020, at 4:50 PM, Dennis, Neil via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
>>1. What options are available?
>>2. How it works with 4D?
>>3. Has anyone done this as an OEM and what issues/obstacles have you run 
>> into?
>>   4. and so forth...
> 
> ... As was said before a load balancer... it is a device that is put in front 
> of a pool of machines. It balances the load between applications:
> 
> https://www.f5.com/services/resources/glossary/load-balancer
> 
> 1 - There are many different types and prices for load balancers
> 2 - They work with 4D by same as other web servers, they route requests 
> between servers... each 4D client would be a pool member.
> 3 - Yes
> 4 - Not really much more to say... load balancers can be configured in a 
> round robin type setup or keep persistence for a user so they follow the same 
> path.

**
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: 4D Application as a 3-tier System

2020-01-28 Thread Stephen J. Orth via 4D_Tech
Tom,

Thanks for the feedback, but my question (as an OEM) is still not really 
answered.

As an OEM, I do not get to dictate how the network is configured, or what 
hardware can/cannot be purchased.  How, as an OEM solution provider, do I build 
a web based solution knowing I cannot control these critical aspects?

I understand how this can be implemented in a situation for a non-OEM, since 
they work for that company.  However, I'm guessing there are not many, if any, 
OEM's trying to attempt this?

Best,


Steve

-Original Message-
From: Tom Benedict  
Sent: Tuesday, January 28, 2020 3:48 PM
To: s.o...@the-aquila-group.com; 4D iNug Technical <4d_tech@lists.4d.com>
Subject: Re: 4D Application as a 3-tier System

Steve Orth writes:

> 1. What options are available?  -> Many routers and server OS have 
> round-robin load balancing built in. Bigger hardware devices, like F5 BigIP 
> are available.
> 2. How it works with 4D?  -> 4D doesn’t know about it, so there is no 
> impact.
> 3. Has anyone done this as an OEM and what issues/obstacles have you run 
> into? -> shouldn’t be a problem, since 4D doesn’t know about the load 
> balancer.
> 4. and so forth...

**
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: 4D Application as a 3-tier System

2020-01-28 Thread Stephen J. Orth via 4D_Tech
Jeff,

Duh...

I was hoping for more specifics like:

 1. What options are available?
 2. How it works with 4D?
 3. Has anyone done this as an OEM and what issues/obstacles have you run 
into?
 4. and so forth...

 This may be an ignorant request, but it's an area I know very little about, 
but want to learn more.

I'm also looking at this from an OEM perspective, where I don't get to control 
much from a technology standpoint at our customer sites.

Thanks!


Steve

*
  Stephen J. Orth
  The Aquila Group, Inc.  Office:  (608) 834-9213
  P.O. Box 690   Mobile:  (608) 347-6447
  Sun Prairie, WI 53590

  E-Mail:  s.o...@the-aquila-group.com
*

-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Jeffrey Kain via 
4D_Tech
Sent: Tuesday, January 28, 2020 3:29 PM
To: 4D iNug Technical <4d_tech@lists.4d.com>
Cc: Jeffrey Kain 
Subject: Re: 4D Application as a 3-tier System

You stick a load balancer in front as the public-facing IP and let the load 
balancer, uh, balance the load.

> On Jan 28, 2020, at 4:22 PM, Stephen J. Orth via 4D_Tech 
> <4d_tech@lists.4d.com> wrote:
> 
> So, what is the solution for balancing multiple 4D Client web servers?

**
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: 4D Application as a 3-tier System

2020-01-28 Thread Stephen J. Orth via 4D_Tech
Tim,

I've always wondered, when people recommend using 4D Client as a web server, 
how you go about load balancing.  It's one thing if your user base is small, 
however when you have 50-100 users, you cannot send them all to one 4D Client 
web server.

So, what is the solution for balancing multiple 4D Client web servers?

Thanks!


Steve

*
  Stephen J. Orth
  The Aquila Group, Inc.  Office:  (608) 834-9213
  P.O. Box 690   Mobile:  (608) 347-6447
  Sun Prairie, WI 53590

  E-Mail:  s.o...@the-aquila-group.com
*

-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Tim Nevels via 4D_Tech
Sent: Tuesday, January 28, 2020 3:13 PM
To: 4d_tech@lists.4d.com
Cc: Tim Nevels 
Subject: Re: 4D Application as a 3-tier System


If a “3 tier system” a hard requirement, then introduce another 4D Client layer 
running a web server. You create some kind of API — maybe a REST interface — 
that would be accessed by running 4D Web Server — or NTK — on 4D Client. Then 
you have end user 4D Clients connect to this new 4D Client web server. 



**
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: 4D Application as a 3-tier System

2020-01-28 Thread Stephen J. Orth via 4D_Tech
Ronnie,

We have done several options which others have mentioned:

1. We moved certain aspects of our system into a browser for the front end, 
using REST calls to access the data.

2. We have moved certain aspects of the system out of the 4D database into 
either MySQL or SQL Server.

Both of these options were "work" but allowed us to reuse the 25 years of 
business logic already written.

Best,


Steve

*****
  Stephen J. Orth
  The Aquila Group, Inc.  Office:  (608) 834-9213
  P.O. Box 690   Mobile:  (608) 347-6447
  Sun Prairie, WI 53590

  E-Mail:  s.o...@the-aquila-group.com
*

-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Tarawerkz via 4D_Tech
Sent: Monday, January 27, 2020 9:48 PM
To: 4D iNug Technical <4d_tech@lists.4d.com>
Cc: Tarawerkz 
Subject: 4D Application as a 3-tier System

Hi All,

I have an application running in a hospital environment for a number of years.
In the light of the increasing awareness of data security, the client’s IT in 
their own words are looking at "redoing the whole 4dcis database onto 2 or 3 
tier system where there is a database separation from application layer”

The current setup is a v15 client-server application, with about 80 concurrent 
client licenses serving users located at 2 separate locations.

As it stands, a 4D application already has a 2-layer architecture being a 
client-server application.  
We could perhaps enhance it a little to make it a 2-tier environment by moving 
the segregating the 4D Server software and the 4D structure files (business 
logic) on to one server and the 4D data files (database) on to a separate 
server.  Doing that however has no effect on the 4D database architecture, it 
still remains a 2-layer database architecture.

Apart from re-developing the application into a complete web-based application, 
how can a 4D application be refreshed into a 3-tier system?

I would like to tap on the collective wisdom of the forum to gather some views 
on the plausibility of the above.
Thank you.

Regards,
Ronnie
Tarawerkz

**
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: For those using JavaScript

2020-01-17 Thread Stephen J. Orth via 4D_Tech
I completely agree with Tom on this.  We have decided to use Angular Material 
for all our projects.

In the past we have used Kendo Grid and it is a very complete tool.

Best,

Steve

*
  Stephen J. Orth
  The Aquila Group, Inc.  Office:  (608) 834-9213
  P.O. Box 690   Mobile:  (608) 347-6447
  Sun Prairie, WI 53590

  E-Mail:  s.o...@the-aquila-group.com
*

-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Tom DeMeo via 4D_Tech
Sent: Friday, January 17, 2020 2:20 PM
To: 4d_tech@lists.4d.com
Cc: Tom DeMeo 
Subject: Re: For those using Javascript

Hi,


As Julio mentioned, Kendo UI has very fast, very well thought out grid tools. 
I’ve worked with them for a few years now.

The recommendation I would add is to not choose a grid separately, but rather 
to choose a complete UI toolkit. It is not ideal to have separate frameworks 
for various widgets. It is too much to manage and learn, and it is harder to 
provide a consistent look and coding style.

I chose Kendo’s complete UI framework, not just its grid.


Tom DeMeo
**
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: 4D Web Server Security

2019-11-26 Thread Stephen J. Orth via 4D_Tech
Lutz,

Perfect, this is the information I was looking for.

In the Apache example, when you say you are running multiple instances of your 
application, are you manually implementing the load balancing or somehow have 
Apache performing the load balancing?  

This load balancing is something of great interest to me, especially when 
wanting to run multiple instances, but it is an area I'm not very strong in.  
Are you using 4D Client as the "instances" all pointing to a single 4D Server?

Any insight is appreciated!

Best,


Steve


-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Epperlein, Lutz 
(agendo) via 4D_Tech
Sent: Tuesday, November 26, 2019 8:34 AM
To: '4D iNug Technical' <4d_tech@lists.4d.com>
Cc: Epperlein, Lutz (agendo) 
Subject: AW: 4D Web Server Security

It depends ...
If the customer wants to run the application on their own (virtual) hardware 
then port 80 and/or 443 is used. But this run configuration isn't in the focus 
of the audits.

In all other cases, application is accessible over the internet, we use an 
Apache web server in front. But the reason for that aren't security 
considerations, it is simply because we run multiple instances of our 
application behind it and we configure different virtual hosts for the Apache 
server, each virtual host works as a reverse proxy/gateway for each app 
instance. Then every application runs on an different port. From the outside it 
appears as port 80, since the Apache runs on this port.

The audits have different areas, so they pay special attention to our rather 
exotic server software. But as I said, the IT security guys were surprised 
about the high standard of 4D.

Regards
Lutz


**
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: 4D Web Server Security

2019-11-26 Thread Stephen J. Orth via 4D_Tech
Lutz,

What port are you serving your web application on?

Steve

-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Epperlein, Lutz 
(agendo) via 4D_Tech
Sent: Tuesday, November 26, 2019 2:31 AM
To: 4D iNug Technical <4d_tech@lists.4d.com>
Cc: Epperlein, Lutz (agendo) 
Subject: AW: 4D Web Server Security

To be a bit illustrative ...
From time to time we have to undergo security audits of our web application. 
The last time the IT security consultant, who made the audit, said he never 
found an application which so few security issues, because there weren’t any.
Mostly they find some issues.


-Ursprüngliche Nachricht-
Betreff: Re: 4D Web Server Security

I’m only interested in serving through On Web Connection, no static pages. So 
why do I need anything in front of 4D? Are there known vulnerabilities in 4D 
other than bad programming? Is there anyway to “break” into the data? Or 
“break” into files that don’t exist in the web folder? What does putting 
something in front of 4D gain?


Richard Wright
DataDomain
**
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: 3D Button collection? (Or manufacturing)

2019-11-08 Thread Stephen J. Orth via 4D_Tech
Chris,

We utilize PNG files for all our buttons.  I've been very happy with a suite of 
images from a company in Germany:

 https://www.iconexperience.com/

Very reasonable cost for such will done icons.  We have been using them for 
years and they continually update and evolve the images based upon changing OS.

Best,


Steve

*
  Stephen J. Orth
  The Aquila Group, Inc.  Office:  (608) 834-9213
  P.O. Box 690   Mobile:  (608) 347-6447
  Sun Prairie, WI 53590

  E-Mail:  s.o...@the-aquila-group.com
*

-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Chris Belanger via 
4D_Tech
Sent: Friday, November 8, 2019 1:09 PM
To: 4D iNUG Technical <4d_tech@lists.4D.com>
Cc: Chris Belanger 
Subject: 3D Button collection? (Or manufacturing)

I was wondering if there is any ‘button collection’ one can use (with 3D 
Button).

I am not an artist and that part of UI development is not my forte.

I sometimes use Unicode characters with regular buttons, but it would be better 
to use 3D buttons.

Otherwise, what do you use to make yours?

Thanks,
Chris
**
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: Convert URL to Windows File Path

2019-11-07 Thread Stephen J. Orth via 4D_Tech
Neil,

Hum, interesting idea, let me research that.

Thanks!


Steve


-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Dennis, Neil via 
4D_Tech
Sent: Thursday, November 7, 2019 5:18 PM
To: 4D iNug Technical <4d_tech@lists.4d.com>
Cc: Dennis, Neil 
Subject: RE: Convert URL to Windows File Path

>HTTPS://WAS.COMPANY.COM/PRODF/HDMS/Repository/DMMATC/123456.pdf

Coming in late to this conversation but maybe this will help:

You can use HTTP Get to retrieve the document then save it where you need.

Neil


**
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: Convert URL to Windows File Path

2019-11-07 Thread Stephen J. Orth via 4D_Tech
Chip,

Here is an example:

HTTPS://WAS.COMPANY.COM/PRODF/HDMS/Repository/DMMATC/123456.pdf

We want to be able to download that file locally and this path is not valid
for and document manipulation command (i.e. copy document).

So, this needs to be converted to a valid Windows file path...

I've asked the customer to provide me with a mapping of this URL to the
actual Windows path, but have not heard anything.


Steve

-Original Message-
From: Chip Scheide <4d_o...@pghrepository.org> 
Sent: Thursday, November 7, 2019 5:08 PM
To: s.o...@the-aquila-group.com; 4D iNug Technical <4d_tech@lists.4d.com>
Subject: Re: Convert URL to Windows File Path

what do you mean by 'url path'?
example?
Chip
On Thu, 7 Nov 2019 16:55:04 -0600, Stephen J. Orth via 4D_Tech wrote:
> Does anyone have code they are willing to share regarding the 
> conversion of a URL path to a Windows file path?
> 
> We have a user who is sending us URL paths to a PDF file and we need 
> to download it locally to we can build it into another PDF document.
> 
> Thanks in advance!
> 
> 
> Steve

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

Convert URL to Windows File Path

2019-11-07 Thread Stephen J. Orth via 4D_Tech
Does anyone have code they are willing to share regarding the conversion of
a URL path to a Windows file path?

We have a user who is sending us URL paths to a PDF file and we need to
download it locally to we can build it into another PDF document.

Thanks in advance!


Steve

*
  Stephen J. Orth
  The Aquila Group, Inc.  Office:  (608) 834-9213
  P.O. Box 690   Mobile:  (608) 347-6447
  Sun Prairie, WI 53590

  E-Mail:  s.o...@the-aquila-group.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
**

V16 Server Issue

2019-09-12 Thread Stephen J. Orth via 4D_Tech
I have a weird situation I'm wondering if anyone can shed some light on.  I
will describe what has been communicated to me.

First, this is an OEM system using V16.3 NB 225762 running on a virtual of
Windows Server 2016.  The system is comprised of the server and 1 client
that also runs on the server hardware and has been running since early 2019.
The remaining connections are all browser based.

I've been told the Server system appeared to be "frozen".  When one of TS
guys logged onto the box the Administrating screen appeared to unresponsive
(not updating the chart) and no backup was performed since 9/6/19.

The 1 client connection showed it being disconnected from the server (i.e.
4D disconnect error present).  Clicking on the reconnect button did not
work, as the client said it could not reach the server.  So, the next step
was to terminate the client software.

As soon as the client software was terminated the Server started running a
backup and functioning again.

Has anyone seen anything like this?  Why/how would a client connection cause
the system to freeze and prevent it from backing up for 6 days?

Thanks in advance!


Best,


Steve

*****
  Stephen J. Orth
  The Aquila Group, Inc.  Office:  (608) 834-9213
  P.O. Box 690   Mobile:  (608) 347-6447
  Sun Prairie, WI 53590

  E-Mail:  s.o...@the-aquila-group.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: Matt Davis

2019-09-10 Thread Stephen J. Orth via 4D_Tech
Kirk,

Thanks for the information, I'll keep trying to touch base with him then.

Best,


Steve


-Original Message-
From: roofto...@mac.com  
Sent: Tuesday, September 10, 2019 4:13 PM
To: s.o...@the-aquila-group.com; 4D iNug Technical <4d_tech@lists.4d.com>
Subject: Re: Matt Davis

Hi Steve,

I chatted with Matt a few weeks ago.  He is doing well, and recently welcomed a 
baby into his family.  So he is around, but perhaps distracted…grin.

Kirk


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

Matt Davis

2019-09-10 Thread Stephen J. Orth via 4D_Tech
I've been trying to reach Matt Davis and wondering if anyone has heard from
him recently?

TIA!

Best,


Steve

*
  Stephen J. Orth
  The Aquila Group, Inc.  Office:  (608) 834-9213
  P.O. Box 690   Mobile:  (608) 347-6447
  Sun Prairie, WI 53590

  E-Mail:  s.o...@the-aquila-group.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: Combo Box & Return Key

2019-08-30 Thread Stephen J. Orth via 4D_Tech
Chip,

Thanks...I'll look at this event.

As far as ON DATA CHANGE this only appears to activate after the combo box
loses focus.

Best,


Steve

-Original Message-
From: Chip Scheide <4d_o...@pghrepository.org> 
Sent: Friday, August 30, 2019 9:47 AM
To: s.o...@the-aquila-group.com; 4D iNug Technical <4d_tech@lists.4d.com>
Subject: Re: Combo Box & Return Key

On After Edit
I think it what you are looking for.

However,
I wait until the user leaves the combo to 'activate' the effects of a data
change (on Data Change) because the user may have mistakenly made a
selection, change their mind etc all of which leads to doing whatever
background task(s) repeatedly.

Chip

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

Combo Box & Return Key

2019-08-30 Thread Stephen J. Orth via 4D_Tech
I'm having an issue with what I would think should be an easy issue to
resolve, but apparently I'm missing something.

I have a Combo Box on the screen and I'm trying to trap on the user pressing
the Return key when they have finished data entry.  I would have thought it
should be the ON DATA CHANGE event, but no event is firing.

Instead, the drop down list is closed and the cursor is left in the field
(at the end).  Same issue if the user clicks off the Combo Box, it seems I
cannot determine when that actions occurs, because neither ON DATA CHANGE or
ON LOSING FOCUS fire.

What am I missing?

Thanks!


Steve

*
  Stephen J. Orth
  The Aquila Group, Inc.  Office:  (608) 834-9213
  P.O. Box 690   Mobile:  (608) 347-6447
  Sun Prairie, WI 53590

  E-Mail:  s.o...@the-aquila-group.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: Windows shutdown with 4D Server running as a service

2019-08-08 Thread Stephen J. Orth via 4D_Tech
John,

You need to be very careful on a service shutdown that you did not initiate, 
meaning the OS initiated it, or someone went to the "Services" control panel 
and told it to shut down.

As was mentioned earlier, it will shut down in 60 seconds no matter what, even 
if your clients are not ready to be shut down.  We have this issue with every 
client because we simply cannot get certain clients to gracefully shutdown in 
60 seconds or less...just not possible.

As a result, we want things controlled via an interface on our side, and we 
also educate the IT organization on how they have to shut down our system.

Best,

Steve

*****
  Stephen J. Orth
  The Aquila Group, Inc.  Office:  (608) 834-9213
  P.O. Box 690   Mobile:  (608) 347-6447
  Sun Prairie, WI 53590

  E-Mail:  s.o...@the-aquila-group.com
*

-Original Message-
From: JOHN BAUGHMAN  
Sent: Thursday, August 8, 2019 1:20 PM
To: s.o...@the-aquila-group.com; 4D iNug Technical <4d_tech@lists.4d.com>
Subject: Re: Windows shutdown with 4D Server running as a service

I am assuming that your Administrative function runs on a client? Sounds like a 
good idea, but wondering if it might be a bit over kill for me. 

Bottom line is that at some point the server is quit without regard to who is 
logged in at the time whether done with a quit command or issued by the Windows 
service. The admin can see who is logged by firing up a client on the server 
and opening the Administration window before shutting down the computer or 
shutting down the service. If after hours the admin may have no choice but to 
let 4D server boot the clients off.

From what I gather from the responses, it really does not matter as for as 4D 
is concerned, it will “gracefully" quit any 4D client hanger ons before 
quitting no matter how it is told to quit. There should never be any damage to 
the data. 

Thanks to those who responded.

John


**
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 shutdown with 4D Server running as a service

2019-08-08 Thread Stephen J. Orth via 4D_Tech
John,

In our OEM system, which always runs as a service on Windows, we created an 
Administrative function specifically designed to shutdown the Server.  This 
walks the Admin through a series of "checks" just to be sure they want to shut 
down, and how long they want to provide users.  Once they accept this, we log 
it into the database and then execute a method on the Server using the QUIT 4D 
command.

Hope that helps...

Best,


Steve

*****
  Stephen J. Orth
  The Aquila Group, Inc.  Office:  (608) 834-9213
  P.O. Box 690   Mobile:  (608) 347-6447
  Sun Prairie, WI 53590

  E-Mail:  s.o...@the-aquila-group.com
*
>> On Aug 8, 2019, at 01:14, JOHN BAUGHMAN via 4D_Tech <4d_tech@lists.4d.com> 
>> wrote:
>> 
>> What is the best practice for shutting down a windows computer when 4D 
>> Server is running as a service?
>> 
>> I have been opening the administration window too see if there are any users 
>> connected. If so, I have been disconnecting them before shutting down the 
>> computer.
>> 
>> Just shutting down the computer seems to work as well, but what does 4D 
>> server do in this case?
>> 
>> Thanks,
>> 
>> John
>> 
>> 
>> 
>> John Baughman
>> Kailua, Hawaii
>> (808) 262-0328
>> john...@hawaii.rr.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: SQL - renaming a field

2019-07-26 Thread Stephen J. Orth via 4D_Tech
Chip,

That kind of sucks because doesn't a "drop" destroy data?

Steve

-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Chip Scheide via 
4D_Tech
Sent: Friday, July 26, 2019 1:46 PM
To: Tom Benedict 
Cc: Chip Scheide <4d_o...@pghrepository.org>; 4D iNug Technical 
<4d_tech@lists.4d.com>
Subject: Re: SQL - renaming a field

OK

Thanks both

I guess rename is only possible as Drop + Add

Chip

**
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: How can a line of code be separated into multiple lines?

2019-05-18 Thread Stephen J. Orth via 4D_Tech
Chris,

Use the backslash character (\)...


Steve

*
  Stephen J. Orth
  The Aquila Group, Inc.  Office:  (608) 834-9213
  P.O. Box 690   Mobile:  (608) 347-6447
  Sun Prairie, WI 53590

  E-Mail:  s.o...@the-aquila-group.com
*

-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Chris Belanger via 
4D_Tech
Sent: Saturday, May 18, 2019 2:10 PM
To: 4D iNUG Technical <4d_tech@lists.4D.com>
Cc: Chris Belanger 
Subject: How can a line of code be separated into multiple lines?

I know this is done, but I have never used it and cannot find the answer myself:

How can a line of code be separated into two, and still be interpreted by 4D as 
one line?

ex. (obviously not practical)

$all:=$1
+$2
+$3

equivalent:   ($all:=$1+$2+$3


thanks,
Chris
**
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: Window reverse layering issues

2019-05-02 Thread Stephen J. Orth via 4D_Tech
Don,

For situation #1, simply put code in the "On Deactivate" form event and make 
the window come back to the front.  Be sure to get the Process ID so you know 
to only activate this logic when the user is physically in the process.

Best,


Steve


-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Don Lapin via 4D_Tech
Sent: Thursday, May 2, 2019 5:59 PM
To: 4D Tech Mailing List <4d_tech@lists.4D.com>
Cc: Don Lapin 
Subject: Window reverse layering issues

Having a couple of problems with window layering and wondered about what other 
developers do as workarounds.

1. A 4D application has two processes, each with windows being shown. One 
process has two windows: a semi-modal dialog on top of a Type 8 non-modal. User 
is over in another (windowed) process, and clicks back onto the wrong window of 
the first process (the Type 8 instead of the semi-modal)...and so gets the 
double-square cursor. The user is not familiar with 4D per se and therefore 
doesn't know about [Ctrl]-Z.

2. The same situation as #1, but the user is in an external application like 
Chrome. Instead of using [Alt]-[Tab] to return to 4d, the user clicks with the 
mouse, and doesn't click on the frontmost window.

Anybody?

Thanks,
Don

**
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: How to connect to a 4d ODBC server across a network

2019-04-17 Thread Stephen J. Orth via 4D_Tech
We have a similar situation, but it's simply because we don't want to have to 
install the ODBC on every Client.

The way I get around this is to separate the SQL query into it's own method, 
and have it run on the Server.  This way there is only 1 ODBC System DSN.

The method packs the results into an Object (JSON format) and returns the 
results back to the Client method, where it is unpacked and displayed to the 
user.

Hope that helps!


Best,


Steve

*
  Stephen J. Orth
  The Aquila Group, Inc.  Office:  (608) 834-9213
  P.O. Box 690   Mobile:  (608) 347-6447
  Sun Prairie, WI 53590

  E-Mail:  s.o...@the-aquila-group.com
*

-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of msherloc via 4D_Tech
Sent: Wednesday, April 10, 2019 6:35 PM
To: 4d_tech@lists.4d.com
Cc: msherloc 
Subject: How to connect to a 4d ODBC server across a network

I am accessing (via an SQL query) my 4D database across a network.
The 4d ODBC database is situated on one server and the software I will be 
querying the database will be on another server.
Is it possible to create a UserDSN or SystemDSN that can find the server 
located across the network??

Not sure how to do his and keen for some advice



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

**
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: not enough space in memory

2019-04-16 Thread Stephen J. Orth via 4D_Tech
Is there a Tech Note, or some reference document regarding how we as a 
Developer manage memory in the 64 bit version?

For example, as Peter is talking about, we have a process that needs for memory 
for large imports, or large arrays, or whatever.  How do we go about signaling 
4D to accomplish this?

I ask, because the documentation states that the memory value provided in the 
NEW PROCESS command is not all the memory, and other objects (i.e. process 
variables/arrays) are managed in other memory locations.  How would we go 
about, in Client, telling the system to use more memory when we know we will 
need it?

Thanks!


Steve

*
  Stephen J. Orth
  The Aquila Group, Inc.  Office:  (608) 834-9213
  P.O. Box 690   Mobile:  (608) 347-6447
  Sun Prairie, WI 53590

  E-Mail:  s.o...@the-aquila-group.com
*

-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Peter Mew via 4D_Tech
Sent: Tuesday, April 16, 2019 5:13 PM
To: Peter Bozek 
Cc: Peter Mew ; 4D iNug Technical <4d_tech@lists.4d.com>
Subject: Re: not enough space in memory

Hi
Sorry, should have said
MAC Yosemite 4D v13.6
I did try a bigger number in the New process command, also tried using receive 
packet instead, same result I'm afraid moving to 64 bit is not an option thanks 
anyway -pm

On Tue, Apr 16, 2019 at 8:26 PM Peter Bozek  wrote:

>
>
> On Tue, Apr 16, 2019 at 8:15 PM Peter Mew via 4D_Tech < 
> 4d_tech@lists.4d.com> wrote:
>
>> Hi
>> I'm trying to load a large, 1.5G, audio file into a blob using 
>> document to blob, and Im getting a not enough spce in memory error. I 
>> can load a file that is 1G ok.
>> Is there a setting I can change to stop this error. The Machine has 
>> 16G of Ram installed.
>> thanks
>> -pm
>
>
>
> Peter,  important question is if you try it with 32-bit or 64-bit 
> version of 4D. For 32-bit 4D, the file is too big - with 32 bits, 
> application can use at most 2GB of memory, so 1.5GB file would not 
> fit. With 64-bit systems, ti should be possible to read such a file.
> --
>
> Peter Bozek
>
**
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: Error connecting to 4D Server

2019-04-09 Thread Stephen J. Orth via 4D_Tech
Bernd,

Hello...

Yes, we are aware that this is potentially network related, but try explaining 
that to a customer and not have them think your pointing fingers, or passing 
the blame.

The biggest issue is we are getting these errors from a Client that is running 
on the Server.  


Steve

*
  Stephen J. Orth
  The Aquila Group, Inc.  Office:  (608) 834-9213
  P.O. Box 690   Mobile:  (608) 347-6447
  Sun Prairie, WI 53590

  E-Mail:  s.o...@the-aquila-group.com
*

-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Bernd Fröhlich via 
4D_Tech
Sent: Tuesday, April 9, 2019 1:44 AM
To: 4d_tech@lists.4d.com
Cc: Bernd Fröhlich 
Subject: RE: Error connecting to 4D Server

Stephen J. Orth:

> What we get are the multiple errors that started this thread, where already 
> connected clients simply can no longer talk to the server.  Either you get 
> the -10002/3/4 error message, or the one that is happening mostly is the 
> "non-blocking" error.

I encounter those from time to time. Usually that means, there are network 
related problems. (Bad/broken cable, too much load on the network, flaky VPN 
connection, etc...) Nothing much on the 4D side that you can do about that.

Greetings from Germany,
Bernd Fröhlich
**
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: Error connecting to 4D Server

2019-04-08 Thread Stephen J. Orth via 4D_Tech
Tim,

Thanks...appears these are two different issues, best I can tell.


Steve

*
  Stephen J. Orth
  The Aquila Group, Inc.  Office:  (608) 834-9213
  P.O. Box 690   Mobile:  (608) 347-6447
  Sun Prairie, WI 53590

  E-Mail:  s.o...@the-aquila-group.com
*

-Original Message-
From: Tim Nevels  
Sent: Monday, April 8, 2019 11:51 AM
To: s.o...@the-aquila-group.com
Cc: 4D iNug Technical <4d_tech@lists.4d.com>
Subject: Re: Error connecting to 4D Server

On Apr 8, 2019, at 11:44 AM, Stephen J. Orth  
wrote:

> What exactly are you seeing on the Clients?  Is this when someone is trying 
> to connect and they cannot?
> 
> If so, that is not what we are seeing.  What we get are the multiple errors 
> that started this thread, where already connected clients simply can no 
> longer talk to the server.  Either you get the -10002/3/4 error message, or 
> the one that is happening mostly is the "non-blocking" error.

Hi Steve,

I started 4D Client to connect to 4D Server, it showed the trying to connect 
progress window. After waiting a few seconds I realized it was not connecting 
to 4D Server as fast as it usually does. So I RDP to the 4D Server machine to 
check out the server and saw the “Accept New Connections” button. 

At the time nobody was connected to 4D Server. I was the first person this 
morning to try and connect. 

I have no idea when something happened to 4D Server. This particular server 
does not always have 4D Client connects. It does mostly web server work and 
only occasionally do people connect with 4D Client. 

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: Error connecting to 4D Server

2019-04-08 Thread Stephen J. Orth via 4D_Tech
Tim,

What exactly are you seeing on the Clients?  Is this when someone is trying to 
connect and they cannot?

If so, that is not what we are seeing.  What we get are the multiple errors 
that started this thread, where already connected clients simply can no longer 
talk to the server.  Either you get the -10002/3/4 error message, or the one 
that is happening mostly is the "non-blocking" error.


Steve

*****
  Stephen J. Orth
  The Aquila Group, Inc.  Office:  (608) 834-9213
  P.O. Box 690   Mobile:  (608) 347-6447
  Sun Prairie, WI 53590

  E-Mail:  s.o...@the-aquila-group.com
*

-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Tim Nevels via 4D_Tech
Sent: Monday, April 8, 2019 11:00 AM
To: 4d_tech@lists.4d.com
Cc: Tim Nevels 
Subject: RE: Error connecting to 4D Server

On Apr 8, 2019, at 10:24 AM, Allan Udy wrote:
I ran into this problem again this morning. And this time it occurred on 
another server at a different client site. And Allan is right, when you click 
the “Accept New Connections” button 4D Server hangs and you get the Windows 
dialog box that 4D Server has stopped responding and you have to kill 4D 
Server. 

I think Allan is right. Something inside 4D Server is flipping the switch to 
stop accepting new connections and it is updating the 4D Server Administration 
window UI to show that. But it’s not doing the stop accepting connection part 
properly. So when you click the button to make it start accepting connections 
again it expects things to be in a certain state and it is not, so 4D Server 
hangs and crashes.

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: PDF viewing alternative in v17/64 bit

2019-04-08 Thread Stephen J. Orth via 4D_Tech
Piotr,

Just a thought...

Does your PDF application have a preference that tells it how to open?  
Normally, these applications have a setting where you indicate it can open 
inside a browser window.

When this happens to us, this is the first place we typically look.

Best,


Steve

*
  Stephen J. Orth
  The Aquila Group, Inc.  Office:  (608) 834-9213
  P.O. Box 690   Mobile:  (608) 347-6447
  Sun Prairie, WI 53590

  E-Mail:  s.o...@the-aquila-group.com
*

-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Piotr Chabot 
Stadhouders via 4D_Tech
Sent: Monday, April 8, 2019 6:16 AM
To: 4D iNug Technical <4d_tech@lists.4d.com>
Cc: Piotr Chabot Stadhouders 
Subject: RE: PDF viewing alternative in v17/64 bit

Hi,

Suddenly I have a problem with viewing PDF's in the webarea, only on Windows 
When using WA OPEN URL to show a PDF in an area, it just launches the document, 
instead of showing it in the area Does anybody why this is, and how to prevent 
this?

A second question: Is there an easy way to keep certain PDF viewing settings, 
the zoom size for example?



-Original Message-
From: 4D_Tech <4d_tech-boun...@xxx.xxx<mailto:4d_tech-boun...@xxx.xxx>> On 
Behalf Of Jeffrey Kain via 4D_Tech
Sent: Wednesday, March 27, 2019 9:02 AM
To: 4D iNug Technical <4d_t...@xxx.xxx<mailto:4d_t...@xxx.xxx>>
Cc: Jeffrey Kain
Subject: PDF viewing alternative in v17/64 bit

Just ran into a nice surprise in 4D v17 on 64-bit using the embedded "Blink" 
web area... it has a very nice cross-platform PDF viewer built in. Just pass 
the path of a PDF into WA Open URL and it will display exactly the same on both 
Mac and Windows -- no plug-ins or extra configuration required.
**
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: Benchmark Speed Test Method

2019-04-05 Thread Stephen J. Orth via 4D_Tech
Jody,

The reason we chose to go this route is so we can assure our customers of the 
results.  There is no bias in how the numbers were attained, or that they were 
possibly influenced by us.  Additionally, the ability to say this is a 
Microsoft tool really helps politically.

Most of our installation today are on VM sessions, and people don't know how to 
properly configure VM, or I should say the storage system being utilized by the 
VM.  This analysis will help indicate if they did not configure it properly.

Another reason we document this is for the day (and it will come) when they 
complain about system speed, the system is slow.  We simply run another 
analysis and compare it to the original, pre-installation numbers.  When it 
shows their hardware speed has changed, they have a much more difficult time 
blaming our software.   

I wish I didn't have to do this, but unfortunately it's more of a CYA issue.

Best,


Steve

*
  Stephen J. Orth
  The Aquila Group, Inc.  Office:  (608) 834-9213
  P.O. Box 690   Mobile:  (608) 347-6447
  Sun Prairie, WI 53590

  E-Mail:  s.o...@the-aquila-group.com
*

-Original Message-
From: Jody Bevan  
Sent: Friday, April 5, 2019 4:03 PM
To: Stephen Orth ; 4D iNug Technical 
<4d_tech@lists.4d.com>
Subject: Re: Benchmark Speed Test Method

Steve:

Thanks for that information. I used to have one I had written in 4D. This tool 
will be superior I am certain of that. I will need to read up on this, as I 
have an install coming up.

Jody

> On Apr 5, 2019, at 2:04 PM, Stephen J. Orth via 4D_Tech 
> <4d_tech@lists.4d.com> wrote:
> 
> Stephen,
> 
> We benchmark every Clients server storage system as part of our initial 
> project management so we know if it will meet our requirements.  We use a 
> Microsoft tool called DiskSpd and have a configuration script to test various 
> loads on the storage system.  The results are plotted against one of our 
> "base" systems for comparison, with the results provided to our Customer.  
> Our primary metrics are:
> 
> 1. IOPS
> 2. MBPS
> 3. Avg Latency
> 4. Max Latency.
> 
> Most of our customers configure their storage system wrong, basically as a 
> "data warehouse" not as a "OLTP" where most packet sizes will be 2 - 4 kb.  
> The latency of a storage system is very important, similar to how important 
> it is for 4D's network connection.
> 
> Best,
> 
> 
> Steve



**
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: Benchmark Speed Test Method

2019-04-05 Thread Stephen J. Orth via 4D_Tech
Stephen,

We benchmark every Clients server storage system as part of our initial project 
management so we know if it will meet our requirements.  We use a Microsoft 
tool called DiskSpd and have a configuration script to test various loads on 
the storage system.  The results are plotted against one of our "base" systems 
for comparison, with the results provided to our Customer.  Our primary metrics 
are:

 1. IOPS
 2. MBPS
 3. Avg Latency
 4. Max Latency.

Most of our customers configure their storage system wrong, basically as a 
"data warehouse" not as a "OLTP" where most packet sizes will be 2 - 4 kb.  The 
latency of a storage system is very important, similar to how important it is 
for 4D's network connection.

Best,


Steve

*********
  Stephen J. Orth
  The Aquila Group, Inc.  Office:  (608) 834-9213
  P.O. Box 690   Mobile:  (608) 347-6447
  Sun Prairie, WI 53590

  E-Mail:  s.o...@the-aquila-group.com
*

-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Douglas von Roeder 
via 4D_Tech
Sent: Friday, April 5, 2019 2:39 PM
To: 4D iNug Technical <4d_tech@lists.4d.com>
Cc: Douglas von Roeder 
Subject: Re: Benchmark Speed Test Method

You might want to check with the EULA on that. It’s been some years since I 
checked but it did disallow publication of the results of performance tests.


--
Douglas von Roeder
949-336-2902


On Fri, Apr 5, 2019 at 12:32 PM steve simpson via 4D_Tech < 
4d_tech@lists.4d.com> wrote:

> On Fri, Apr 5, 2019 at 3:00 PM  Neal Schaefer wrote:
>
> > [snip]
> >
> > * We're getting a new Windows 2016 server for our 4DServer, and 
> > before I migrate, I'd like to write a benchmark speed test to run 
> > before and
> after.
> > I'd like to measure create, edit, delete records, processing, IO, 
> > file copying, and other relevant functions. We're also migrating 
> > from v16.6 to
> > v17 later in the year, and I'd like to run it again before and after 
> > the upgrade. I'm wondering if anyone has a method they've written 
> > for this purpose that they might be willing to share?*
> >
> We'd be very interested in that too. And Neal, I hope you share your 
> results when finished.
>
> Also, has anyone moved up to v17 web server yet application? (Not "web 
> area", but rather the full "web server application") Can you tell how 
> it compares to v15 please? Any issues one should be aware of?
> -
> Stephen Simpson
> Cimarron Software
> **
> 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
**

**
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: Error connecting to 4D Server - SOLVED

2019-04-03 Thread Stephen J. Orth via 4D_Tech
Chip,

Yes, we are Windows only.  What do you mean by an auto-update?  A Windows
update?


Steve


-Original Message-
From: Chip Scheide <4d_o...@pghrepository.org> 
Sent: Wednesday, April 3, 2019 3:54 PM
To: s.o...@the-aquila-group.com; 4D iNug Technical <4d_tech@lists.4d.com>
Cc: 'David Rose' 
Subject: RE: Error connecting to 4D Server - SOLVED


running under windows?
could be caused by an auto update...

Chip


**
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: Error connecting to 4D Server - SOLVED

2019-04-03 Thread Stephen J. Orth via 4D_Tech
David,

Cool, glad you figured it out.  Wish it was that simple for us...

We have a 24/7 batch processing station at every customer site, and this will 
suddenly error out with either the -10002 or socket error.


Steve

-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of David Rose via 4D_Tech
Sent: Wednesday, April 3, 2019 3:26 PM
To: 4d_tech@lists.4d.com
Cc: David Rose 
Subject: RE: Error connecting to 4D Server - SOLVED

It was something simple - a recent Windows update on this computer (grrr) 
changed the Ethernet IP address assignment method from static to dynamic, then, 
when the computer restarted, a new local IP address was assigned. So in the 4D 
connection window the database had the old IP address. 

Message: 1
Date: Wed, 3 Apr 2019 11:41:12 -0500
From: "Stephen J. Orth" 
To: "'4D iNug Technical'" <4d_tech@lists.4d.com>
Cc: "'David Rose'" 
Subject: RE: Error connecting to 4D Server
Message-ID: <00b801d4ea3c$0cdec390$269c4ab0$@the-aquila-group.com>
Content-Type: text/plain;   charset="utf-8"

David,

I don't have an solution for you but I would love to know how to stop these 
issues as they are regular problems facing our OEM Clients.

We have talked to our Clients about port time outs, external scanning software, 
etc.  We have made adjustments on our side where we can...but we just cannot 
seem to stop these issues.  What is worse, we really don't have any more 
suggestions for our Clients as this is only linked to 4D. 


Steve

-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of David Rose via 4D_Tech
Sent: Wednesday, April 3, 2019 11:34 AM
To: 4d_tech@lists.4d.com
Cc: David Rose 
Subject: Error connecting to 4D Server

I have been developing a 4D v15 client/server application on a Windows 10 
computer for years without a problem. I have always been able to connect from 
4D to the server, with both server and client running on the same computer. 
Until today. Now, when I try to connect from 4D to the server, I am getting 
this error message:

**
Error code: -10002 (4DRT)
The connection for this process has been disrupted or the connection couldn't 
be established.
component: '4DRT'
task -1, name: 'Application process'

Error code: 10035 (WI32)
A non-blocking socket operation could not be completed immediately.

component: 'WI32'
task -1, name: 'Application process'
**

I deleted all of the files in the 4D folder, checked my virus protection 
software for possible blocks, restarted the router and the computer. Ran the 
network troubleshooter. Still have the problem. I created a brand new database, 
launched it in 4D Server, get the same error trying to connect to it. When I do 
these tests I only have one 4D database running on this computer.

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

RE: Error connecting to 4D Server

2019-04-03 Thread Stephen J. Orth via 4D_Tech
Kevin,

I'm not sure about others, but these types of issue have been around (for us) 
at least 3 years now...so it may be related to "recent" changes, but it's also 
been happening for a lot longer time.

Best,


Steve

-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Guru via 4D_Tech
Sent: Wednesday, April 3, 2019 12:41 PM
To: 4d_tech@lists.4d.com
Cc: Guru 
Subject: Re: Error connecting to 4D Server

Check the server firewall. We have had issues following recent Microsoft 
updates to server software. Sometimes the firewall seems to increase security, 
and occasionally web port issues too.




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

**
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: Error connecting to 4D Server

2019-04-03 Thread Stephen J. Orth via 4D_Tech
David,

We are using V16 and this is when it started happening.  Never had this issue 
in V13...


Steve


-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of David Rose via 4D_Tech
Sent: Wednesday, April 3, 2019 12:10 PM
To: 4d_tech@lists.4d.com
Cc: David Rose 
Subject: RE: Error connecting to 4D Server

One thing has changed: I installed v17 on this computer several days ago, and 
did run a database in 4D Server several times. The error that I am getting 
occurs in both v15 and v17.

-Original Message-
From: David Rose [mailto:drose...@gmail.com]
Sent: Wednesday, April 03, 2019 11:57 AM
To: '4d_tech@lists.4d.com' <4d_tech@lists.4d.com>
Subject: RE: Error connecting to 4D Server

Ports haven't changed. When I got this error, one of the things I tried was 
changing the ports, and including the new port number in the connection dialog, 
as you mentioned. No luck.


**
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: Error connecting to 4D Server

2019-04-03 Thread Stephen J. Orth via 4D_Tech
Chip,

We don't change the default ports and these messages come up frequently and 
many of our OEM customers.  We have situations where the client & server are on 
the same hardware and both these issues happen.


Steve


From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Chip Scheide via 
4D_Tech
Sent: Wednesday, April 3, 2019 11:49 AM
To: 4D iNug Technical <4d_tech@lists.4d.com>
Cc: Chip Scheide <4d_o...@pghrepository.org>; David Rose 
Subject: Re: Error connecting to 4D Server


have you changed the default ports that 4D uses?
if so, you need to specify the new/changed port number in the connection dialog 
and you need to change both ports (as I understand) 4D, &  Sql (usually -1 from 
4D port) 

ex:
123.123.123.123:123456

**
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: Error connecting to 4D Server

2019-04-03 Thread Stephen J. Orth via 4D_Tech
David,

I don't have an solution for you but I would love to know how to stop these 
issues as they are regular problems facing our OEM Clients.

We have talked to our Clients about port time outs, external scanning software, 
etc.  We have made adjustments on our side where we can...but we just cannot 
seem to stop these issues.  What is worse, we really don't have any more 
suggestions for our Clients as this is only linked to 4D. 


Steve

-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of David Rose via 4D_Tech
Sent: Wednesday, April 3, 2019 11:34 AM
To: 4d_tech@lists.4d.com
Cc: David Rose 
Subject: Error connecting to 4D Server

I have been developing a 4D v15 client/server application on a Windows 10 
computer for years without a problem. I have always been able to connect from 
4D to the server, with both server and client running on the same computer. 
Until today. Now, when I try to connect from 4D to the server, I am getting 
this error message:

**
Error code: -10002 (4DRT)
The connection for this process has been disrupted or the connection couldn't 
be established.
component: '4DRT'
task -1, name: 'Application process'

Error code: 10035 (WI32)
A non-blocking socket operation could not be completed immediately.

component: 'WI32'
task -1, name: 'Application process'
**

I deleted all of the files in the 4D folder, checked my virus protection 
software for possible blocks, restarted the router and the computer. Ran the 
network troubleshooter. Still have the problem. I created a brand new database, 
launched it in 4D Server, get the same error trying to connect to it. When I do 
these tests I only have one 4D database running on this computer.

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

RE: PDF viewing alternative in v17/64 bit

2019-03-27 Thread Stephen J. Orth via 4D_Tech
Jeff,

That is a very nice surprise...thanks for sharing!

Steve


-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Jeffrey Kain via 
4D_Tech
Sent: Wednesday, March 27, 2019 9:02 AM
To: 4D iNug Technical <4d_tech@lists.4d.com>
Cc: Jeffrey Kain 
Subject: PDF viewing alternative in v17/64 bit

Just ran into a nice surprise in 4D v17 on 64-bit using the embedded "Blink" 
web area... it has a very nice cross-platform PDF viewer built in. Just pass 
the path of a PDF into WA Open URL and it will display exactly the same on both 
Mac and Windows -- no plug-ins or extra configuration required.


**
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: Kick off compile and build on remote server

2019-03-19 Thread Stephen J. Orth via 4D_Tech
Jim,

Most likely a security issue with the user account your using.  How is the 
account configure?  Have you tried using Windows scheduler to run this and see 
what happens?


Steve

*
  Stephen J. Orth
  The Aquila Group, Inc.  Office:  (608) 834-9213
  P.O. Box 690   Mobile:  (608) 347-6447
  Sun Prairie, WI 53590

  E-Mail:  s.o...@the-aquila-group.com
*

-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Jim Hays via 4D_Tech
Sent: Tuesday, March 19, 2019 4:55 PM
To: 4D iNug Technical <4d_tech@lists.4d.com>
Cc: Jim Hays 
Subject: Kick off compile and build on remote server

We're having trouble with "net stop" and "net start" running from a batch file 
on a Windows Server.

Unless we right-click and run as Administrator, access is denied to stop or 
start a service, but we want this to happen "unattended" on the server.
 We could kick it off from a client, or have it run nightly at a certain time.

This used to work for us a while ago, but it seems Windows security is tighter 
now.

Does anyone have this working?

Thanks,

Jim
**
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: Printing a PDF document from 4D

2019-03-19 Thread Stephen J. Orth via 4D_Tech
Julio,

Here is how we use this command to print:

 $returncode:=sys_ShellExecute ("print";$path;"";"";SW_HIDE)

The $path variable contains the full path to the document I want to print.

Best,


Steve

*********
  Stephen J. Orth
  The Aquila Group, Inc.  Office:  (608) 834-9213
  P.O. Box 690   Mobile:  (608) 347-6447
  Sun Prairie, WI 53590

  E-Mail:  s.o...@the-aquila-group.com
*

-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Stephen J. Orth via 
4D_Tech
Sent: Tuesday, March 19, 2019 9:30 AM
To: '4D iNug Technical' <4d_tech@lists.4d.com>
Cc: Stephen J. Orth 
Subject: RE: Printing a PDF document from 4D

Julio,

Sorry, coming into this late...

Do you have WIN32API?  If so, you can simply use the sys_shellexecute command 
to print.  It will use the native Windows application.

Best,


Steve

*********
  Stephen J. Orth
  The Aquila Group, Inc.  Office:  (608) 834-9213
  P.O. Box 690   Mobile:  (608) 347-6447
  Sun Prairie, WI 53590

  E-Mail:  s.o...@the-aquila-group.com
*

-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Julio Carneiro via 
4D_Tech
Sent: Tuesday, March 19, 2019 9:27 AM
To: 4D iNug Technical <4d_tech@lists.4d.com>
Cc: Julio Carneiro 
Subject: Re: Printing a PDF document from 4D

I do have PDF Viewer, but on Windows you can’t print from an off-screen area, 
which means yo have to display the pdf on a form before printing it.

I forgot to mention that I need to just “print” and external PDF. Printing has 
to happen in background and in some cases for 4D Server. So, no user interface 
allowed.

@Luc Devar, QPDF, also from pluggers.nl, does not support printing on Windows.


**
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: Debugger window corruption

2019-03-01 Thread Stephen J. Orth via 4D_Tech
John,

Which version of my method are you running?  Is it the one from 2015 that works 
for V13 -> V16?


Steve

*
  Stephen J. Orth
  The Aquila Group, Inc.  Office:  (608) 834-9213
  P.O. Box 690   Mobile:  (608) 347-6447
  Sun Prairie, WI 53590

  E-Mail:  s.o...@the-aquila-group.com
*

-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of John J Foster via 
4D_Tech
Sent: Friday, March 1, 2019 12:54 PM
To: 4D iNug Technical <4d_tech@lists.4d.com>
Cc: John J Foster 
Subject: Ref: Debugger window corruption

Hi Neil,

I searched and found the v15 method you mentioned. It was authored by Stephen 
J. Orth. I created the method and ran it but it didn’t work for me. Not sure 
why.

Although I’ll respond in another email to what did work...

Appreciate,
John…


>> On the left side pane the Variables is the top and anything above that I do 
>> not have access to. I cannot get to the debugger buttons.
> 
> There was a debugger reset method that was posted a few years ago. I don't 
> have the one for v15 but if you search you might be able to find it. I think 
> it was written by Miyako.
> 
> This is the v17 version:
> 
> C_TEXT($tPath)
> 
> $tPath:=Get 4D folder(Active 4D Folder)+\ "4D Window Bounds 
> v"+Substring(Application version;1;2)+Folder separator+\ 
> "runtime"+Folder separator+\ "[projectForm]"+Folder separator+\ 
> "4ddebugger.json"
> 
> If (Test path name($tPath)=Is a document)
>   ON ERR CALL("Blank")
>   DELETE DOCUMENT($tPath)
>   ON ERR CALL("")
> End if
> 
> 
> 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
**

**
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: Can'r run as a service on Windows 2016

2019-02-28 Thread Stephen J. Orth via 4D_Tech
I agree with Chuck here...

We never install our OEM system on the C drive, let along in the Program Files 
directory.  We always insist the server hardware be configured as C-Drive for 
Windows, D-Drive for data.

All our systems run as a service, with no special configuration required

Best,


Steve

*
  Stephen J. Orth
  The Aquila Group, Inc.  Office:  (608) 834-9213
  P.O. Box 690   Mobile:  (608) 347-6447
  Sun Prairie, WI 53590

  E-Mail:  s.o...@the-aquila-group.com
*

-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of cjmiller--- via 
4D_Tech
Sent: Thursday, February 28, 2019 1:41 PM
To: 4D iNug Technical <4d_tech@lists.4d.com>
Cc: cjmil...@informed-solutions.com
Subject: Re: Can'r run as a service on Windows 2016

I have found it is always better to Install program and data on a second drive. 
I do not run as a service but had many update problems and running problems 
when on c drive

Regards

Chuck 

**
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: Denver Area Developers

2019-02-22 Thread Stephen J. Orth via 4D_Tech
Tom,

If you count Madison, WI as part of Denver, then yes there are!  


Steve

*
  Stephen J. Orth
  The Aquila Group, Inc.  Office:  (608) 834-9213
  P.O. Box 690   Mobile:  (608) 347-6447
  Sun Prairie, WI 53590

  E-Mail:  s.o...@the-aquila-group.com
*

-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Tom Dillon via 4D_Tech
Sent: Friday, February 22, 2019 2:46 PM
To: 4d_tech@lists.4d.com
Cc: Tom Dillon 
Subject: Denver Area Developers

Are there still any 4D Developers in the Denver area?

-- 
   --
   Tom Dillon  375 S Main St #405
   DataCraft   Moab, UT 84532
   tomdil...@datacraft-inc.com   720/209-6502
   --
Never so clearly does a man see as when he has his head far
above the clouds, just before his eyeballs freeze. --- Sunastar
   --

**
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: Set Time question

2019-02-08 Thread Stephen J. Orth via 4D_Tech
Kirk,

You can create an independent process that is hidden to user which simply wakes 
up, does the calculation, and then calls the process.  It you use IP variables 
you can have them auto-update based on the call to the process.  We do this for 
projects that require this type of updatingno real interruption to the user.

Just one thought..


Steve

*
  Stephen J. Orth
  The Aquila Group, Inc.  Office:  (608) 834-9213
  P.O. Box 690   Mobile:  (608) 347-6447
  Sun Prairie, WI 53590

  E-Mail:  s.o...@the-aquila-group.com
*

-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Kirk Brooks via 
4D_Tech
Sent: Friday, February 8, 2019 10:48 AM
To: 4D iNug Technical <4d_tech@lists.4d.com>
Cc: Kirk Brooks 
Subject: Set Time question

Hi List,
I have never used Set timer very much so I've got a noobie question. I'm adding 
some real-time updating code to financial forms: think Invoices, Billing 
Account summaries. that sort of thing. An invoice is the most obvious - User A 
has a form open that displays the invoice details (total amount, balance due). 
I want to update the balance due when a new payment is applied which could be 
from anywhere in the system. I have the code for all that worked out the issue 
is managing displaying the balance due part.

Set timer is one solution. Every couple of seconds the form can simply reload 
the invoice details. The issue is the interruption to the user if they are 
doing something else on the form. Like entering data in a field or variable. Is 
there a way to trap use actions like that so I can block the On timer code from 
running?

--
Kirk Brooks
San Francisco, CA
===

What can be said, can be said clearly,
and what you can’t say, you should shut up about

*Wittgenstein and the Computer *
**
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: Urgent! Port conflict - 4D Server

2019-02-07 Thread Stephen J. Orth via 4D_Tech
David,

Great news, glad to assist!

Best,


Steve

*
  Stephen J. Orth
  The Aquila Group, Inc.  Office:  (608) 834-9213
  P.O. Box 690   Mobile:  (608) 347-6447
  Sun Prairie, WI 53590

  E-Mail:  s.o...@the-aquila-group.com
*

-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of David Rose via 4D_Tech
Sent: Thursday, February 7, 2019 7:32 PM
To: 4d_tech@lists.4d.com
Cc: David Rose 
Subject: RE: Urgent! Port conflict - 4D Server

Neil and Steve - you both were correct - there was a 4D Server service running 
that had been created since the last reboot many months ago.
Thanks to you both for the fast and accurate response!!


**
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: v17 conundrum in design

2019-02-07 Thread Stephen J. Orth via 4D_Tech
Chuck,

Do you have ALP's auto-trace logic turned on?  It is a nice feature that opens 
the debugger if ALP encounters a problem, which may be what you are seeing.


Steve

*
  Stephen J. Orth
  The Aquila Group, Inc.  Office:  (608) 834-9213
  P.O. Box 690   Mobile:  (608) 347-6447
  Sun Prairie, WI 53590

  E-Mail:  s.o...@the-aquila-group.com
*

-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Charles Miller via 
4D_Tech
Sent: Thursday, February 7, 2019 3:24 PM
To: 4D iNug Technical <4d_tech@lists.4d.com>
Cc: Charles Miller 
Subject: Re: v17 conundrum in design

Nope it is filling arrays and then updating ALP. After tabbing out of query 
field

Chuck

On Thu, Feb 7, 2019 at 4:15 PM Chip Scheide via 4D_Tech < 4d_tech@lists.4d.com> 
wrote:

> Chuck
> look for a hard break (TRACE)
> either in a called component, plugin or method called via EXECUTE 
> FORMULA
>
> On Thu, 7 Feb 2019 16:12:38 -0500, Chip Scheide via 4D_Tech wrote:
> > Chuck
> > also I get this sometimes when there is break in a method which is 
> > called via EXECUTE FORMULA especially if the method is called during 
> > screen drawing (On display
> > detail)
> >
> > Chip
> > a break in codeOn Thu, 7 Feb 2019 15:39:26 -0500, Chuck Miller via 
> > 4D_Tech wrote:
> >> Hi All,
> >>
> >> I have an object method that shows no break points either in the 
> >> method or when I show break points, yet it continues to stop at a 
> >> particular line of code and it is annoying. Any ideas out there 
> >> what it might be.
> >>
> >> Thanks and regards
> >> Chuck
> >>
> >>
> >
>
> --
> --
> >>  Chuck Miller Voice: (617) 739-0306  Informed Solutions, Inc. Fax: 
> >> (617) 232-1064  mailto:cjmillerinformed-solutions.com  
> >> Brookline, MA 02446 USA Registered 4D Developer
> >>Providers of 4D and Sybase connectivity
> >>   http://www.informed-solutions.com
> >>
> >
>
> --
> --
> >> This message and any attached documents contain information which 
> >> may be confidential, subject to privilege or exempt from disclosure 
> >> under applicable law.  These materials are intended only for the 
> >> use of the intended recipient. If you are not the intended 
> >> recipient of this transmission, you are hereby notified that any 
> >> distribution, disclosure, printing, copying, storage, modification 
> >> or the taking of any action in reliance upon this transmission is 
> >> strictly prohibited.  Delivery of this message to any person other 
> >> than the intended recipient shall not compromise or waive such 
> >> confidentiality, privilege or exemption from disclosure as to this 
> >> communication.
> >>
> >> ***
> >> ***
> >> 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
> >> ***
> >> ***
> > ---
> > 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
> > 
> > **
> ---
> 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
> **

--
-
 Chuck Miller Voice: (617) 739-0306 Fax: (617) 232-1064  Informed Solutions, 
Inc.
 B

RE: Urgent! Port conflict - 4D Server

2019-02-07 Thread Stephen J. Orth via 4D_Tech
David,

Is the system running as a service and you don't know it?


Steve

-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of David Rose via 4D_Tech
Sent: Thursday, February 7, 2019 1:06 PM
To: 4d_tech@lists.4d.com
Cc: David Rose 
Subject: Urgent! Port conflict - 4D Server

On a Windows 7 box running 4D Server v15, I rebooted the computer today and 
found, when I restarted 4D Server and tried to open the database (or a brand 
new database), I get this error:
"Failed to launch DB4D Server. Please make sure that the port assigned to the 
DB4D Server is not used by another application." When I click Continue I get 
"Failed to create a listening socket."

I tried opening the database in 4D, but got a message asking if I wanted to 
open it in read only mode. If I say yes, I am not able to get into the design 
environment in order to get into Database Settings in order to try changing the 
port numbers for the application server, web server, SQL server.

I tried repairing both the structure and data files, trashing the 4D  and 4D 
Server Preferences files, and reinstalling 4D Server. No luck. I also user the 
Unlocker utility to check to see if the data files are falsely locked. They're 
not.

If you know of a solution to this problem, please email me directly:
drose...@gmail.com.

TIA,
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: OBJECT SET ENTERABLE not working on Checkbox??

2019-02-02 Thread Stephen J. Orth via 4D_Tech
Lloyd,

I believe you may want to be using:   OBJECT SET ENABLED


Steve

-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Lloyd SIgler via 
4D_Tech
Sent: Saturday, February 2, 2019 4:52 PM
To: 4D iNug Technical <4d_tech@lists.4d.com>
Cc: Lloyd SIgler <4...@siglergroup.com>
Subject: OBJECT SET ENTERABLE not working on Checkbox??

The following code is not working on checkboxes. 

OBJECT SET ENTERABLE(b_FICA;False)

It is executing without error, am I missing something stupid?

Thanks

Lloyd

**
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: XPS Viewer on Windows 10 - Removed in new OS installs -

2019-01-16 Thread Stephen J. Orth via 4D_Tech
Randy,

You certain can make this look seamless, and quick frankly this is how many 
newer systems are working.  You switch to that printer, have it produce the 
document silently to a location you manage, open it using a shell command or 
WIN32API.  The user can then close it and you can clean it up later, or move it 
somewhere for the user.

If you use the current version of QuickBooks, that exactly how they work...


Steve

*
  Stephen J. Orth
  The Aquila Group, Inc.  Office:  (608) 834-9213
  P.O. Box 690   Mobile:  (608) 347-6447
  Sun Prairie, WI 53590

  E-Mail:  s.o...@the-aquila-group.com
*

-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Randy Engle via 
4D_Tech
Sent: Wednesday, January 16, 2019 4:22 PM
To: '4D iNug Technical' <4d_tech@lists.4d.com>
Cc: Randy Engle <4d.l...@xc2.us>
Subject: RE: XPS Viewer on Windows 10 - Removed in new OS installs -

Hi Jim,

Thanks for the idea.

Don't think MS Print to PDF will substitute as a seamless "Preview"
But it's certainly an idea worth entertaining.

I've not looked into how much we can configure MS Print/PDF to set the location 
and name of the document.

Randy Engle

-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Jim Hays via 4D_Tech
Sent: Wednesday, January 16, 2019 11:03 AM
To: 4D iNug Technical <4d_tech@lists.4d.com>
Cc: Jim Hays 
Subject: Re: XPS Viewer on Windows 10 - Removed in new OS installs -

Maybe not ideal, but there is Microsoft Print to PDF built in to Windows 10.

Jim

On Wed, Jan 16, 2019 at 12:42 PM Randy Engle via 4D_Tech < 
4d_tech@lists.4d.com> wrote:

> Hi 4D!
>
> MS Strikes again!
>
> As of 15/Aug/2018 - Windows 10 Build 1803
>
>
> https://docs.microsoft.com/en-us/windows/deployment/planning/windows-1
> 0-1803-removed-features
>
> MS is removing XPS Viewer as a standard installation for new 
> installations of Windows 10, starting with release 1803 Upgrade to
> 1803 apparently will not be affected.
>
> Yes, it can be manually re-installed.
>
> However many of our customers don’t want to be bothered with this.
>
> Is there anything in the works as a previewer replacement instead of 
> XPS viewer?
>
> 
>
> Thanks!
>
> Randy Engle
>
>
> **
> 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
**

**
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: Socket Communication

2019-01-15 Thread Stephen J. Orth via 4D_Tech
Welsh,

Hum, interesting idea.  We will definitely check this out...

Thank you so much!

Best,


Steve

*
  Stephen J. Orth
  The Aquila Group, Inc.  Office:  (608) 834-9213
  P.O. Box 690   Mobile:  (608) 347-6447
  Sun Prairie, WI 53590

  E-Mail:  s.o...@the-aquila-group.com
*

-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Welsh Harris via 
4D_Tech
Sent: Tuesday, January 15, 2019 3:58 PM
To: 4d_tech@lists.4d.com
Cc: Welsh Harris 
Subject: RE: Socket Communication

This is worth a look:
https://pusher.com <https://pusher.com/>

- setup a pusher channel in your pusher account
- browsers subscribe to a pusher channel
- 4D makes and http request to the pusher channel
- boom all the browser who have subscribed get the message

Welsh
**
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: Socket Communication

2019-01-15 Thread Stephen J. Orth via 4D_Tech
John,

Thanks...

This is just "polling" logic and won't work for us, which is why I am asking 
about web sockets.

In our world, when a machine goes down we have to immediately contact the 
browser managing the machine.  In polling logic, it would mean we only check 
every X interval.  Before anyone says "well just make it a short interval" take 
into account I may have 50 - 100 browsers all polling continuously.  This is a 
lot of traffic which simply asks the server "anything for me".  Keep in mind 
99% of the time the answer from the server will be no.  This is a lot of 
overhead for the 4D Server to be dealing with continually.

It's much more efficient, considerably less taxing, to just have the server 
push a request to the shop floor browser only when some action is required...

Best,


Steve

*********
  Stephen J. Orth
  The Aquila Group, Inc.  Office:  (608) 834-9213
  P.O. Box 690   Mobile:  (608) 347-6447
  Sun Prairie, WI 53590

  E-Mail:  s.o...@the-aquila-group.com
*

-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of John DeSoi via 4D_Tech
Sent: Tuesday, January 15, 2019 3:31 PM
To: 4D iNug Technical <4d_tech@lists.4d.com>
Cc: John DeSoi 
Subject: Re: Socket Communication

Steve,

> On Jan 15, 2019, at 3:08 PM, Stephen J. Orth  
> wrote:
> 
> Not sure I understand what you are saying, would you be able to provide me 
> with a high level overview of what you are thinking?

HTTP is a request/response protocol where the server only responds to requests 
from the client. Websockets are full duplex and bi-directional meaning either 
side of the connection can both send and receive asynchronously. See

http://blog.arungupta.me/rest-vs-websocket-comparison-benchmarks/

> 
> Our Server will be performing analytics' and at some point it will trap on a 
> condition that needs to be communicated to the shop floor.  For example, a 
> machine has been idle for more than 5 minutes.
> 
> When this event is flagged, the server needs to tell the browser on the 
> floor, associated with this machine, to take a specific action. Basically the 
> browser will need to present a different window for the operator to respond 
> into.
> 
> So I'm just trying to understand how the HTTP idea you presented would work 
> in this situation...

This can be achieved in a HTTP/browser interface without much trouble. I think 
all you would need to do is set a timer for your web interface to periodically 
check with the server for a change in state. Probably not as efficient as 
websockets, but a fraction of the development effort unless you already have a 
websocket server implementation ready to go.

Here is an example of using a JavaScript timer to perform some action, e.g. a 
periodic http call to your server.

https://javascript.info/settimeout-setinterval

John DeSoi, Ph.D.
**
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: Socket Communication

2019-01-15 Thread Stephen J. Orth via 4D_Tech
John,

Not sure I understand what you are saying, would you be able to provide me with 
a high level overview of what you are thinking?

Our Server will be performing analytics' and at some point it will trap on a 
condition that needs to be communicated to the shop floor.  For example, a 
machine has been idle for more than 5 minutes.

When this event is flagged, the server needs to tell the browser on the floor, 
associated with this machine, to take a specific action. Basically the browser 
will need to present a different window for the operator to respond into.

So I'm just trying to understand how the HTTP idea you presented would work in 
this situation...

Thanks!


Steve

*
  Stephen J. Orth
  The Aquila Group, Inc.  Office:  (608) 834-9213
  P.O. Box 690   Mobile:  (608) 347-6447
  Sun Prairie, WI 53590

  E-Mail:  s.o...@the-aquila-group.com
*

-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of John DeSoi via 4D_Tech
Sent: Tuesday, January 15, 2019 2:39 PM
To: 4D iNug Technical <4d_tech@lists.4d.com>
Cc: John DeSoi 
Subject: Re: Socket Communication

Do you really need the ability for the server to send data asynchronously to 
the client (browser)? If not, then HTTP should work and is already supported in 
the browser and on 4D Server.

John DeSoi, Ph.D.


> On Jan 15, 2019, at 1:30 PM, Stephen J. Orth via 4D_Tech 
> <4d_tech@lists.4d.com> wrote:
> 
> Very much appreciated.  I swear I saw something at a Summit, or read 
> something about 4D supporting web sockets?

**
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: Socket Communication

2019-01-15 Thread Stephen J. Orth via 4D_Tech
Tim,

Great...let me check this out.

Very much appreciated.  I swear I saw something at a Summit, or read something 
about 4D supporting web sockets?


Steve

*
  Stephen J. Orth
  The Aquila Group, Inc.  Office:  (608) 834-9213
  P.O. Box 690   Mobile:  (608) 347-6447
  Sun Prairie, WI 53590

  E-Mail:  s.o...@the-aquila-group.com
*

-Original Message-
From: Timothy Penner  
Sent: Tuesday, January 15, 2019 12:55 PM
To: s.o...@the-aquila-group.com; 4D iNug Technical <4d_tech@lists.4d.com>
Subject: RE: Socket Communication

Hi Steve,

There is a feature request for Web Sockets on the forums:
https://forums.4d.com/Post/EN/19129127/1/19129128#19129128

Within this thread, there is also a sample database with a working example of 
using ?Web Sockets in 4D.

-Tim



Timothy Penner
Senior Technical Services Engineer

4D Inc
95 S. Market Street, Suite #240
San Jose,CA 95113
United States

Telephone: +1-408-557-4600
Fax:   +1-408-271-5080
Email: tpen...@4d.com
Web:   www.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
**

Socket Communication

2019-01-14 Thread Stephen J. Orth via 4D_Tech
Has anyone utilized sockets as a form of communication between 4D Server and a 
browser?  If so, I'm curious what options we have available, either inside or 
outside of 4D.

Thanks!


Steve

*
  Stephen J. Orth
  The Aquila Group, Inc.  Office:  (608) 834-9213
  P.O. Box 690   Mobile:  (608) 347-6447
  Sun Prairie, WI 53590

  E-Mail:  s.o...@the-aquila-group.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: v13 - UUID COLLISION!!!

2018-10-29 Thread Stephen J. Orth via 4D_Tech
Chip,

Did you duplicate a record?


Steve

*
  Stephen J. Orth
  The Aquila Group, Inc. Office:  (608) 834-9213
  P.O. Box 690   Mobile:  (608) 347-6447
  Sun Prairie, WI 53590

  E-Mail:  s.o...@the-aquila-group.com
*


-Original Message-
From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Chip Scheide 
via 4D_Tech
Sent: Monday, October 29, 2018 1:53 PM
To: 4D iNug Technical <4d_tech@lists.4d.com>
Cc: Chip Scheide <4d_o...@pghrepository.org>
Subject: v13 - UUID COLLISION!!!

UUID value ="E092AB501E1D41F5A5D15B56E835D2EE"
this value appears to be duplicated in my database!

ideas? thoughts?
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
**

**
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: Icon & Picture Button Sources...

2018-10-24 Thread Stephen J. Orth via 4D_Tech
Robert,

No, I am using a program called MicroAngelo to build and edit the images.
It's just a matter of copy/pasting the images we want for each state.  The
program has a "disabled" mode which allows us to make the 4th image appear
disabled.

It's rather easy and quick.  Let me know if you would like to have me do a
web call to show you how we go about doing this.  Also, if we could us an
HTML based email, I could show you some images.


Steve

*****
  Stephen J. Orth
  The Aquila Group, Inc. Office:  (608) 834-9213
  P.O. Box 690   Mobile:  (608) 347-6447
  Sun Prairie, WI 53590

  E-Mail:  s.o...@the-aquila-group.com
*
-Original Message-
From: Robert ListMail [mailto:listm...@usersoft.com] 
Sent: Wednesday, October 24, 2018 2:25 AM
To: s.o...@the-aquila-group.com
Cc: 4D iNug Technical <4d_tech@lists.4d.com>
Subject: Re: Icon & Picture Button Sources...

Stephen, are you photoshopping the other states manually creating the
other button versions...?

Thanks,

Robert

Sent from my iPhone

> On Oct 23, 2018, at 7:15 PM, Stephen J. Orth 
wrote:
> 
> If you want to create a multi-state button, which is what you are
describing, you simply create a PNG image with 4 states.  This is how we
handle this in our system...



**
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: Icon & Picture Button Sources...

2018-10-23 Thread Stephen J. Orth via 4D_Tech
Rob,

If you want to create a multi-state button, which is what you are describing, 
you simply create a PNG image with 4 states.  This is how we handle this in our 
system...

The four states are:  Active, Pushed, Mouse Over,  & Disabled.

If you are looking to create a 24 pixel multi-state button, you then create a 
PNG file that is 24 wide x 96 high.  From top to bottom each 24 pixels in 
height accounts a state (Active, Pushed, Mouse-Over, Disabled).

We then use a 3D button to contain the image.

Hope that helps...


Steve

*
  Stephen J. Orth
  The Aquila Group, Inc. Office:  (608) 834-9213
  P.O. Box 690   Mobile:  (608) 347-6447
  Sun Prairie, WI 53590

  E-Mail:  s.o...@the-aquila-group.com
*
-Original Message-
From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Robert 
ListMail via 4D_Tech
Sent: Tuesday, October 23, 2018 6:48 PM
To: 4D iNug Tech <4d_tech@lists.4d.com>
Cc: Robert ListMail 
Subject: Re: Icon & Picture Button Sources...

Hi Tim thanks for the reminder. I recall liking your interface design. So, are 
you using the various button states where 4D has the ability to swap the images 
during different states such as “rollover”? If so, did you have to create two 
or three different versions of each icon for matrix of images…?

Thanks,

Rob


**
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: Icon & Picture Button Sources...

2018-10-23 Thread Stephen J. Orth via 4D_Tech
We have been using the following purchased icon set for years:

https://www.iconexperience.com/

Well worth the money as they keep current on every trend and have hundreds of 
professional quality designs.


Steve

*
  Stephen J. Orth
  The Aquila Group, Inc. Office:  (608) 834-9213
  P.O. Box 690   Mobile:  (608) 347-6447
  Sun Prairie, WI 53590

  E-Mail:  s.o...@the-aquila-group.com
*
-Original Message-
From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Tim Nevels via 
4D_Tech
Sent: Tuesday, October 23, 2018 2:05 PM
To: 4d_tech@lists.4d.com
Cc: Tim Nevels 
Subject: Re: Icon & Picture Button Sources...

On Oct 23, 2018, at 2:00 PM, Robert wrote:

> As I recall, Tim Nevels mentioned a favorite picture button resource which 
> has escaped me... Tim, can you refresh my memory...?

https://glyphlab.com

You have to pay money, but for me it was worth it as I paid once and got a 
library of high quality images I’ve been using for years in all my projects.  
For me, well worth the one time price.

Tim

**
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: How to tie 4D to barcode readers?

2018-09-19 Thread Stephen J. Orth via 4D_Tech
Gary,

Hello...

You statement that the scanner needs to be independent of where the user is in 
the GUI does not make sense to me, so can you explain what you are trying to 
achieve?

We have done quite a bit of scanner work using USB/Wedge readers, RS-232 
readers, and IP based readers via web services.  Each is unique in how it 
works, and has specific implications on how you develop your software.

Maybe you can elaborate a bit more on what you are trying to achieve by using 
bar code readers?


Best,


Steve

*
  Stephen J. Orth
  The Aquila Group, Inc. Office:  (608) 834-9213
  P.O. Box 690   Mobile:  (608) 347-6447
  Sun Prairie, WI 53590

  E-Mail:  s.o...@the-aquila-group.com
*
-Original Message-
From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Gary Willetts 
via 4D_Tech
Sent: Wednesday, September 19, 2018 7:21 AM
To: 4d_tech@lists.4d.com
Cc: Gary Willetts 
Subject: Re: How to tie 4D to barcode readers?

Hi Tony and others,
Interesting that this subject should come up now, we're also looking at
adding barcode reading to our software. Our application needs to be
independent of where the user is in the GUI and we're looking at low
resource settings so we need to stay away from IP scanners if we can. Which
I guess leaves us with RS232 or serial emulation via USB with appropriate
driver. We're in a Windows environment so GET SERIAL PORT MAPPING isn't so
useful for us I think. Anyone got any pointers on how to identify the
correct port to use with SET CHANNEL (I assume this is the way we have to
go) and general advice with getting this working?

Thanks,
Gary 


**
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: Storage — Server vs Client

2018-09-10 Thread Stephen J. Orth via 4D_Tech
Chris,

What is wrong with the suggestion made by Lutz concerning the use of the 
"Execute On Server" method attribute?


Best,


Steve

-Original Message-
From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Chris Belanger 
via 4D_Tech
Sent: Monday, September 10, 2018 9:33 AM
To: 4D iNUG Technical <4d_tech@lists.4d.com>
Cc: Chris Belanger 
Subject: Re: Storage — Server vs Client

I was hoping there was a way to access the storage object on the server from a 
client.
it would make a lot of things very simple. For example, the record key 
sequencing would be very simple.

Is there a way to access the shared objects of another machine (i.e. server or 
another client)?

regards,
Chris


> On Sep 10, 2018, at 1:47 AM, Epperlein, Lutz (agendo) via 4D_Tech 
> <4d_tech@lists.4d.com> wrote:
> 
> If I'm not wrong the explanation is simple. If you access the storage on the 
> client you get the storage of the client, on the server you get the storage 
> object of the server. If you want to access the server's storage you can use 
> something like EXECUTE ON SERVER or the appropriate attribute of the method.
> 
> Please correct me, if I'm wrong
> 
> Regards
> Lutz

**
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: v13 - screen redraw

2018-09-05 Thread Stephen J. Orth via 4D_Tech
Chip,

Another option is to use CALL PROCESS (-1) and see if that works...


Steve

-Original Message-
From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Chip Scheide 
via 4D_Tech
Sent: Wednesday, September 05, 2018 2:37 PM
To: 4D iNug Technical <4d_tech@lists.4d.com>
Cc: Chip Scheide <4d_o...@pghrepository.org>
Subject: v13 - screen redraw

I have a small form I am trying to get working
- it has a fixed text object on it.
- the object is set 'indivisible by default'
- The on load event sets up an outside call back to the process in 
which the form is opened.
- Outside call event sets the title of the object, and sets the text 
object visible.

I can not get the screen to redraw and display the newly assigned text, 
without opening another window over it; like an alert.


I have tried:
1 hiding and showing the process the form is in
using REDRAW WINDOW.

I changed from  fixed txt to a variable and assigned a value
this too fails to redraw properly

can someone see what I am missing?


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

**
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: v13 - screen redraw

2018-09-05 Thread Stephen J. Orth via 4D_Tech
Chip,

Have you tried procedurally changing the size of the window (i.e. 1 pixel 
wider, then smaller)?


Steve

-Original Message-
From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Chip Scheide 
via 4D_Tech
Sent: Wednesday, September 05, 2018 2:37 PM
To: 4D iNug Technical <4d_tech@lists.4d.com>
Cc: Chip Scheide <4d_o...@pghrepository.org>
Subject: v13 - screen redraw

I have a small form I am trying to get working
- it has a fixed text object on it.
- the object is set 'indivisible by default'
- The on load event sets up an outside call back to the process in 
which the form is opened.
- Outside call event sets the title of the object, and sets the text 
object visible.

I can not get the screen to redraw and display the newly assigned text, 
without opening another window over it; like an alert.


I have tried:
1 hiding and showing the process the form is in
using REDRAW WINDOW.

I changed from  fixed txt to a variable and assigned a value
this too fails to redraw properly

can someone see what I am missing?


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

RE: Isolating the Cause of a Server Crash

2018-08-31 Thread Stephen J. Orth via 4D_Tech
I strongly recommend what Chuck is saying.  We tell our customers to exempt our 
folders from any scanning, virus, auto-bots, etc...

We have seen database damage caused by this, which in turn results in crashing.

Steve


-Original Message-
From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Chuck Miller 
via 4D_Tech
Sent: Friday, August 31, 2018 4:32 PM
To: 4DTechList Tech <4d_tech@lists.4d.com>
Cc: Chuck Miller 
Subject: Re: Isolating the Cause of a Server Crash

Are you running any virus detective on that machine. If so you should skip 4D 
folders

Regards

Chuck

 Chuck Miller Voice: (617) 739-0306
 Informed Solutions, Inc. Fax: (617) 232-1064   
 mailto:cjmillerinformed-solutions.com 
 Brookline, MA 02446 USA Registered 4D Developer
   Providers of 4D and Sybase connectivity
  http://www.informed-solutions.com  

This message and any attached documents contain information which may be 
confidential, subject to privilege or exempt from disclosure under applicable 
law.  These materials are intended only for the use of the intended recipient. 
If you are not the intended recipient of this transmission, you are hereby 
notified that any distribution, disclosure, printing, copying, storage, 
modification or the taking of any action in reliance upon this transmission is 
strictly prohibited.  Delivery of this message to any person other than the 
intended recipient shall not compromise or waive such confidentiality, 
privilege or exemption from disclosure as to this communication. 

> On Aug 31, 2018, at 5:17 PM, Spencer Hinsdale via 4D_Tech 
> <4d_tech@lists.4d.com> wrote:
> 
> reboot the computer. it has been running for 40 days?

**
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: How to tie 4D to barcode readers?

2018-08-28 Thread Stephen J. Orth via 4D_Tech
Kirk & Tony,

We do lots of bar coding systems every year using wedge-readers (keyboard 
input), RS-232 wireless, and IP-based wireless.  Going forward we are no longer 
doing RS-232 scanners as it is simply too much work for both us and our clients.

If a wedge-reader is the right tool, we use this first, otherwise all our 
projects are now IP-based scanners which are basically browsers.  Our 
communication is via web services, which are very, very fast to develop and 
provide very fast network communication.  The scanner displays on these units 
are small so generating HTML pages for this is really quite trivial.  We have 
also done a number of IP-based tablets and all of what I said is also true here.

Best,


Steve

*
  Stephen J. Orth
  The Aquila Group, Inc. Office:  (608) 834-9213
  P.O. Box 690   Mobile:  (608) 347-6447
  Sun Prairie, WI 53590

  E-Mail:  s.o...@the-aquila-group.com
*
-Original Message-
From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Kirk Brooks 
via 4D_Tech
Sent: Tuesday, August 28, 2018 6:56 PM
To: 4D iNug Technical <4d_tech@lists.4d.com>
Cc: Kirk Brooks 
Subject: Re: How to tie 4D to barcode readers?

Tony,
How are you handling programming the barcode reader to include information
about what the barcode belongs to? Or are you using it as an extended
keyboard input?

On Tue, Aug 28, 2018 at 4:19 PM Tony Pollard via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> If you want the bar code scanning to be independent of where the user is
> on the UI, then there is usually a serial port emulation available on USB.
> GET SERIAL PORT MAPPING is useful for this on Mac.  You can then run
> serial comms in a separate process, which is handy if (for instance) the
> bar code readers are RF and being used at a distance from the computer
> (which also lets you run multiple scanners per computer).  Or I’d guess
> that there must be some IP wifi based bar code scanners out there by now,
> so you could (presumably) simply do a TCP_Open.
>
-- 
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
**

**
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: Getting A Colon In The Root Node Of XML File

2018-08-06 Thread Stephen J. Orth via 4D_Tech
Well,

Apparently it's not allow to do the following:

 $root:=DOM Create XML Ref("Production_Order_Confirmations")

However, you can do this:

 $root:=DOM Create XML Ref("Production_Order_Confirmations")
 DOM SET XML ELEMENT NAME($root;"dmm:Production_Order_Confirmations")

Go figure...


Steve


-----Original Message-
From: Stephen J. Orth [mailto:s.o...@the-aquila-group.com] 
Sent: Monday, August 06, 2018 7:49 PM
To: '4D iNug Technical' <4d_tech@lists.4d.com>
Subject: Getting A Colon In The Root Node Of XML File

Anyone,

Is there a way to get a colon character in the root node of an XML structure?  
The following is not working:

$root:=DOM Create XML Ref("dmm:Production_Order_Confirmations")

This will not create the XML structure, however if I remove it, then it will.  
Our customer is dictating this format, so I need to find a way around this 
issue in 4D please.

Best,


Steve


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

Getting A Colon In The Root Node Of XML File

2018-08-06 Thread Stephen J. Orth via 4D_Tech
Anyone,

Is there a way to get a colon character in the root node of an XML structure?  
The following is not working:

$root:=DOM Create XML Ref("dmm:Production_Order_Confirmations")

This will not create the XML structure, however if I remove it, then it will.  
Our customer is dictating this format, so I need to find a way around this 
issue in 4D please.

Best,


Steve


**
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: LiveDoc Unresponsive

2018-08-06 Thread Stephen J. Orth via 4D_Tech
Add,

Thanks for getting back to me!  I did get my answers the "manual" way.  It's 
funny how accustomed you become to simply clicking F1...

Best,


Steve

*****
  Stephen J. Orth
  The Aquila Group, Inc. Office:  (608) 834-9213
  P.O. Box 690   Mobile:  (608) 347-6447
  Sun Prairie, WI 53590

  E-Mail:  s.o...@the-aquila-group.com
*


-Original Message-
From: Add Komoncharoensiri [mailto:akomoncharoens...@4d.com] 
Sent: Monday, August 06, 2018 10:42 AM
To: s.o...@the-aquila-group.com; 4D iNug Technical <4d_tech@lists.4d.com>
Subject: Re: LiveDoc Unresponsive

Hi Steve,

http://Doc.4d.com is online and functioning. Please connect to it in the 
meantime while we are sorting out the problem.

Regards,
Add



Add Komoncharoensiri
Director of Technical Services

4D Inc
95 S. Market Street, Suite #240
CA 95113 San Jose
United States

Téléphone : +1-408-557-4600
Standard :  +1-408-557-4600
Fax :   +1-408-271-5080
Email : akomoncharoens...@4d.com
Web :   www.4D.com





On 8/6/18, 8:12 AM, "4D_Tech on behalf of Stephen J. Orth via 4D_Tech" 
<4d_tech-boun...@lists.4d.com on behalf of 4d_tech@lists.4d.com> wrote:

Is the livedoc website served out of France?  I'm unable to reach it.


Steve

*********
  Stephen J. Orth
  The Aquila Group, Inc. Office:  (608) 834-9213
  P.O. Box 690   Mobile:  (608) 347-6447
  Sun Prairie, WI 53590

  E-Mail:  s.o...@the-aquila-group.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
**

LiveDoc Unresponsive

2018-08-06 Thread Stephen J. Orth via 4D_Tech
Is the livedoc website served out of France?  I'm unable to reach it.


Steve

*
  Stephen J. Orth
  The Aquila Group, Inc. Office:  (608) 834-9213
  P.O. Box 690   Mobile:  (608) 347-6447
  Sun Prairie, WI 53590

  E-Mail:  s.o...@the-aquila-group.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
**

Non-Blocking Socket Operation

2018-07-31 Thread Stephen J. Orth via 4D_Tech
Hello,

I received the following message:

 A non-blocking socket operation could not be completed immediately

The line number it referenced was the second line of the following query
statement:

 QUERY([Database_Action];[Database_Action]Action_Code="EMAIL";*)
 QUERY([Database_Action]; & ;[Database_Action]Initiated_Date=!00-00-00!)

I'm assuming 4D was attempting to execute the query, but what is the error
message really saying?  I checked the KB and found nothing.  Unfortunately I
did not have an error handler installed on this method (which I do now) so
was unable to capture any additional information.

Thanks!


Steve

*********
  Stephen J. Orth
  The Aquila Group, Inc. Office:  (608) 834-9213
  P.O. Box 690   Mobile:  (608) 347-6447
  Sun Prairie, WI 53590

  E-Mail:  s.o...@the-aquila-group.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: v13 - debugger, not keeping window settings

2018-07-27 Thread Stephen J. Orth via 4D_Tech
Chip,

I thought there was something like a "Save" button on the debugger screen?  
Have you tried clicking that after you make your adjustments?


Steve

-Original Message-
From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Chip Scheide 
via 4D_Tech
Sent: Friday, July 27, 2018 10:37 AM
To: 4D iNug Technical <4d_tech@lists.4d.com>
Cc: Chip Scheide <4d_o...@pghrepository.org>
Subject: v13 - debugger, not keeping window settings

I generally use only the expression pane of the debugger, with an 
occasional peek into the call chain.

To this end I slide the expression value pane closed, and the call 
chain closed.
recently the debugger has been opening with all the panes set to 
default views.

What (files) do I need to replace/remove?

Thanks
Chip

**
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: picture of a form

2018-07-27 Thread Stephen J. Orth via 4D_Tech
Doug,

I've considered this many times, but have had a couple friends have this go 
seriously wrong.  At this point I'm just too gun-shy because if I had to lose 
any sense I would not want it to be my sight.

I'd rather lose my hearing, then I wouldn't have to listen to all the 
complainers!   ;-)


Steve


-Original Message-
From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Douglas von 
Roeder via 4D_Tech
Sent: Friday, July 27, 2018 10:16 AM
To: 4D iNug Technical <4d_tech@lists.4d.com>
Cc: Douglas von Roeder 
Subject: Re: picture of a form

LASIK  :-)
--
Douglas von Roeder
949-336-2902

**
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: picture of a form

2018-07-27 Thread Stephen J. Orth via 4D_Tech
Chip,

Not sure about you, but this has happened to me more than once.

Completely embarrassing when you do this in front of others.  I'm just so
used to having them on my head, you forget they are there.


Steve


-Original Message-
From: Chip Scheide [mailto:4d_o...@pghrepository.org] 
Sent: Friday, July 27, 2018 8:48 AM
To: 4D iNug Technical <4d_tech@lists.4d.com>
Cc: Stephen Orth ; Randy Jaynes

Subject: Re: picture of a form

have you checked on top of your head?

:)

On Fri, 27 Jul 2018 09:27:02 -0400, Randy Jaynes via 4D_Tech wrote:
> 
> Now if only I could remember where my glasses are.
> 
---
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: collection.min() Returns Null

2018-07-27 Thread Stephen J. Orth via 4D_Tech
Mr. Cannon,

Thanks, it's just weird as it's been happening for several days now, and it
not every message.  Each day it is a selective message the comes in many
times.

I don't get the digest, I receive individual emails.  It almost seems like
one email is getting stuck and Outlook thinks it never downloaded the
message.


Steve

-Original Message-
From: Cannon Smith [mailto:can...@synergyfarmsolutions.com] 
Sent: Friday, July 27, 2018 8:00 AM
To: s.o...@the-aquila-group.com; 4D iNug Technical <4d_tech@lists.4d.com>
Subject: Re: collection.min() Returns Null

Hi Steve,

FWIW, I'm only getting one copy of each message.

--
Cannon Smith


**
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: collection.min() Returns Null

2018-07-27 Thread Stephen J. Orth via 4D_Tech
For the past few days I'm getting multiples of the same message, over and over. 
 Today I received like 15 copies of this message.  Yesterday it was a response 
from Jeff Kain.

Is this happening to anyone else?


Steve

-Original Message-
From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Cannon Smith 
via 4D_Tech
Sent: Thursday, July 26, 2018 8:12 PM
To: 4D iNug Technical <4d_tech@lists.4d.com>
Cc: Cannon Smith 
Subject: Re: collection.min() Returns Null

Hi Miyako,

Perfect! Thanks, that makes sense and works well.

--
Cannon.Smith
Synergy Farm Solutions Inc.
Hill Spring, AB Canada
403-626-3236




> On Jul 26, 2018, at 3:27 PM, Keisuke Miyako via 4D_Tech 
> <4d_tech@lists.4d.com> wrote:
> 
> in your case, you could do something like
> 
> $cTest:=$cTest..filter("remove_null")
> 
> where the project method remove_null is
> 
> C_OBJECT($1)
> 
> $1.result:=($1.value#Null)
> 

**
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: picture of a form

2018-07-26 Thread Stephen J. Orth via 4D_Tech
Randy,

I think its FORM SCREENSHOT


Steve


-Original Message-
From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Randy Jaynes 
via 4D_Tech
Sent: Thursday, July 26, 2018 3:38 PM
To: 4D iNug List <4d_tech@lists.4D.com>
Cc: Randy Jaynes 
Subject: picture of a form

My feeble mind says there is some fairly new command that lets us get a 
‘screenshot’ of the current window or form.

Can’t think of right words to search because I’m not finding anything on KB or 
searching documentation.

Am I off my rocker?

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 


**
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: Anybody know what's going on at Heubach Media?

2018-07-20 Thread Stephen J. Orth via 4D_Tech
Pat,

Wow, I can safely state I've never experienced this with them.  As far as I 
know, there may only be 2 or 3 people in the company, so it's possible 
Christian is on holiday.

Best,


Steve


-Original Message-
From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Pat Bensky via 
4D_Tech
Sent: Friday, July 20, 2018 9:23 AM
To: 4D iNug Technical <4d_tech@lists.4d.com>
Cc: Pat Bensky 
Subject: Anybody know what's going on at Heubach Media?

I ordered an upgrade for HMBarcode 3 days ago and despite numerous phone
calls and emails I haven't received my licence number. Nobody responds to
any emails and the person who answers the phone is becoming increasingly
impatient and downright rude!

I'm getting desperate as I can't deploy my latest version!
Anybody have any inside info? What's going on over there?

And secondly ...
Anybody know of an alternative to HMBarcode?

Thanks

Pat

**
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: Stackoverflow - was Who's ...

2018-07-20 Thread Stephen J. Orth via 4D_Tech
Personally I prefer "going to" the forum as I don't want my Inbox flooded, plus 
believe the web is a better experience than my Inbox.


Steve


-Original Message-
From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Chip Scheide 
via 4D_Tech
Sent: Friday, July 20, 2018 8:39 AM
To: 4D iNug Technical <4d_tech@lists.4d.com>
Cc: Chip Scheide <4d_o...@pghrepository.org>
Subject: Stackoverflow - was Who's ...

it has the a similar problem to the 4D forum
it is a web based, forum which we have to go to rather then it coming 
to use (email)

**
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: What do you use to monitor your offsite servers?

2018-07-17 Thread Stephen J. Orth via 4D_Tech
Tom,

This is exactly one of the primary problems with RD.  We have been using Solar 
Winds Mini-Remote Control for years and love the product.  Fully supports 
Windows authentication, and provides many great options.

However, as it always seems to be with Corp IT, they don't like anything except 
RD even though they don't understand how it works.


Steve


-Original Message-
From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Benedict, Tom 
via 4D_Tech
Sent: Tuesday, July 17, 2018 7:52 AM
To: 4d_tech@lists.4d.com
Cc: Benedict, Tom 
Subject: Re: What do you use to monitor your offsite servers?

We have a number of 4D Servers which we run under a dedicated Windows Account. 
We use the same Windows Account to run all Production Servers on all machines. 
If someone needs to monitor the server they can do that via RDC using that 
Windows Account. That avoids any session confusion. However, it doesn't allow 
multiple users to monitor the same session and, since we run 4D Server from the 
desktop, rather than as a Windows Service, it also exposes the risk of the user 
accidentally 'logging off' instead of 'disconnecting' which causes 4D Server to 
quit. For these reasons we use RealVNC to monitor all servers, which is simply 
a screen sharing app.

Tom Benedict

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
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: ​Re: What do you use to monitor your offsite servers?

2018-07-16 Thread Stephen J. Orth via 4D_Tech
Tim,

Yes, your suggestion is good, if people would take the effort to do that.  Our 
users do not, and hence cause all kinds of problems, which then we have to 
correct.

Education is great, if people would simply listen.  I have a couple of signs in 
my office:

 1.  I can explain it to you, but I cannot learn it for you.

 2. Can't fix stupid

You take your pick into which category this falls into.

Best,


Steve


-Original Message-
From: Timothy Penner [mailto:tpen...@4d.com] 
Sent: Monday, July 16, 2018 2:42 PM
To: s.o...@the-aquila-group.com; '4D iNug Technical' <4d_tech@lists.4d.com>
Subject: RE: ​Re: What do you use to monitor your offsite servers?

The issue as I understand it is this; Windows Server allows you to have 
multiple sessions for users concurrently logged in. This can be confusing when 
multiple people connect expecting to administer the same desktop, but instead 
of seeing a shared desktop they get their own desktop in their own session, 
even though the app they are looking to administer (4D) is running  in another 
user session. To correct this they must be aware of the session they are 
currently connected to and aware of the session that is running the app they 
want to administer.

If the latest version of Windows Server no longer uses the concept of the 
console session then I would still suggest using the Task Manager to view the 
"Users" tab to determine whether or not another windows session exists.
Then, from the users tab of the Task Manager you can expand the list of 
processes on a per user session basis, this allows you to see if 4D is running 
under any of the existing sessions.
If you see 4D running under an existing user session, you could then 
right-click on the user name and choose "Connect" to control that session.

-Tim


Timothy Penner
Senior Technical Services Engineer


**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
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: ​Re: What do you use to monitor your offsite servers?

2018-07-16 Thread Stephen J. Orth via 4D_Tech
Tim,

I don't believe on the latest version you can connect to the console anymore, 
which is why we are having issues with RD.


Steve


-Original Message-
From: Timothy Penner [mailto:tpen...@4d.com] 
Sent: Monday, July 16, 2018 2:21 PM
To: s.o...@the-aquila-group.com; 4D iNug Technical <4d_tech@lists.4d.com>
Subject: RE: ​Re: What do you use to monitor your offsite servers?

Quote:
> Just don't use RD in an environment you don't control because it does not 
> launch to the console, it creates a new session.  If you have multiple people 
> accessing the same system, they all have their own sessions and it creates 
> all kinds of problems.

You need to make sure the users connect to the admin console...

There are a number of ways of doing this:
https://support.microsoft.com/en-us/help/278845/how-to-connect-to-and-shadow-the-console-session-with-windows-server-2
https://www.veritas.com/support/en_US/article.HOWTO55885

I usually just bring up the task manager, view the Users tab, then right click 
on the user that session of the console and choose "connect".

-Tim



Timothy Penner
Senior Technical Services Engineer


**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
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: ​Re: What do you use to monitor your offsite servers?

2018-07-16 Thread Stephen J. Orth via 4D_Tech
Just don't use RD in an environment you don't control because it does not 
launch to the console, it creates a new session.  If you have multiple people 
accessing the same system, they all have their own sessions and it creates all 
kinds of problems.


Steve

-Original Message-
From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Charles Miller 
via 4D_Tech
Sent: Monday, July 16, 2018 2:04 PM
To: 4D iNug Technical <4d_tech@lists.4d.com>
Cc: Charles Miller 
Subject: Re: ​Re: What do you use to monitor your offsite servers?

I like this as well

Regards


Chuck


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

Web Service Properties?

2018-07-16 Thread Stephen J. Orth via 4D_Tech
Looking for some input/advice.

I have a customer who wants us to embed login credentials as part of our web
service call back to them.  We have already dealt with this in the past,
building a special "header" to embed this information into.

I mentioned this and they responded with:

 Login Credentials need not be a part of WS header.
 We would use a basic login mechanism using ID/Password.

Does anyone have a clue what they mean, and how to accomplish this?

They sent me a screen shot from SOAPUI with the XML payload, but off to the
side they have a SOAPUI property box showing there they put the login
credentials.

Is there any information on how to accomplish this and if it can even be
accomplished?

Thanks!


Steve

*****
  Stephen J. Orth
  The Aquila Group, Inc. Office:  (608) 834-9213
  P.O. Box 690   Mobile:  (608) 347-6447
  Sun Prairie, WI 53590

  E-Mail:  s.o...@the-aquila-group.com
*


**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
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: Who’s the Gestapo?

2018-07-16 Thread Stephen J. Orth via 4D_Tech
Steve,

 I also use Outlook and typically see all my posts.  However the times when I 
have not is because I did not send them as "text" but instead as "html".  
Outlook by default won't send it as "text" so you really should change it to 
that before sending.

Just a thought...


Steve


-Original Message-
From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Steve Makohin 
via 4D_Tech
Sent: Monday, July 16, 2018 3:05 AM
To: '4D iNug Technical' <4d_tech@lists.4d.com>
Cc: Steve Makohin 
Subject: RE: Who’s the Gestapo?

I post to this list from Outlook. I have no idea why, by my original post 
doesn't *seem* to appear in the list. In other words, I don't get an email from 
the list showing my original post. Curious. I can't explain it. (Not a problem 
for me)

This *might* give someone the impression that they're being censored, or that 
there's a technical problem that prevents their posts from showing up on the 
list.

However, I do get replies from the list, indicating my original post did make 
it to the list, even though I didn't see it.

-Steve Makohin
 Water's Edge Software

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
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)
FAQ:  http://lists.4d.com/faqnug.html
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: Execute on Server Method Attribute

2018-07-14 Thread Stephen J. Orth via 4D_Tech
Doug,

Thanks, that is the approach I'm taking now...

We will see.


Steve


-Original Message-
From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Douglas von 
Roeder via 4D_Tech
Sent: Saturday, July 14, 2018 3:26 PM
To: 4D iNug Technical <4d_tech@lists.4d.com>
Cc: Douglas von Roeder 
Subject: Re: Execute on Server Method Attribute

Steve:

Try "bottom up" construction of the method.

Create a method and get it to work with the most simple function. Then,
incrementally add the code from the existing method. Don't copy and paste
from the existing method — retype the code (that's based on a concern about
"gremlins in the method").

--
Douglas von Roeder
949-336-2902

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
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: Execute on Server Method Attribute

2018-07-14 Thread Stephen J. Orth via 4D_Tech
Tim,

Hey, hope all is going well with you!

I've done all this and having no luck.  I've written many methods that use the 
EOS attribute, this is the first time I've run into any issue.


Steve


-Original Message-
From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Tim Nevels via 
4D_Tech
Sent: Saturday, July 14, 2018 2:08 PM
To: 4d_tech@lists.4d.com
Cc: Tim Nevels 
Subject: Re: Execute on Server Method Attribute

I would start simple. First be sure to declare the parameters with compiler 
directives. 

Then modify the method to only use a single text parameter. Change the 
parameter declarations too. Just for testing purposes. Test it. If it does not 
generate an error with 1 parameter, add a second parameter and test again. 

Tim

Sent from my iPad

On Jul 14, 2018, at 2:00 PM, Stephen J. Orth wrote:

> I'm completely confused...
> 
> No matter how I send the parameters (pointer, variable, text string) into
> this method with the EOS attribute enabled, Server is complaining that I'm
> accessing a parameter that does not exist.
> 
> I've looked at the documentation and my method follows exactly what is
> outlined, so why is Server having an issue running this method?
> 
> Any input is GREATLY appreciated!!!

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
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: Execute on Server Method Attribute

2018-07-14 Thread Stephen J. Orth via 4D_Tech
I'm completely confused...

No matter how I send the parameters (pointer, variable, text string) into
this method with the EOS attribute enabled, Server is complaining that I'm
accessing a parameter that does not exist.

I've looked at the documentation and my method follows exactly what is
outlined, so why is Server having an issue running this method?

Any input is GREATLY appreciated!!!


Steve

-Original Message-
From: Stephen J. Orth [mailto:s.o...@the-aquila-group.com] 
Sent: Saturday, July 14, 2018 9:13 AM
To: 4D iNug Technical (4d_tech@lists.4D.com) <4d_tech@lists.4D.com>
Subject: Execute on Server Method Attribute

I'm struggling with designating a method to run on the server.  The method
has 9 parameters which are passed to it:

 1. Text Variable
 2. Date Variable
 3. Time (Long) Variable
 4. Date Variable
 5. Time (Long) Variable
 6. Pointer To Array
 7. Pointer To Array
 8. Pointer To Array
 9. Pointer To Array

When the method is called and executed on the Server, I'm getting an error:

 Accessing a parameter that does not exist

If I turn off the EOS attribute, the method runs fine, so what am I missing
here and why can't the server access the parameters I'm passing?

BTW, this is V16.3 running compiled...

Thanks in advance!

Best,


Steve


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

Execute on Server Method Attribute

2018-07-14 Thread Stephen J. Orth via 4D_Tech
I'm struggling with designating a method to run on the server.  The method
has 9 parameters which are passed to it:

 1. Text Variable
 2. Date Variable
 3. Time (Long) Variable
 4. Date Variable
 5. Time (Long) Variable
 6. Pointer To Array
 7. Pointer To Array
 8. Pointer To Array
 9. Pointer To Array

When the method is called and executed on the Server, I'm getting an error:

 Accessing a parameter that does not exist

If I turn off the EOS attribute, the method runs fine, so what am I missing
here and why can't the server access the parameters I'm passing?

BTW, this is V16.3 running compiled...

Thanks in advance!

Best,


Steve

*
  Stephen J. Orth
  The Aquila Group, Inc. Office:  (608) 834-9213
  P.O. Box 690   Mobile:  (608) 347-6447
  Sun Prairie, WI 53590

  E-Mail:  s.o...@the-aquila-group.com
*


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

  1   2   >