Re: v13+ - injecting code into a host.

2018-08-21 Thread Wayne Stewart via 4D_Tech
Foundation stores the method text within another method. I actually made a component to make this easier. I'll send it to you off list. Regards, Wayne On Wed, 22 Aug 2018 at 04:21, Chip Scheide via 4D_Tech <4d_tech@lists.4d.com> wrote: > > good idea! thanks > > On Tue, 21 Aug 2018 10:27:27

sql server unavailable

2018-08-21 Thread Randy Jaynes via 4D_Tech
What does it mean when a method suddenly starts getting a runtime error in a compiled database that says Remote SQL Server is not available The line number it gives is the End SQL line in the method. The SQL code is a simple SELECT field1, field 2 from table where (field3 =

Re: Export/ImportSQL

2018-08-21 Thread Pat Bensky via 4D_Tech
Thanks y'all. I updated the database to v17 to both export and import the data - this was even worse! So ... Chip ... yes please! Thanks Pat On Tue, 21 Aug 2018 at 06:44, Nils Kollandsrud via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Hi Pat, > > I started using Export/import sql to compact/move

Re: v13+ - injecting code into a host.

2018-08-21 Thread Chip Scheide via 4D_Tech
good idea! thanks On Tue, 21 Aug 2018 10:27:27 -0700 (MST), Patrick Emanuel via 4D_Tech wrote: > Hi, > > If you don't want that user have access to your code, in this case, save it > in a crypted blob. > Your component will have the key to read it and by the way, just your > component. > > In

Re: v13+ - injecting code into a host.

2018-08-21 Thread Dani Beaubien via 4D_Tech
Perhaps put it in the Resources of the Component. Makes it a bit more hidden. The alternative is to have it saved someplace entirely. But then that makes the auto updating of the files a bit more challenging. Dani > On Aug 21, 2018, at 10:44 AM, Chip Scheide <4d_o...@pghrepository.org>

Re: v13+ - injecting code into a host.

2018-08-21 Thread Chip Scheide via 4D_Tech
Thanks that is basically what i was in the process of doing. a method to run in 'On Shut Down', which (when the component is not compiled) gets the code of the method, and writes to a text file - but in the database folder of the component. The resource folder gets shared to clients, and there

Re: v13+ - injecting code into a host.

2018-08-21 Thread Dani Beaubien via 4D_Tech
I have had to do this. I store a copy of the methods I need in a folder in the Resources folder. Only downside is that the code is outside of the structure so the maintenance is a bit more effort. You could add a bit of code to the On Exit method on the component that updates the copy of the

v13+ - injecting code into a host.

2018-08-21 Thread Chip Scheide via 4D_Tech
I have written code which injects (creates) needed methods in a host database. The code for injecting works interpretedly, I was just testing the component compiled, and ran into an error. I am getting the code of a method in the component, and then injecting it into the host. METHOD GET

RE: Query for null/empty UUID

2018-08-21 Thread Epperlein, Lutz (agendo) via 4D_Tech
Found that: > Subject: Query for null/empty UUID > > What's the best way to query for a null/blank UUID () ? ** 4D Internet Users Group (4D iNUG)

RE: Query for null/empty UUID

2018-08-21 Thread Tai Bui via 4D_Tech
Hi, Not sure if these are the Best Solutions, but there are two Tech Tips regarding this topic: Find and fix all Blank or Null UUID fields in an entire database: http://kb.4d.com/assetid=77576 A utility method that tests for a NIL UUID http://kb.4d.com/assetid=77266 Hopefully this helps.

Query for null/empty UUID

2018-08-21 Thread Jeffrey Kain via 4D_Tech
What's the best way to query for a null/blank UUID () ? ** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub:

Re: Web Area display PDF

2018-08-21 Thread Patrick Emanuel via 4D_Tech
Thanks a lot. Patrick - Patrick EMANUEL Administrator www.association-qualisoft.eu (Soft1002, Simply Asso & QS_Toolbox) -- Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html

RE: Web Area display PDF

2018-08-21 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi Jeff, Thanks for sharing! > -Oorspronkelijk bericht- > Van: Jeffrey Kain > Verzonden: maandag 20 augustus 2018 19:20 > Aan: 4d_tech@lists.4d.com > Onderwerp: Re: Web Area display PDF > > I wasn’t able to get it working in Windows. It seems really close though. But > the IE

pdfCreator problem

2018-08-21 Thread Keith Goebel via 4D_Tech
Hi all. We have suddenly struck a problem with pdfCreator v1.7.2 not working when using a built 4D Client via Remote Desktop Connection access. It used to work, but started giving problems about a month ago (that's when we first detected it). pdfCreator works just fine when the 4D Client is