Search found 307 matches

by AxWald
Tue Apr 24, 2018 1:25 pm
Forum: Databases
Topic: Validating database operation causes crash
Replies: 8
Views: 202

Re: Validating database operation causes crash

Hi,

you already tried to delete your LC preferences file? This sounds like voodoo, but actually every LC version I ever tried has managed to corrupt this one once at least, with quite entertaining results partially.

Have fun!
by AxWald
Tue Apr 24, 2018 1:14 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: JSON to SQLite - code works, but how to improve?
Replies: 2
Views: 78

Re: JSON to SQLite - code works, but how to improve?

Hi, SQLite does the BEGIN/ COMMIT for you, so you can usually skip this. You're using it here correctly to prohibit single BEGIN/ COMMITs for each record, but: . Why use a repeat for each record, instead of feeding the whole data into the table at once? Should be much faster. For table-like data see...
by AxWald
Fri Apr 20, 2018 10:01 am
Forum: Databases
Topic: Validating database operation causes crash
Replies: 8
Views: 202

Re: Validating database operation causes crash

Hi, This is one of the weirdest things I've ever seen. I agree. This is really weird. You tried in the debugger? Which line crashes actually? The "if the result ..."? Testing "the result" really shouldn't crash ;-)) So set breakpoint at the line where you construct your tvSQL and watch what happens....
by AxWald
Thu Apr 05, 2018 2:45 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Complex situation and DB
Replies: 2
Views: 174

Re: Complex situation and DB

Hi, Question n.1 I have an app that connect to an SQLITE DB. If the EXE is on a shared folder the DB in the same folder (so I use relative path), can the remote user launch the EXE and using it or the path is messed? I've found out that using relative paths with databases is calling for problems. So...
by AxWald
Fri Mar 30, 2018 1:38 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Assigning a keyboard shortcut to a button
Replies: 44
Views: 1287

Re: Assigning a keyboard shortcut to a button

Hi, [...] the thing is called a "shortcut" and not an "accelKey"? [...] This depends of the setting in the preferences: "Property labels are:" "Description of option" => "Shortcut" "Name of LC property" => "accelKey" And yes, they omitted it completely in the 8 versions prop palette. Who needs keybo...
by AxWald
Tue Mar 06, 2018 10:52 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Sheep Herder
Replies: 6
Views: 290

Re: Sheep Herder

Hi,
bogs wrote:
Tue Mar 06, 2018 5:30 am
Apparently when I was not looking, the application browser got removed (go figure). It used to be in the tools menu, but I don't see it as of version 8.1.6.
For some strange reason it got hidden in the "Development/ Plugins" menu. As "revApplicationOverview".

Have fun!
by AxWald
Mon Feb 19, 2018 2:29 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: This app can't run on your PC
Replies: 4
Views: 256

Re: This app can't run on your PC

Hi,

what LC version?

I'm compiling & running LC 6.7.10 standalones for Win on a daily basis, and never had such problems.
(UAC execution level usually "default" or "same as invoker")

Have fun!
by AxWald
Wed Feb 14, 2018 10:10 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Move revsecurity.dll to 'Externals' for StandAlone?
Replies: 1
Views: 146

Move revsecurity.dll to 'Externals' for StandAlone?

Hi, after compiling a StandAlone, some of the rev*.dll's are nicely put in the "Externals" folder. Others, for instance "revsecurity.dll" or "revpdfprinter.dll" (or even more), need to be in the folder of the executable itself to work. Is there a way to change this? It would look a lot more professi...
by AxWald
Sun Feb 11, 2018 9:16 am
Forum: Databases
Topic: mySQL on GCS "normal shutdown" causing LC to hang
Replies: 11
Views: 475

Re: mySQL on GCS "normal shutdown" causing LC to hang

Hi, [...] i check for revopendatabases() on each command, and reconnect within my script if it is required [...] When I started working with web based MySQL (after years of local MS-SQL) I had serious problems with lost connections, at first. Asking for advice I was told that the usual MySQL at your...
by AxWald
Fri Feb 09, 2018 12:39 pm
Forum: Internet
Topic: Distribute PHP EchoS towards separate fields - How ?
Replies: 5
Views: 305

Re: Distribute PHP EchoS towards separate fields - How ?

Hi, that's easy. If I fill your variables with date("c") each, your .php returns: Start date : 2018-02-09T12:18:49+01:00End date : 2018-02-09T12:18:49+01:00 So the second string starts with "End date :". Here we go: on mouseUp -- get URL myPhp -- we would fetch the php data this way get "Start date ...
by AxWald
Thu Feb 08, 2018 11:33 am
Forum: Databases
Topic: mySQL on GCS "normal shutdown" causing LC to hang
Replies: 11
Views: 475

Re: mySQL on GCS "normal shutdown" causing LC to hang

Hi, the desired result from a revExecuteSQL call is the number of records affected, so you better test for this - revdberr is not send for this command (neither for the revDB_execute function equivalent)! Besides, when working with remote databases it's essential to catch all & any errors. Doing thi...
by AxWald
Sat Feb 03, 2018 12:49 pm
Forum: Internet
Topic: SOLVED - Any tool to capture URL content sent ?
Replies: 18
Views: 762

Re: Any tool to capture URL content sent ?

Hi,

for simple reading network traffic on your (Win) machine you can use SmartSniff. Has quite a lot of options, but runs very nicely "out-of-the-box", too :)

Have fun!
by AxWald
Thu Jan 18, 2018 4:25 pm
Forum: Databases
Topic: Select Col.name from table - SOLVED
Replies: 17
Views: 866

Re: Select Col.name from table

Hi,

might be that this happens 'cause "CAST" is a function name in SQL. You might try:

Code: Select all

put "SELECT `Title`,`Year`,`Format`,`Cast`,`Summary` FROM `Movies`" into tmpSql
Have fun!
by AxWald
Tue Jan 16, 2018 4:51 pm
Forum: Talking LiveCode
Topic: ASK Command Return Button means "OK"
Replies: 13
Views: 768

Re: ASK Command Return Button means "OK"

Hi, I can see the problem - the signal from the scanner is coming as keyboard input, and has to be caught somewhere. But as soon as you focus on any field (on mobile), this nasty keyboard pops up, covering half the screen. This way, opening an ask dialogue is a good way to fetch it. Only now the use...
by AxWald
Sun Dec 24, 2017 3:28 pm
Forum: Windows
Topic: I can not delete files on windows
Replies: 11
Views: 789

Re: I can not delete files on windows

Hi, maybe I misunderstand, but this works flawlessly here: on mouseUp -- you need an image area named "test_img" besides this btn! put specialFolderPath("Desktop") & "/Saved Pictures/" into myPath put specialFolderPath("Desktop") & "/Test_Picts/" into myTestPath put "P8010001.JPG" into pict1 put "P8...

Go to advanced search