Search found 19 matches
- Wed Jun 03, 2015 1:59 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: using base64Encode to return encoded string
- Replies: 8
- Views: 6038
Re: using base64Encode to return encoded string
Has anyone else had the following issue with base64encode. I will explain what I am finding. I have 1 card that is called Register where a user can enter a username, password, first name, last name and email address. On this card I base64encode the password field before sending the information to a ...
- Thu Mar 26, 2015 1:16 pm
- Forum: Internet
- Topic: Getting Data from Website
- Replies: 4
- Views: 4863
Re: Getting Data from Website
Solved this: I am not sure how to submit this but will explain what was going in here. If someone can point me to the right direction as this might be a bug. On Tuesday I was at a local school district helping them with their network, website proxy etc. When at the school I entered proxy settings in...
- Thu Mar 26, 2015 12:40 pm
- Forum: Internet
- Topic: Getting Data from Website
- Replies: 4
- Views: 4863
Re: Getting Data from Website
I know this works under Livecode 7.0.3 cause I have been using it since the start of the Create It With Livecode Course I have been going through to enhance my knowledge and learn form the experts of this software. I just do not know or understand why it stopped working yesterday and does not work t...
- Wed Mar 25, 2015 6:33 pm
- Forum: Internet
- Topic: Getting Data from Website
- Replies: 4
- Views: 4863
Getting Data from Website
I have a function that goes out to a website to acquire the data as a method to check if the application has access to the internet function CheckInternetConnection local lURL, lconnCheck switch (the platform) case "Win32" put "http://www.yourcfpro.com" into lURL put URL lURL into lconnCheck if lcon...
- Sat Mar 21, 2015 6:30 pm
- Forum: Internet
- Topic: libURLDownload to File Inquiry
- Replies: 9
- Views: 7113
Re: libURLDownload to File Inquiry
What would be some code to stop the execution of the following lines of code until the callback message has been completed. What I have found is if I remove the breakpoint the rest of the application is ran then I would see a answer box in the callback message a few minutes later and this informatio...
- Sat Mar 21, 2015 2:10 am
- Forum: Internet
- Topic: libURLDownload to File Inquiry
- Replies: 9
- Views: 7113
Re: libURLDownload to File Inquiry
Well I think I might know what is going on but not sure. If I have a windows explorer window open the execution of the script will hit the breakpoint before the file gets downloaded completely. So it will not run the call message handler like I would think it would Any tricks, tips to not process th...
- Sat Mar 21, 2015 12:38 am
- Forum: Internet
- Topic: libURLDownload to File Inquiry
- Replies: 9
- Views: 7113
Re: libURLDownload to File Inquiry
In the present version of the code I have libUrlDownloadToFile tFCCLicenseDataDownload, tFCCLicenseDataFilename, "ExtractFCCDownloadedArchive" put the result into it breakpoint And when I run the application the variable it is blank. So it is not showing me if their is an error. If I goto the Progra...
- Sat Mar 21, 2015 12:30 am
- Forum: Internet
- Topic: libURLDownload to File Inquiry
- Replies: 9
- Views: 7113
Re: libURLDownload to File Inquiry
UAC does allow for files to be written to this directory as with my other libURLDownloadToFile that downloads the main program and extracts it this callback message gets executed. It is just this other one some 2500 lines later that does not get executed when the file is downloaded. Any not sure why...
- Sat Mar 21, 2015 12:28 am
- Forum: Internet
- Topic: libURLDownload to File Inquiry
- Replies: 9
- Views: 7113
Re: libURLDownload to File Inquiry
Yes gApplicationPrefsDir is defined as I am using this variable all through the program as it is set to put specialfolderpath("Documents") & slash & "Livecode Projects" into tAppPrefDir right after the libURLDownloadtofile I have a breakpoint and when I run the application it stops on the breakpoint...
- Sat Mar 21, 2015 12:05 am
- Forum: Internet
- Topic: Fetching data from Bus Website
- Replies: 6
- Views: 6463
Re: Fetching data from Bus Website
If you have control over the Business website and depending on the programming language the website was written in, you can create a web service to transfer the information you needed in your app from the website. The information that is transferred back and forth is done through XML and livecode ma...
- Sat Mar 21, 2015 12:03 am
- Forum: Internet
- Topic: Trouble with "&" in URL string for Google Maps
- Replies: 8
- Views: 7396
Re: Trouble with "&" in URL string for Google Maps
This is why in my map application I am using Leaflet.js and OpenStreetMaps for my mapping requirements as it is so much easier to place a marker and details about the marker.
- Fri Mar 20, 2015 11:32 pm
- Forum: Internet
- Topic: libURLDownload to File Inquiry
- Replies: 9
- Views: 7113
libURLDownload to File Inquiry
In my application I have libURLDownloadToFile working as in my splash stack it downloads a zip file from my website, extracts it and checks to make sure it is the latest version. If it is not, then it downloads the latest version and runs it. Now as I have been updating this application, I am trying...
- Fri Feb 20, 2015 5:54 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Math Functions in Livecode
- Replies: 10
- Views: 7641
Re: Math Functions in Livecode
I got the formula to work, however my result is 0 which is not correct. So I have broken down the formula into sections to see what might be going wrong. put SIN(tFCCLatitude * pi div 180) into tTempPart1 put SIN(tSourceLocLatitude * pi div 180) into tTempPart2 tFCCLatitude = 42.43952778 tSourceLocL...
- Fri Feb 20, 2015 4:18 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Math Functions in Livecode
- Replies: 10
- Views: 7641
Math Functions in Livecode
I am trying to get the distance between 2 latitude/longitude points and if they are within so many miles of each other then put the marker on the map. Here is the formula which I am trying to use ACOS( SIN(lat1*PI()/180)*SIN(lat2*PI()/180) + COS(lat1*PI()/180)*COS(lat2*PI()/180)*COS(lon2*PI()/180-lo...
- Thu Feb 19, 2015 8:56 pm
- Forum: Internet
- Topic: revBrowserCallScript
- Replies: 10
- Views: 7520
Re: revBrowserCallScript
In tracing the code, I got gBrowserID which starts with 1 and does increase by 1 each time a new map is displayed within the image rectangle. I changed the Javascript to not use a parameter and it does work. on mouseUp get revBrowserCallScript(gBrowserID, "DisplayAlert") put the result into it end m...