Search found 823 matches

by bangkok
Fri May 17, 2019 3:04 am
Forum: CGIs and the Server
Topic: Getting started on LiveCode server
Replies: 11
Views: 812

Re: Getting started on LiveCode server

First, like Richard said : hang on. :) Like everything else, what looks kind of "blurred" now and even frustrating... eventually will appear in full light, and like a famous ancien Greek, you will shout "Eureka !". Here is a "core" for a web page that will send some data to the server. 2 ways to do ...
by bangkok
Mon May 13, 2019 12:58 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: MY SQL Insert
Replies: 9
Views: 322

Re: MY SQL Insert

If you look at past posts, it's obvious : this syntax (variable list and array) create many problems for newbies. It's important to go step by step. Start with the SIMPLE SYNTAX , aka " i execute a query that i can read " Therefore : put "INSERT INTO PAV2_ACCOUNTS (column1,column2,column3) VALUES ('...
by bangkok
Wed May 08, 2019 10:44 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How do I debug a no-message crash to desktop?
Replies: 8
Views: 414

Re: How do I debug a no-message crash to desktop?

Yes, it crashes. LC Indy 8.1.10 and LC Indy 9.0.4 rc 2 Windows 8.1 Your code... is rather strange. What's the point to have on the card "update" a preopencard hander. And : go cd "autoreturn" and then on card "autoreturn" to have : On PreOpenCard Logevent "Always", ggLogfile, "Card AutoReturn > PreO...
by bangkok
Tue Apr 09, 2019 2:43 am
Forum: Android Deployment
Topic: Zebra barcode scanner : "Intent" output method with LC ?
Replies: 0
Views: 204

Zebra barcode scanner : "Intent" output method with LC ?

Zebra sells several Android PDAs with integrated barcode scanner (good and affordable) https://www.zebra.com/us/en/products/mobile-computers/handheld/tc20.html It has developped "Datawedge", an app to set the parameters of its barcode scanner and to set the method to send/display the data. The main ...
by bangkok
Thu Apr 04, 2019 9:51 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Problem in Querying SQLite Database
Replies: 5
Views: 407

Re: Problem in Querying SQLite Database

Add answer tQuery answer tInfo Just to be sure that's not related to the datagrid or the query. Then, if tInfo still doesn't contains what it should : put "SELECT * FROM cleDetails" into tQuery put revDataFromQuery(tab,cr,gCLE_DatabaseID,tQuery) into tInfo answer tInfo ... Just to be sure that you d...
by bangkok
Wed Mar 27, 2019 1:07 pm
Forum: Internet
Topic: Communicate with a webdav server
Replies: 7
Views: 433

Re: Communicate with a webdav server

What does your LibURL code look like? This is the header. I've tried with httpheaders and libURLSetCustomHTTPHeaders. PROPFIND HTTP/1.1 Host: myserver.com Authorization: Basic xxxxxxxxxxxxxxxxxxx Content-Type: text/xml Content-Length: 86 Depth: 1 Accept: */* <?xml version="1.0" ?> <D:propfind xmlns...
by bangkok
Wed Mar 27, 2019 8:48 am
Forum: Internet
Topic: Communicate with a webdav server
Replies: 7
Views: 433

Re: Communicate with a webdav server

After hours of tests... I start to think that LC classic internet functions do not support the PROPFIND method ! Even by playing with httpheaders and libURLSetCustomHTTPHeaders. I managed to get something working only by using tsNet : tsNetCustomSync (but it's available only in Indy edition). put tr...
by bangkok
Mon Mar 25, 2019 11:17 am
Forum: Internet
Topic: Communicate with a webdav server
Replies: 7
Views: 433

Re: Communicate with a webdav server

I haven't used WebDAV from LC yet, but I'll need to in the coming months. What header fields do you need to set? Perhaps I can put that into an example for both of us. First a simple PROPFIND would do (depth 0), in order to list all the files at root directory, with all their properties (the idea i...
by bangkok
Mon Mar 25, 2019 6:18 am
Forum: Internet
Topic: Communicate with a webdav server
Replies: 7
Views: 433

Re: Communicate with a webdav server

mrcoollion wrote:
Sun Mar 24, 2019 11:10 am
You can probably use tsNet for this.
That is my goal indeed... But only after I figure out the contents of the http headers, the XML data to be sent (with PROPFIND command for instance), etc.

Eventually, the idea is to create a library so LC can communicate with a webdav system.
by bangkok
Sun Mar 24, 2019 9:33 am
Forum: Databases
Topic: Updating a MySQL Database after Text Fields are Changed
Replies: 3
Views: 770

Re: Updating a MySQL Database after Text Fields are Changed

First : tID is not defined in your closecard script with the loop. on closecard repeat with x = 1 to 6 put the name of grp x of grp "digest" into tField[x] put fld 1 of grp x of grp "digest" into tNewText[x] put "UPDATE MyTable SET '"&tField[x]&"' = '"&tNewText[x]&"' WHERE id='"& tID &"'" into tSQL ...
by bangkok
Sun Mar 24, 2019 8:48 am
Forum: Internet
Topic: Communicate with a webdav server
Replies: 7
Views: 433

Communicate with a webdav server

I would like to communicate with a "webdav" server (Nextcloud, it's like a Dropbox system) for : -upload file -download file -and PROPFIND (to get a listing of the server's files) Everything works well... when I use CURL on Windows : For instance : curl -u user:password -X PROPFIND "https://myserver...
by bangkok
Tue Jan 29, 2019 1:50 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Ah the use list ...
Replies: 59
Views: 2815

Re: Ah the use list ...

My 2 cents (about the original subject) : the "use-list" is... a century old. 20th. Forum is the modern way to go : -more functions (search, pictures etc.) -no redundant traffic by email I understand that some people would regret it because of habits.... But from a rational point of view... it's poi...
by bangkok
Fri Jan 04, 2019 11:13 am
Forum: Databases
Topic: Can i get data/database from Microsoft SQL Server ? How?
Replies: 4
Views: 1142

Re: Can i get data/database from Microsoft SQL Server ? How?

I would like to ask how can I get data/database from Microsoft SQL Server to LiveCode as Im currently building a User LogIn Registration part of an app, in terms of getting user's username, password, phone num & email address. Thx yes you can access a MS Sql server from Livecode. By using the "odbc...
by bangkok
Mon Dec 31, 2018 10:06 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Barcode scanner recommendations?
Replies: 2
Views: 284

Re: Barcode scanner recommendations?

If you want something that takes up less space, I can recommend using a mobile phone instead of a laptop, together with Bluetooth ring scanners. Or an Android device, with an integrated barcode scanner. Like : Zebra TC 20 https://www.zebra.com/gb/en/products/mobile-computers/handheld/tc20.html Or :...
by bangkok
Fri Dec 28, 2018 5:29 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Barcode Scanner
Replies: 3
Views: 341

Re: Barcode Scanner

Can anyone point me in the correct direction of a barcode scanner for LiveCode? The following link is one that shows where the forms of data I need to pull into the application for use in a login system: https://www.reddit.com/r/AirForce/comments/7uqrw4/scanning_cac_barcodes_for_fun_and_efficiency/...

Go to advanced search