Re: Microsoft Azure & 4D

2019-07-20 Thread JOHN BAUGHMAN via 4D_Tech
the specifics. > > On Fri, Jul 19, 2019 at 3:33 PM JOHN BAUGHMAN via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > >> I have a deployed database that is currently using AWS. We have 200gb of >> PDFs stored on the same machine as 4D server. A Xojo Web App displays the >&g

Microsoft Azure & 4D

2019-07-19 Thread JOHN BAUGHMAN via 4D_Tech
I have a deployed database that is currently using AWS. We have 200gb of PDFs stored on the same machine as 4D server. A Xojo Web App displays the available PDFs, when the end user requests one of the PDFs Xojo sends the request to 4D and 4D returns the PDF. At the present time we are using

Re: Windows Server 2012 & 4D Server v17.2

2019-07-19 Thread JOHN BAUGHMAN via 4D_Tech
Have the clients tried connecting using a Custom address… 192.16..1.150:19813 for example? I have found that for some of my windows installations This was necessary to make a connection, after which the recent connection created can be used. John John Baughman Kailua, Hawaii (808) 262-0328

Get System Info vs PLATFORM PROPERTIES

2019-07-14 Thread JOHN BAUGHMAN via 4D_Tech
So PLATFORM PROPERTIES has been deprecated in favor of Get System Info. Get System Info is far ore informative, but am I the only one finding the text values of some of the properties near impossible to work with in a consistent manner across multiple platforms? Specifically osVersion and

Importing from camera

2019-07-07 Thread JOHN BAUGHMAN via 4D_Tech
What options are there, native or otherwise, for importing pictures directly from a camera? Thanks, John John Baughman Kailua, Hawaii (808) 262-0328 john...@hawaii.rr.com ** 4D Internet Users Group (4D iNUG) Archive:

Re: Indexing taking a log time to reindex

2019-06-26 Thread JOHN BAUGHMAN via 4D_Tech
> perhaps the reindexing of the 250k table has saturated the cache, leaving > little space the smaller table. > > FLUSH CACHE (FLUSH BUFFERS) with the * could be used to purge objects from > the cache, if that's the case. Miyako, I think you may have a point as the problem table

Indexing taking a log time to reindex

2019-06-26 Thread JOHN BAUGHMAN via 4D_Tech
We have been having major thuderstorms on the Islands these last couple of days, and after a second power outage at one of my client sites their database had to be recovered from backup. I had problems with the log file, but eventually got it back up and the log file integrated. In the

Re: Rotate Picture

2019-06-22 Thread JOHN BAUGHMAN via 4D_Tech
h-$lHeight)/2)) > DOM SET XML > ATTRIBUTE($svgRef;"height";String($lWidth);"width";String($lHeight)) > Else //180 > SVG_SET_TRANSFORM_ROTATE ($imageRef;$rDegrees;($lWidth/2);($lHeight/2)) > End if > > $0:=SVG_Export_to_picture ($svgRef) >

Rotate Picture

2019-06-22 Thread JOHN BAUGHMAN via 4D_Tech
Is it possible to rotate a picture using native 4D commands? Google search finds references to Miyako’s rotate picture component, SVG, GitHub, etc. I do not see any way to do it with Transform Picture. If not 4D commands, what is the quickest and easiest way to rotate a picture in a picture

HTTP connection to 4D server thru Mac FIrewall

2019-06-22 Thread JOHN BAUGHMAN via 4D_Tech
Client wants to turn on the firewall on the 4D server machine. We have an iOS app that requests data from the 4D server which stops connecting with the FireWall on. I tried adding 4D server to the allowed apps in Advanced setting of the Firewall. I also have a Xojo web app that works, but it

HTTP connection to 4D server thru Mac FIrewall

2019-06-22 Thread JOHN BAUGHMAN via 4D_Tech
Client wants to turn on the firewall on the 4D server machine. We have an iOS app that requests data from the 4D server which stops connecting with the FireWall on. I tried adding 4D server to the allowed apps in Advanced setting of the Firewall. I also have a Xojo web app that works, but it

Re: [Tip]Set Query Destination

2019-06-21 Thread JOHN BAUGHMAN via 4D_Tech
I use a macro whenever I call SET QUERY DESTINATION… SET QUERY DESTINATION(;) SET QUERY DESTINATION(Into current selection) So if I write… Query([Patient];[Patient]Dentist_Name="John Baughman") Then realize I need to a query destination other than the current selection I highlight the

V17 current release vs R-release

