Search found 184 matches

by KimD
Mon May 13, 2019 10:41 pm
Forum: Android Deployment
Topic: send email with attachment
Replies: 22
Views: 3016

Re: send email with attachment

Thanks Simon

Going from LC 9.00 to LC 9.04 seems to have fixed this for me also.

Regards

Kim
by KimD
Mon May 13, 2019 6:49 am
Forum: Android Deployment
Topic: send email with attachment
Replies: 22
Views: 3016

Re: send email with attachment

The below works on Android 5.0.1 but not on Android 8.1.0 local tSubject, tEmailBody, tAttachment put "You must read this" into tSubject put "Dear Colleague. Blah Blah Blah" into tEmailBody Put URL("file:" & ggDocumentsFolder & slash & myFilename ) into url("file:" & specialfolderpath("external docu...
by KimD
Wed May 08, 2019 10:19 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How do I debug a no-message crash to desktop?
Replies: 8
Views: 626

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

Thanks all My real stack is now working. It was only ever during a "cancel" operation that I was experiencing a CTD, and I re-wrote the cancel handler to avoid the un-necessary "Set the dgText". I haven't seen a CTD since. Yes - the demo stack is "rather strange". This comes down to (1) this demo st...
by KimD
Mon May 06, 2019 4:25 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How do I debug a no-message crash to desktop?
Replies: 8
Views: 626

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

Hi Richard and Craig Thanks for replying. I agree that crashes to desktop are very rare in LC. This is the only repeatable CTD that I've had in the past 12 months or so. I've trimmed my stack down to the still-crashing minimum. This is attached. This stack has crashed to desktop (from the IDE) about...
by KimD
Fri May 03, 2019 3:19 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How do I debug a no-message crash to desktop?
Replies: 8
Views: 626

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

Livecode 9.0.0 Indy running on Windows 10. 1) In both the IDE and Windows Standalone I'm experiencing a no-message crash to desktop. 2) Through use of extensive logging I've narrowed the point at which my app terminates down to the single line - Set the dgText[false] of group "DataGrid1" to Empty 3)...
by KimD
Tue Apr 23, 2019 6:11 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Merge & Storing input validation logic as a custom property
Replies: 18
Views: 1003

Re: Merge & Storing input validation logic as a custom property

Thanks to your help your help, I've got both the "Do" and "Merge(Merge())" solutions that you proposed working. But, I also decided to try and create solution that used the Value function. What I came up with, which works, is: The custom property (PassedValidation) of field "Latitude1" contains - (m...
by KimD
Wed Apr 17, 2019 10:27 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Merge & Storing input validation logic as a custom property
Replies: 18
Views: 1003

Re: Merge & Storing input validation logic as a custom property

Thanks all To answer your questions about "why". I'm building an e-forms app (for my first paying client). Up until a week ago all of my data validation only considered the single field being entered. 1) I stored validation logic in as a custom property of the field. For example - Set the ValRule1 o...
by KimD
Wed Apr 17, 2019 9:02 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Merge & Storing input validation logic as a custom property
Replies: 18
Views: 1003

Re: Merge & Storing input validation logic as a custom property

Thanks Craig and Richard. Yes - the evaluation of the IF statement, which will test the CONDITION that I store as a custom property, is triggered by the user exiting the field. I'll have another try with this over the next couple of days and get back to you with the results. As you have rightly gues...
by KimD
Wed Apr 17, 2019 2:54 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Merge & Storing input validation logic as a custom property
Replies: 18
Views: 1003

Re: Merge & Storing input validation logic as a custom property

Hi Craig Thanks for your reply. What I want to do is store field validation logic in the field (and not in script). To this end - I want to (1) store the CONDITION component of an IF statement as a custom property of the field. I want to store the text of the condition (e.g. ">=5"), not the result o...
by KimD
Tue Apr 16, 2019 11:03 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Merge & Storing input validation logic as a custom property
Replies: 18
Views: 1003

Merge & Storing input validation logic as a custom property

I'm wanting to store the input validation logic for a field, as a custom property of that field. For example - Set the MyTestCondition of field "ABC" to Field "ABC" >=5 then return true else return false (mucking around with quote marks abridged) - If MyTestCondition of field "ABC" then doOption1 el...
by KimD
Wed Mar 20, 2019 11:23 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Initialization Error - failed to load external?
Replies: 7
Views: 1746

Re: Initialization Error - failed to load external?

Just in case anyone else finds themselves at this post because they made the same rookie mistake as me. 1) I copied my standalone's .exe file; and 2) Pasted it onto my desktop When I ran the .exe file from my desktop, I got the "failed to load external" error message. When I replaced step 2 with "Pa...
by KimD
Wed Feb 20, 2019 10:51 pm
Forum: Android Deployment
Topic: send email with attachment
Replies: 22
Views: 3016

Re: send email with attachment

On Android 5.0.1, using "mobileComposeMail tSubject,,,,tEmailBody, tAttachment": - did NOT work if tAttachment was located in specialFolderPath("documents"). The email, with attachment, was composed. Gmail could clearly "see" the attachment, because it correctly told me what size the attachment was....
by KimD
Wed Feb 20, 2019 3:10 am
Forum: Android Deployment
Topic: File path to Download folder
Replies: 4
Views: 569

Re: File path to Download folder

Hi FYI With a sample size of one (Android 5.01) test device: - I couldn't get specialFolderPath("external documents") to work. This evaluated to "/storage/emulated/0/android/data/myappname/files", which wasn't the Download folder; but - after a fair bit of experimentation I got "/mnt/sdcard/Download...
by KimD
Fri Feb 15, 2019 3:05 am
Forum: Android Deployment
Topic: File path to Download folder
Replies: 4
Views: 569

Re: File path to Download folder

Thanks Jacque & Sparkout

I've ended up having to debug another problem today, but I'll try your suggestions on Monday.

Regards

Kim
by KimD
Thu Feb 14, 2019 5:46 am
Forum: Android Deployment
Topic: File path to Download folder
Replies: 4
Views: 569

File path to Download folder

Hi The scenario that I'm trying to address is, on Android: 1) User A emails a data file to user B 2) Within their email programme, User B selects the option to "download" the data file The data file is now sitting in a "Download" folder of user B's Android device. I know that, in general, Android ri...

Go to advanced search