Search found 490 matches

by AxWald
Tue Mar 02, 2021 1:22 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Issue with answer dialog in stack loaded from Launcher standalone
Replies: 3
Views: 82

Re: Issue with answer dialog in stack loaded from Launcher standalone

Hi,
mikelpapamike wrote:
Tue Mar 02, 2021 12:33 pm
Should the launcher app be compiled with manually selected the answer dialog?
Sure! The "stack that gets compiled as StandAlone" will become your LiveCode engine - it MUST contain any of the resources (libs etc.) that you plan to use later on.

Have fun!
by AxWald
Sun Feb 28, 2021 1:39 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Progress Bar vs. "lock screen"
Replies: 16
Views: 604

Re: Progress Bar vs. "lock screen"

Hi, I would do everything I possibly could NOT to use CSV formatted data, or at least to reformat them wherever possible. There are a lot of threads about this. Yup. CSV MUST DIE! DIE! put the hilitedLines of fld "myFld" --> "2,5,14,23,42" Hmpf. put the textColor of fld "myFld" --> "0,0,0" Arghh! pu...
by AxWald
Sun Feb 28, 2021 1:23 pm
Forum: Talking LiveCode
Topic: Lost or slow messages resulting in partial redraw of card.
Replies: 4
Views: 125

Re: Lost or slow messages resulting in partial redraw of card.

Hi, a quick check: "updateMyAppearance" is called very, very often. And it then loops through every single line of the field, each time. Using the relatively slow "repeat with N = 1 to to number of lines of me". Check in message watcher, this may really run quite often. So my advice would be: A. Det...
by AxWald
Sun Feb 28, 2021 12:30 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Recognizing character "-"
Replies: 5
Views: 159

Re: Recognizing character "-"

Hi, just checked out of curiosity. This works: on mouseUp get fld "input_fld" -- where there's my input repeat for each char C in it if C = "-" then put 1 after myVar -- add a value for - else if C = "." then put 2 after myVar -- add a value for . else put "?" after myVar -- in case we have somethin...
by AxWald
Wed Feb 24, 2021 11:38 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Progress Bar vs. "lock screen"
Replies: 16
Views: 604

Re: Progress Bar vs. "lock screen"

Hi,
possibly stupid question: Can't you start with a dummy in a group (background, frame or such), make the group invisible, create grc in grp & draw until done, make visible again?

Have fun!
by AxWald
Sun Feb 21, 2021 3:48 pm
Forum: Databases
Topic: Any tricks on how to quickly define if content needs a Sync?
Replies: 7
Views: 376

Re: Any tricks on how to quickly define if content needs a Sync?

Hi, so one does have to run a search operation to look up this whole table to find out what records will need to be updated or deleted, I'd do a query on my "t_tablestats" first. This shows me what tables have changed at all. Thus I don't need to bother about tables that haven't changed. So: put "SE...
by AxWald
Sun Feb 21, 2021 12:39 pm
Forum: Feature Proposals
Topic: Player only Open Source Livecode version?
Replies: 6
Views: 336

Re: Player only Open Source Livecode version?

Hi, you may want to read the LC EULA , §3 talks about this. A few quotes: 3. b) [...] For the avoidance of doubt, You may not use the Licensed Edition to create or distribute Created Software for other users who are using the Community Edition of LiveCode. 3. e) You are prohibited from creating or d...
by AxWald
Sat Feb 20, 2021 1:20 pm
Forum: Databases
Topic: Any tricks on how to quickly define if content needs a Sync?
Replies: 7
Views: 376

Re: Any tricks on how to quickly define if content needs a Sync?

Hi, How would one only sync lines of records modified since any last access ? I have a system with local SQLites & a mySQL/MariaDB servers. In my case the scope of data that may change locally & may need synchronizing is quite limited, actually it's just 1 table ("t_orders"). When writing to this ta...
by AxWald
Mon Feb 15, 2021 3:03 pm
Forum: CGIs and the Server
Topic: LC server install on a shared host without root
Replies: 23
Views: 2839

Re: LC server install on a shared host without root

Hi, Ok, I'll will check to make sure that htaccess remains in the cgi-bin (had made a copy in public folder during trial) In my example both cgi-bin & .htaccess are at the same level, @ domain root! interesting...my download of 8.1 did not extract driver folders....will test again when I have some t...
by AxWald
Sun Feb 14, 2021 1:12 pm
Forum: CGIs and the Server
Topic: LC server install on a shared host without root
Replies: 23
Views: 2839

Re: LC server install on a shared host without root

Hi, just a few things: - I have both my "cgi-bin" folder & my ".htaccess" in "myDomain.com/". - The " LiveCodeCommunityServer-9_5_1-Linux-x86_64.zip " server threw "Segmentation faults" reliably, so I tried another one - " LiveCodeCommunityServer-8_1_0-Linux-x86_64.zip " worked at first try. Due to ...
by AxWald
Sun Feb 14, 2021 12:29 pm
Forum: Talking LiveCode
Topic: Advice & tips for array
Replies: 10
Views: 603

Re: Advice & tips for array

Hi,

why not just throw those logs into a SQLite & use them from there?
No more reading/ converting of large files, most comfortable adding/ deleting of records, and lots of possibilities of querying even the most elaborate results via SQL. Simple, fast, reliable.

Have fun!
by AxWald
Tue Feb 02, 2021 11:50 am
Forum: Android Deployment
Topic: Android return from sleeping
Replies: 1
Views: 129

Re: Android return from sleeping

Hi,
as far as I know your app doesn't get a message when Android wakes up. See here, Jacque usually knows.

Have fun!
by AxWald
Wed Jan 20, 2021 11:59 am
Forum: SQL Yoga
Topic: enoying "line return" while concatenating SQL string
Replies: 6
Views: 940

Re: enoying "line return" while concatenating SQL string

Hi, I'll try to explain: 1.) "word 1 of line 1 of field fcritex" We know it's 1 number that we expect as argument. Right? What could happen if we'd allow longer strings? Well, there's the immortal XKCD example ;-) Only this wouldn't work in Livecode, you cannot use 2 commands in 1 string. But you co...
by AxWald
Tue Jan 19, 2021 11:28 am
Forum: SQL Yoga
Topic: enoying "line return" while concatenating SQL string
Replies: 6
Views: 940

Re: enoying "line return" while concatenating SQL string

Hi, you're concatenating a fields content ("field fcritex") without validating the value (thus allowing SQL-Injection). In this case the content of your field ends with CR, so only your query misfires. If you accept user input as parameters for SQL statements, ALWAYS make sure it's what you expect: ...
by AxWald
Thu Jan 14, 2021 9:57 am
Forum: Windows
Topic: Determining External IP Address.
Replies: 3
Views: 488

Re: Determining External IP Address.

Just to get it right: It's the IP of the "server (Windows)", that your "client (Android)" should retrieve from a "web server (where you have FTP & a site)"? The easiest way to achieve this to use DynDNS. Check the router your Win server is behind - most routers have this feature. It works like this:...

Go to advanced search