2019-06-15 Thread JOHN BAUGHMAN via 4D_Tech
I have been doing an upgrade to v17 64bit for a client and working using the latest R release. I am having second thoughts about deploying the R-release version. I see that I can open the structure no problem with v17.2. Any thoughts with regard to the soundness of deploying a structure that

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

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

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

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

Re: v15 to v17 Conversion of Obsolete _o_C_STRING/_o_ARRAY STRING Commands

2019-06-07 Thread JOHN BAUGHMAN via 4D_Tech
> On Jun 7, 2019, at 6:02 AM, Chip Scheide via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > - Run compiler, fix individual errors, or notice sizes you missed above > and do global replaces using C_Text(; -> C_Text( Rather than rerunning the compiler… 1. Find In Design for

Re: Zip Code API sites - Follow up

2019-06-04 Thread JOHN BAUGHMAN via 4D_Tech
ssing > something (not unusual) it’s not zipcodeapi.com <http://zipcodeapi.com/> > (your first link) which has UK codes, but zippopotam.us > <http://zippopotam.us/> (your second). > > Jeremy > >> On 3 Jun 2019, at 20:23, JOHN BAUGHMAN via

Re: Zip Code API sites - Follow up

2019-06-03 Thread JOHN BAUGHMAN via 4D_Tech
Jermy, Zipcodeapi.com has an API for Great Britain. Look at the list of countries near the bottom of the page. Example URLs are shown in th list. Here is a sample 4D call… $url:="http://api.zippopotam.us/GB/“+vZip. //AB1 for example HTTP

Zip Code API sites - Follow up

2019-06-03 Thread JOHN BAUGHMAN via 4D_Tech
Should someone in the future be looking for a Zip Code lookup api, here is what I found… https://www.zipcodeapi.com Includes… City, State Abbreviation, Time Zone, Daylight Savings, Latitude, Longitude. (US Only) Free limits…. 10/hour, 240/day Application registration required

Re: Invalid JSON? - solved

2019-06-03 Thread JOHN BAUGHMAN via 4D_Tech
)#"{") Repeat $Response:=Delete string($Response;1;1) Until (Substring($Response;1;1)="{") | ($Response="") End if John > On Jun 2, 2019, at 3:05 PM, JOHN BAUGHMAN via 4D_Tech <4d_tech@lists.4d.com> > wrote: > &g

Re: Invalid JSON?

2019-06-02 Thread JOHN BAUGHMAN via 4D_Tech
ou pass a C_TEXT to HTTP Request? > > you might want to use a BLOB, > then Convert to text (which will get rid of the BOM), > then parse. > > 2019/06/03 10:05、JOHN BAUGHMAN via 4D_Tech > <4d_tech@lists.4d.com<mailto:4d_tech@lists.4d.c

Re: Invalid JSON?

2019-06-02 Thread JOHN BAUGHMAN via 4D_Tech
> wrote: > > What version of 4D? JSON Parse on what you provided below does not throw an > error with 4D 17.1. > > John DeSoi, Ph.D. > > > >> On Jun 2, 2019, at 8:05 PM, JOHN BAUGHMAN via 4D_Tech <4d_tech@lists.4d.com> >> wrote

Invalid JSON?

2019-06-02 Thread JOHN BAUGHMAN via 4D_Tech
I am getting the following from zip-codes.com… { "item": { "ID": "77252", "Medicare_Rating_Area_ID": "1" } } The list under item: s much much longer. If I use JASON Parse it throws an error…. JSON malformed in line 1, position 1 If I run

Re: Anyone using zipcodeapi

2019-06-02 Thread JOHN BAUGHMAN via 4D_Tech
> If the website is returning JSON, if you can just pass $oResponse instead of > $response and 4D will do the "JSON Parse” for you automatically. Tim, thanks. At first I did not understand, but got it now... C_OBJECT($oResponse) HTTP Request(HTTP GET

Re: Anyone using zipcodeapi

2019-06-02 Thread JOHN BAUGHMAN via 4D_Tech
are extremely helpful and friendly. > > I looked at the website for zicodeapi.com and notice the service is less > expensive and offers a number of APIs for working with zip codes. It's a > solid suggestion. > > > On Sat, Jun 1, 2019 at 10:06 PM JOHN BAUGHMAN via 4D_Tech < > 4

Re: Anyone using zipcodeapi

2019-06-01 Thread JOHN BAUGHMAN via 4D_Tech
OHN BAUGHMAN via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Is anyone using zipcodeapi.com <http://zipcodeapi.com/> to fill in city and > state fields in a 4D database? Would you be willing to share your code? > > Thanks, > > John > > > John B

Anyone using zipcodeapi

2019-06-01 Thread JOHN BAUGHMAN via 4D_Tech
Is anyone using zipcodeapi.com to fill in city and state fields in a 4D database? Would you be willing to share your code? Thanks, John John Baughman Kailua, Hawaii (808) 262-0328 john...@hawaii.rr.com

ZipCenter... a blast from the past.

2019-06-01 Thread JOHN BAUGHMAN via 4D_Tech
Anyone besides me using ZipCenter? It has worked great for me through all these years but the license I have fails now when running 64bit 16R6. ASG distributed it but ASG is no more, and David Adams who I believe wrote it does not have a clue about licensing aspects, which I am guessing

Re: V17R3 vs PowerShell

2019-06-01 Thread JOHN BAUGHMAN via 4D_Tech
Aloha Keith, > The reason that you think the 64-bit PowerShell is working is because > actually the 32-bit PowerShell is still being used. > > When a 32-bit application (in this case 4D) accesses the system32 directory, > those accesses are automatically redirected to the SysWow64 directory. >

Re: V17R3 vs PowerShell

2019-05-31 Thread JOHN BAUGHMAN via 4D_Tech
> On May 30, 2019, at 10:13 PM, Keisuke Miyako via 4D_Tech > <4d_tech@lists.4d.com> wrote: > >> QBXMLRP2.RequestProcessor > > > is the QB SDK based on COM / OLE ? Yes. > but it does sound like the SDK is not installed in the client having a > problem. > perhaps OLEVIEW.EXE could

Re: V17R3 vs PowerShell

2019-05-31 Thread JOHN BAUGHMAN via 4D_Tech
> On May 30, 2019, at 9:40 PM, Epperlein, Lutz (agendo) > wrote: > > we use Powershell a lot, even in conjunction with 4D. But we never divide > between 32bit and 46bit-Powershell. Since you use the Powershell via LAUNCH > EXTERNEL PROCESS (LEP) the architecture (bitness) of the Powershell

Re: V17R3 vs PowerShell

2019-05-30 Thread JOHN BAUGHMAN via 4D_Tech
Not sure anyone is interested, but after a lot of research on line it appears that 64bit version of Powershell cannot call a 32bit dl and vice versa. This does not match the results I am getting with v17R3. In my previous post I left out that . 4D client is running on a 64bit Windows 10

Re: V17R3 vs PowerShell

2019-05-30 Thread JOHN BAUGHMAN via 4D_Tech
Oooops. Just noticed an error in the code I posted. The case statement should have read On May 29, 2019, at 7:12 PM, JOHN BAUGHMAN wrote: Case of : (32bit PowerShell). //pseudo code. $FilePath:="C:\\Windows\\sysWoW64\\WindowsPowerShell\\v1.0\\powershell.exe -file

Re: V17R3 vs PowerShell

2019-05-29 Thread JOHN BAUGHMAN via 4D_Tech
I ran the PS scrip in the 64bit PowerShell ISE and I am getting the error… 80040154 Class not registered Googling this tells me that this is the result of 64bit PowerShell balking at calling a 32bit COM object. I wonder, however, why when run from a 32 bit 4D Client the same

V17R3 vs PowerShell

2019-05-29 Thread JOHN BAUGHMAN via 4D_Tech
Anyone using PowerShell on Windows 10 out there? Maybe you can help me figure this out. I am upgrading an old v13 database to v17. My ultimate goal is to have everything run-in 64bit. The database talks to QuickBooks on a Windows 10 machine using an XML stream in a Powershell script file

Re: 4D Write Pro: License or privilege error

2019-05-22 Thread JOHN BAUGHMAN via 4D_Tech
Thumbs up for VirtualBox. After using VMWare for few years and then Parallels for a few more, I discovered VirtualBox and have never looked back. Unlike the other 2, I have virtually (no pun intended) had zero issues to deal with. It just woks. John > On May 22, 2019, at 10:29 AM, John J

Error Can't load component "Foundation_560.4DC".

2019-05-20 Thread JOHN BAUGHMAN via 4D_Tech
I am trying to upgrade a v13 database to v17 and am taking it first to v14. I am working on a Mac but it is deployed on Windows 10. I have it upgraded on the Mac with everything working including the PKUID fields. I plan to test each upgrade step in Windows. After moving the v14 upgrade over

Re: Managing 4D Server as a service

2019-05-11 Thread JOHN BAUGHMAN via 4D_Tech
Got it working. The fix was to use the Admin account in the Log On tab. That also fixed the Xojo WebApp. The fix did take until the server machine was restarted. I also opened 4D server and database as Administrator before restarting the computer. Looks like Interactive desktop only works with

Re: Managing 4D Server as a service

2019-05-10 Thread JOHN BAUGHMAN via 4D_Tech
> On May 10, 2019, at 3:50 AM, Tim Nevels via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > But be warned that you may still run into an issue with how you “Log on as:” > in the “Log on” tab in the Services dialog for 4D Server in the Services > window. 4D or Microsoft changed something and I

Re: Managing 4D Server as a service

2019-05-10 Thread JOHN BAUGHMAN via 4D_Tech
Well, last night I tried to start the service on the client’s production machine and I could not get it to work. After registering the service from 4D server, I tried starting the service from the Service Manager and it indicated that it had started up but I was unable to establish a

Re: Managing 4D Server as a service

2019-05-09 Thread JOHN BAUGHMAN via 4D_Tech
Tim, thank you for that most informative post. It really helps. I will be switching my client's 4D Server to a service later this evening for the first time. After reading your post I feel far more confident going forward. > On May 9, 2019, at 11:25 AM, Tim Nevels via 4D_Tech

Managing 4D Server as a service

2019-05-09 Thread JOHN BAUGHMAN via 4D_Tech
I am new to this and am wondering how does one manage a 4D Server running as a service. If, for example, the server throws an error there is no way to see the error. I guess what I am asking is to confirm that there is no way to see the server gui while it is running as a service. Also, I am

Re: Error code 183(W132)

2019-03-14 Thread JOHN BAUGHMAN via 4D_Tech
Sorry, forgot… Windows Server 2008 R2 Enterprise Service Pac 1 V16R6 64bit > On Mar 14, 2019, at 4:27 AM, Chip Scheide <4d_o...@pghrepository.org> wrote: > > platform and version? > > On Wed, 13 Mar 2019 18:24:57 -1000, JOHN BAUGHMAN via 4D_Tech wrote: >> One o

Error code 183(W132)

2019-03-13 Thread JOHN BAUGHMAN via 4D_Tech
One of my deployed 4D server has suddenly started throwing this error (see below). When the error is being displayed 4D server is not visible. When the ok button is clicked 4D server becomes visible. A quick google search finds some discussion about this error independent of 4D and one

Re: Replacement Code for very old DisplayList plugin

2019-01-07 Thread JOHN BAUGHMAN via 4D_Tech
If AreaListPro is the same price and if it is the same as the old DisplayList plugin then that would certainly be the easiest approach. The question for me would be whether I prefer to use a component of plugin. For me the component. > On Jan 7, 2019, at 10:34 AM, JOHN BAUGHMAN via 4D_T

Re: Replacement Code for very old DisplayList plugin

2019-01-07 Thread JOHN BAUGHMAN via 4D_Tech
ww.e-node.net/alp > > Best regards, > -- > Phil > > > >> On 7 Jan 2019, at 01:17, JOHN BAUGHMAN via 4D_Tech <4d_tech@lists.4d.com> >> wrote: >> >> Tony Ringsmuth, http://bbsp.com, has an excellent component called >> DisplayList4D

Re: Replacement Code for very old DisplayList plugin

2019-01-06 Thread JOHN BAUGHMAN via 4D_Tech
Tony Ringsmuth, http://bbsp.com, has an excellent component called DisplayList4D ($99.00 if you like it). John John Baughman 1331 Auwaiku Street Kailua, Hawaii 96734 (808) 262-0328 john...@hawaii.rr.com > On Jan 6, 2019, at 1:05 PM, Walt Nelson via 4D_Tech <4d_tech@lists.4d.com> > wrote: >

Re: Converting pictures

2018-12-28 Thread JOHN BAUGHMAN via 4D_Tech
What I did was cut each picture off the form to the pasteboard run the following code then paste it back into the form… C_PICTURE($picture_c) GET PICTURE FROM PASTEBOARD($picture_c) // convert the picture CONVERT PICTURE($picture_c;".png") // make all white pixels transparent TRANSFORM

Re: 4D Mojave full disk access

2018-12-03 Thread JOHN BAUGHMAN via 4D_Tech
wdc2018/702 > > see slide #22 for full list > > 2018/12/04 5:49、JOHN BAUGHMAN via 4D_Tech > <4d_tech@lists.4d.com<mailto:4d_tech@lists.4d.com>>のメール: > does one still have access to and remain able to create and move files within >

Re: 4D Mojave full disk access

2018-12-03 Thread JOHN BAUGHMAN via 4D_Tech
Armin, Not sure what a DMS folder is, but does one still have access to and remain able to create and move files within the database folder? What about 4D Backup to an external disk? Perhaps your code should be implemented just as a normal practice regardless. John John

Re: 4D Mojave full disk access

2018-12-03 Thread JOHN BAUGHMAN via 4D_Tech
Armin, Thanks! Could you expand on what you mean by “full disk access”? In Mojave what becomes inaccessible? John > On Dec 3, 2018, at 3:38 AM, ADeeg via 4D_Tech <4d_tech@lists.4d.com> wrote: > > Hi, > > if your app needs full disk access an macOS 10.14.x Mojave and

Re: Publishing a DB on the WWW. Howto.

2018-12-03 Thread JOHN BAUGHMAN via 4D_Tech
Nolan, As others have pointed out, you have lots of ways to go. I use Xojo (xojo.com ) to create web apps to talk to 4D using much of what you will find in David Adam’s book “4D Web Companion”. I did a demo of what I am doing at a 4DMethod meeting recently which you

Re: Mojave

2018-11-30 Thread John Baughman via 4D_Tech
I had to convert all my pict format graphics, static and in the picture library. Otherwise 4D would crash when a form containing one or more of them was displayed. 16R6.. client is experimenting with a couple of clients running Mojave. So far no complaints since fixing the pics. Not tried

Re: TAOW (Mojave and CREATE THUMBNAIL)

2018-11-26 Thread JOHN BAUGHMAN via 4D_Tech
Thanks Keisuke. So I must be going to the wrong place to see the bug list. I always end up at taow.4d.com but only see my support cases. I thought I could search the TAOW for reported issues before reporting my own. Is this not the case? If not, how? Thanks, John > On Nov 25, 2018, at

TAOW (Mojave and CREATE THUMBNAIL)

2018-11-24 Thread JOHN BAUGHMAN via 4D_Tech
I want to see if this has already been reported but don’t see how to search for existing cases about Mac OS 10.14 in the TAOW. Running 10.14.1 with 16R6 if I do… CREATE THUMBNAIL($ImagePtr->;vThumbnail;98;120) vThumbnail displays slanted to the left with what looks like multiple

Re: Resource Pictures

2018-11-23 Thread JOHN BAUGHMAN via 4D_Tech
Another note to Keisuke’s instructions. You cannot just change the number. After doing the first one as Keisuke described manualyl, the name and negative number must be replaced by just the new positive number. 1. Change one of the objects manually to a static picture an back to a

Re: Resource Pictures

2018-11-23 Thread JOHN BAUGHMAN via 4D_Tech
Keisuke, Thank you! Your instructions worked well. One thing to note is that the first (only one so far) that I updated this way changed the icon. The name of the picture is "Separateur vertical Mac” and was a small solid grey vertical line. It is now a dotted line. No problem, but I will have

Re: Resource Pictures

2018-11-23 Thread JOHN BAUGHMAN via 4D_Tech
Along the same line as my first question, I have 4 picture buttons that use the same Resource file. The property lists a resource ID, no name. I am pretty sure that the picture is a mask. I use these as movable guidelines over a photo for cropping in a QPix image area. I learned how to do this

Resource Pictures

2018-11-22 Thread JOHN BAUGHMAN via 4D_Tech
I am going through a database in preparation for going to 64bi deployment and fixing all the pictures. Where do I find a picture resource listed in the Property list as… Image titre liste/-2082 I should know this. ;-( Thanks, John John Baughman Kailua, Hawaii (808) 262-0328

Re: 4D v17 & macOS Mojave beta

2018-10-25 Thread JOHN BAUGHMAN via 4D_Tech
One of my client’s decided to upgrade a computer to Mojave and reported that 4D was creating. I think I have narrowed down the problem at least for my application. It looks like any form that has static pictures or maybe even picture buttons causes 4D to crash both in the design environment as

Re: [ANN] Q2Pix 1.0b2 available

2018-10-25 Thread JOHN BAUGHMAN via 4D_Tech
Ooops, This was meant to be a private message to Escape support, but I guess it could be a general question about why a picture created on an iPhone (HAIF) converted to jpeg by the OS in an Airdrop transfer may not be the same as a jpeg saved directly to the computer from a digital camera? At

Re: [ANN] Q2Pix 1.0b2 available

2018-10-25 Thread JOHN BAUGHMAN via 4D_Tech
Hi Danis, I am running in to a strange problem with QPix (3.7b2 and 4D v16R6 Client/Server on Mac OS 10.13.6). The following is returning error -50, Parameter Error… $eror:=QPx_SetAreaPicture (eQPixEdit;aPicturesToEditPtr{aPictureThumbs}->) This

Re: v13 - Why does this query not work?

2018-10-24 Thread JOHN BAUGHMAN via 4D_Tech
Chip, I may be wrong but I don’t think you can query a table based on a many table relation. I would… RELATE MANY SELECTION([BnchProt_File_Link]Bench_Protocol_ID) RELATE ONE SELECTION( [BnchProt_File_Link];[Bench_Protocols] ) John John Baughman Kailua, Hawaii (808)

Re: Longing IDs or UUIDs as primary key?

2018-10-24 Thread John Baughman via 4D_Tech
It made no sense to me to abandon my longint primary keys used for relational integrity and uniqueness in a long standing system when 4D would automatically establish and maintain a new UUID primary key for the purposes of replication and sharing right along side my working longint field.

Re: Mac OS 10.14 Mojave and 4D 15

2018-10-20 Thread JOHN BAUGHMAN via 4D_Tech
Kirk, I highly recommend Oracle VirtualBox it’s FREE and I have found it far easier to setup and maintain than either VMWAre or Parallels. Oracle does a great job of keeping it updated. Just had an update this morning. I am currently running Windows 2008 Server 32bit and

List Box Font Color Expression, how?

2018-10-10 Thread JOHN BAUGHMAN via 4D_Tech
In a Selection based list box how do you set a row font color based on a condition such as if records in a related many table exist or not. I would like to set the font color for the row to red if the related many table has records and black if it does not. I see that a method entered in Font

Re: Pictures Outside Datafile - Calculate Path

2018-10-05 Thread JOHN BAUGHMAN via 4D_Tech
The only way I know of is to force a save of the record then look for a file with the latest modified date. That is one of the reasons I switched to Custom Mode. The primary reason I switched, however, is that otherwise the external folder is included in 4D Backup. In our case the external

Re: WS SEND BLOB encoding? - never mind

2018-09-03 Thread JOHN BAUGHMAN via 4D_Tech
4D was returning an error ousted of the blob due to a typo in the request. I have it working now. One letter can sure waste a lot of one’s time. John John Baughman 1331 Auwaiku Street Kailua, Hawaii 96734 (808) 262-0328 john...@hawaii.rr.com > On Sep 2, 2018, at 8:26 AM, JOHN BAUGHMAN

WS SEND BLOB encoding?

2018-09-02 Thread JOHN BAUGHMAN via 4D_Tech
I have a Web App running on the same machine as 4D Sever and all requests to 4D are done over localhost. I am currently displaying PDFs by having the Web App get the path to the pdf file from 4D then serve the file to it’s viewer in the browser. This all works fine, but after some testing have

Re: 4D Write Pro WP feature request - need your support

2018-08-29 Thread JOHN BAUGHMAN via 4D_Tech
I found an example of how to do it int he WrtieLike tool bar code. John > On Aug 29, 2018, at 9:45 AM, John Baughman via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > I gave up trying to convert write documents to Pro reliably. Fortunately for > me with a few exceptio

Re: 4D Write Pro WP feature request - need your support

2018-08-29 Thread John Baughman via 4D_Tech
I gave up trying to convert write documents to Pro reliably. Fortunately for me with a few exceptions the existing write documents are not supposed to be modifiable so I decided to convert them to PDFs. New documents going forward will be pro only. John Baughman Kailua, Hawaii

Re: Check mark strangeness

2018-08-23 Thread JOHN BAUGHMAN via 4D_Tech
ech <4d_tech@lists.4d.com> > wrote: > > I think we fixed this in our application a long time ago by checking the > compatibility setting to save methods as Unicode. > > > -- > Jeffrey Kain > jeffrey.k...@gmail.com > > > > >> On Aug 22, 2018, at

Re: Check mark strangeness

2018-08-22 Thread JOHN BAUGHMAN via 4D_Tech
t 5:56 PM, JOHN BAUGHMAN via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > For many years now I have been using a check mark, option-v on a Mac, to flag > a particular field. Today while working on a web site that was consuming that > field the site the field crashed th

Check mark strangeness

2018-08-22 Thread JOHN BAUGHMAN via 4D_Tech
For many years now I have been using a check mark, option-v on a Mac, to flag a particular field. Today while working on a web site that was consuming that field the site the field crashed the site when it contained the check mark. When I traced it I discovered that the field in the debugger

Re: 4d Write fonts missing

2018-08-17 Thread JOHN BAUGHMAN via 4D_Tech
s/mac-operating-systems/install-fonts-manually-macos-sierra/ >> AxelKohlepp®2015 >> Best regards >> >> Axel Kohlepp >> >> JOHN BAUGHMAN via 4D_Tech schrieb: >>> One of my client’s office is composed of a mixed bag of Mac >>> operati

4d Write fonts missing

2018-08-17 Thread JOHN BAUGHMAN via 4D_Tech
One of my client’s office is composed of a mixed bag of Mac operating systems. Those computers running HIgh Sierra lost the Times font. This creates a problem when one user creates a 4D Write document using Times and another user who no longer has times in 4D Write tries to edit the document.

4D Write Freeze document and Freeze selection not working in v16?

2018-08-14 Thread JOHN BAUGHMAN via 4D_Tech
Before I call TS, could someone please check to see it Freeze document and Freeze selection works for them in v16R6. After upgrading from v15 to v16, selecting these from the 4D Write menu bar has no affect. References remain intact. Thanks, John John Baughman john...@hawaii.rr.com

Re: Call form vs form page

2018-08-11 Thread John Baughman via 4D_Tech
Never mind I think I am in the wrong form when I stored the window if for the callback. John Baughman Kailua, Hawaii john...@hawaii.rr.com > On Aug 11, 2018, at 3:02 PM, John Baughman wrote: > > I’m not sure if it’s something I am doing wrong, but regardless what page is > actually being

Call form vs form page

2018-08-11 Thread John Baughman via 4D_Tech
I’m not sure if it’s something I am doing wrong, but regardless what page is actually being displayed FORM Get current page called in the call form method always returns 1. Other things break as well like OBJECT Get pointer if the object is not on page 1. Is this a bug or expected behavior?

Hypothetical: Data file between 4D versions & SET DATA PATH

2018-08-04 Thread JOHN BAUGHMAN via 4D_Tech
It has been noted here that you can use the same data file between latter versions of 4D like v15 to v16 and back. So given the following scenario. V15 version… [Table1]Fiield1- Data is stored outside the database in 4D default external storage folder [Table2]Field2 - Data is

Re: Changes to variable initialization in v16?

2018-08-01 Thread JOHN BAUGHMAN via 4D_Tech
Always. > On Aug 1, 2018, at 3:17 PM, David Eddy via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > In addition to consistency & clarity in showing variable type, do you put > any / much / no thought into using the variable names to indicate > business—vs technical—purpose? John Baughman

Re: Changes to variable initialization in v16?

2018-08-01 Thread JOHN BAUGHMAN via 4D_Tech
All the reasons posted for not running interpreted are valid and well taken. On the other hand I see only 2 reasons that would compel one to run compiled… security and speed If you are concerned about someone stealing your code or perhaps messing with it, then security would be the driving

4Dlink file not working

2018-07-29 Thread JOHN BAUGHMAN via 4D_Tech
Just upgraded client from v15 to v16 and noticed that the 4DLink file I had provided to open the server no longer opens the structure. 4DServer v16 starts but no longer opens the database. Not sure how long this has been broken. Here is the xml. I do not see anything wrong…

Orphaned blobs and SSD drives

2018-07-29 Thread JOHN BAUGHMAN via 4D_Tech
In planning for upgrading a client fo v16 I noted that the datafile needed to be compacted so included a compact in my upgrade plan. A few days before I was to do the upgrade my client replace the server’s hard drive with an SSD. Ok, so when it came time to do the compact I noted that it no

Re: Tabbed design windows are the best

2018-07-29 Thread John Baughman via 4D_Tech
As I posted earlier, I really do not like it as I could not break old habits... 1. closing a window when I meant to close a single tab. All my open methods and forms close instead of just one. 2. Too hard for me to find 1 of my open methods or forms. Far too often I find myself

Re: Feature request thoughts

2018-07-26 Thread JOHN BAUGHMAN via 4D_Tech
e: > > It's in Preferences. > >> On Jul 26, 2018, at 2:59 PM, JOHN BAUGHMAN via 4D_Tech >> <4d_tech@lists.4d.com> wrote: >> >> First off thought there was a way to turn tabbing off, but cannot find it. > > ***

Feature request thoughts

2018-07-26 Thread JOHN BAUGHMAN via 4D_Tech
Working in 64bit on the Mac I am a bit frustrated with tabbed windows. Maybe it’s just me but I keep closing the window instead of the tab I am in. Also moving between multiple tabs is less than convenient when you do not remember where a tab you want is located in the window with a lot of

Re: Who’s the Gestapo?

2018-07-16 Thread John Baughman via 4D_Tech
Looking back at your post am I correct that the post that did not make it was Hello World? If so I am not surprised at all. Perhaps they have an automated filter and Hello World is flagged. Why not try sending something useful like introducing one’s self as a list newbie. If that still

Re: What do you use to monitor your offsite servers?

2018-07-16 Thread John Baughman via 4D_Tech
I really like Microsoft Remote Desktop for Mac which can be downloaded for free from Microsoft. They regularly update it. Clipboards are shared and you can designate one or more folders on your Mac as network drives which automatically mount when you log in. With RMD you are logging in as

Re: Who’s the Gestapo?

2018-07-15 Thread John Baughman via 4D_Tech
“They were never able to post”... what does that even mean? Taken literally l am assuming that they sent a message to the list and never saw their post on the list. Did they try more than once. Did someone from 4D tell them they had been censored? Did they ask for assistance? Based on your

Re: What do you use to monitor your offsite servers?

2018-07-15 Thread John Baughman via 4D_Tech
I’ll bet there is a reason not to, but from a Mac to a Mac I use good old Apple Screen Sharing (VNC). To a Windows server I use Microsoft Remote Desktop for Mac. Both are free and work really well. Have not found any limitation with either. Nothing required on the server end. John John

Re: 4D data on the web - what do you use?

2018-07-13 Thread JOHN BAUGHMAN via 4D_Tech
Robert, I suggested Xojo, but when I posted I don’t think I had yet done my Xojo/4D presentation on 4DMethod. You might take a look if you haven’t already… https://4dmethod.com/2018/04/16/april-25th-meeting-4d-with-a-xojo-web-app-front-end-john-baughman/

Re: 4D Write PRO: editing a table / collections

2018-07-11 Thread JOHN BAUGHMAN via 4D_Tech
On Jul 10, 2018, at 10:41 PM, Two Way Communications via 4D_Tech <4d_tech@lists.4d.com> wrote: > > You’re right, John. > > When I re-open the document, the table has another reference, and WP SELECT > doesn’t work anymore… > > Is there any other way to get the object reference for a table in

Re: 4D Write PRO: editing a table / collections

2018-07-10 Thread JOHN BAUGHMAN via 4D_Tech
Try putting the collection in a c_object and store the c_object in an c_object field, or put the collection directly into the c_object field I am assuming that $tableObj is the object reference to the table. If tables are anything like images, your plan might not work. Each time a document is

Re: v13 - new behavior, all dev windows closed

2018-07-09 Thread JOHN BAUGHMAN via 4D_Tech
Move to R5 or later. I pretty sure that is when this issue was resolved. John Baughman 1331 Auwaiku Street Kailua, Hawaii 96734 (808) 262-0328 john...@hawaii.rr.com > On Jul 9, 2018, at 11:40 AM, Chip Scheide via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > when (re)opening a database all

Relative SET EXTERNAL DATA PATH on external disk

2018-07-07 Thread JOHN BAUGHMAN via 4D_Tech
If my development database is sitting on an external disk, GET EXTERNAL DATA, previously saved using the full path, returns… "T75-TRANS01:OrthoPro_v16 R6:Patient_Image_Library:_09719:Initial:_09719_Initial_3.jpg” Note that T75-TRANS01 is the name of the external drive and "OrthoPro_v16

Re: Any way to determine how a field's data storage is set?

2018-07-07 Thread JOHN BAUGHMAN via 4D_Tech
> On Jul 7, 2018, at 6:04 AM, Patrick Emanuel via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > XML export of the structure Ok that will tell me if Outside data file is selected, but nothing about the other 2 options. I can use this even if it does seem a bit cumbersome. Thanks John Baughman

Any way to determine how a field's data storage is set?

2018-07-07 Thread JOHN BAUGHMAN via 4D_Tech
and requires testing a specific record field. I would like to know specifically which option is selected in the structure. Thanks, John John Baughman 1331 Auwaiku Street Kailua, Hawaii 96734 (808) 262-0328 john...@hawaii.rr.com > On Jul 7, 2018, at 4:54 AM, JOHN BAUGHMAN via 4D_Tech <4

Re: [ANN] Q2Pix 1.0b2 available

2018-07-07 Thread JOHN BAUGHMAN via 4D_Tech
Danis, How backward compatible will an existing deployed QPix installation be with Q2Pix? I am upgrading my QPix using client to R6 this weekend in anticipation of a follow on 64bit upgrade which will require upgrading to Q2Pix. How soon do you expect to be out of beta? Do you think

4D Write Pro Undo

2018-07-06 Thread JOHN BAUGHMAN via 4D_Tech
Looks to me like Undo can be a bit tricky with 4D Write Pro. For example if I add an image to a WP area with WP Add Picture and then hit command-Z it dutifully removes the image. If however I change the image using WP SET ATTRIBUTES(imageRef;wk Image;myPicture), a Command-Z will cause the Image

  1   2   3   4   >