Got it.
Thanks for the follow-up Klaus.
Jorge
Search found 12 matches
- Sat Sep 08, 2012 11:18 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: revBrowserOpen Local PDF File
- Replies: 3
- Views: 2885
- Sat Sep 08, 2012 8:18 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: revBrowserOpen Local PDF File
- Replies: 3
- Views: 2885
Re: revBrowserOpen Local PDF File
I used the Safari browser to open the PDF files directly and noted that there were no empty spaces in the filepath used by Safari. Instead there was a "%20" where a space would normally be in the filepath. So I added this line of script and it works - replace space with "%20" in tFile So /Users/...
- Sat Sep 08, 2012 7:16 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: revBrowserOpen Local PDF File
- Replies: 3
- Views: 2885
revBrowserOpen Local PDF File
Not sure why the script below does not display the selected PDF File from my Mac HD. I checked the filepath in the variable tFile and it looks correct. If I feed tFile a web address instead, then the web page displays without issue in the rev browser. Thanks - Jorge on MouseUP local tBrowserId local...
- Wed Aug 01, 2012 11:56 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Standalone APP Encryption Question
- Replies: 5
- Views: 4131
Re: Standalone APP Encryption Question
Thanks for the great tip. Changed the code to following - on DataStore put base64Encode(fld "datashow1") into DataHold put compress(DataHold) into fld "DCode" put empty into fld "datashow1" end DataStore On ReclaimData put fld "DCode" into hold put decompress(hold) into DataHold put base64decode(Dat...
- Wed Aug 01, 2012 10:26 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Standalone APP Encryption Question
- Replies: 5
- Views: 4131
Re: Standalone APP Encryption Question
I just found the baseencode64(myData) and the basedecode64(my data) in the livecode dictionary. I think it will work. At least the data in the fld will be encoded and not stored as readable text. - Thanks again for the prompt response. - Jorge I store my data in an fld encoded. It is decoded when th...
- Wed Aug 01, 2012 10:01 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Standalone APP Encryption Question
- Replies: 5
- Views: 4131
Re: Standalone APP Encryption Question
Thanks for the reply. There is data in a hidden table field which populates a data table when the correct log in password is entered. It is the data in the hidden field that I would like to protect. So if I understand this correctly - In a standalone app that is password protected the data that is i...
- Wed Aug 01, 2012 8:19 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Standalone APP Encryption Question
- Replies: 5
- Views: 4131
Standalone APP Encryption Question
I have read a number of posts regarding "encrypting" livecode stacks. I have run across conflicting information. Entering a password protects the scripts but not the field contents when you are working with a stack in the development environment. When you create a standalone app and select encrypt w...
- Sat Jul 21, 2012 2:43 pm
- Forum: Talking LiveCode
- Topic: revDataGridLibrary in standalone with Valentina4 DB Support
- Replies: 12
- Views: 8462
Re: revDataGridLibrary in standalone with Valentina4 DB Supp
Never mind. I found the revDataGridLibrary in the IDE and added it manually as a substack.
The datagrid tables are working in my standalone APP. These types of resources were easier to locate
in the prior versions of Runtime Rev.
Jorge
The datagrid tables are working in my standalone APP. These types of resources were easier to locate
in the prior versions of Runtime Rev.
Jorge
- Fri Jul 20, 2012 9:36 pm
- Forum: Talking LiveCode
- Topic: revDataGridLibrary in standalone with Valentina4 DB Support
- Replies: 12
- Views: 8462
revDataGridLibrary in standalone with Valentina4 DB Support
I have a livecode::Valentina DB combination that contains datagrids in the main stack and associated substacks. I need to include the revDataGridLibrary in the standalone application for the standalone to function correctly. In the standalone application settings I have chosen the "select inclusions...
- Sat Jul 07, 2012 3:29 am
- Forum: Databases
- Topic: Converting Data From Blob Table For Display
- Replies: 4
- Views: 4332
Re: Converting Data From Blob Table For Display
Thanks Klaus! I imported a generic image to use as the test image. I can change it to whatever image I wish to display by writing the binary text of the image that I retrieved from the DB to it. Global ImageHold1 set the text of img "TestImage" to ImageHold1 show image "TestImage" Regards, Jorge
- Fri Jul 06, 2012 3:46 am
- Forum: Databases
- Topic: Converting Data From Blob Table For Display
- Replies: 4
- Views: 4332
Re: Converting Data From Blob Table For Display
Klaus: Thanks for the reply. The data that I retrieve from the BLOB fld looks like this and represents the image (excerpt of first 2 lines of the data) - " ˇÿˇ‡JFIFHHˇ‚§ICC_PROFILEîappl mntrRGB XYZ ŸacspAPPLapplˆ÷”-appldescodscmxVcprt–8wtptrXYZgXYZ0bXYZDrTRCXchadh,bTRCXgTRCXdescGeneric RGB ProfileGe...
- Wed Jul 04, 2012 6:25 pm
- Forum: Databases
- Topic: Converting Data From Blob Table For Display
- Replies: 4
- Views: 4332
Converting Data From Blob Table For Display
I am storing jpeg images to a BLOB table in a Valentina DB with a LiveCode Front and the SQL Yoga Library I can easily retrieve the binary data from the DB BLOB field "GYN_TF" and store it in a variable. put sqlquery_createObject("GYN_TF") into theQueryA sqlquery_set theQueryA, "select clause", "GYN...