Shawn Blc | 22 May 2013 15:06
Picon

[BEGINNER] Using DBLib and MySQL

I'm using DBLib and I'm having trouble inserting into a MySQL database.  My
database connection is working.

My database name:  names
Table name:  names

My table fields are:

fldID
fldFullName
fldEmailAddress
fldRegistered

My controls on my form are:

fldFullName
fldEmailAddress
fldRegistered

My button code looks like this (for submitting to the database):

on mouseUp
   put "http://mydomain.on-rev.com/nope.png" into field "fldRegistered"

   put field "fldRegistered" into tDataA["fldRegistered"]
   put field "fldFullName" into tDataA["fldFullName"]
   put field "fldEmailAddress" into tDataA["fldEmailAddress"]

   put dbInsert["names", tDataA] into tResult
   if it is a number then
(Continue reading)

Terry Judd | 22 May 2013 09:13
Picon
Picon
Favicon

Lime green text on new Livecode website

Is it just me or is the lime green text on the new Livecode website way too pale to read easily. It's not that I
don't like the color, but it does seem to get lost against a white background. Check out the tutorials
section and you'll see what I mean.

Terry...

Dr Terry Judd
Senior Lecturer in Medical Education
Medical Eduction Unit
Faculty of Medicine, Dentistry & Health Sciences
The University of Melbourne

_______________________________________________
use-livecode mailing list
use-livecode@...
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Andre Garzia | 22 May 2013 02:46
Favicon
Gravatar

DB Lib goes dual license with GPL and Commercial License

Hey Guys,

Great news for LiveCode Community Edition lovers and GPL fans! DB Lib, the
minimalistic database library for LiveCode just went dual license with GPL
and Commercial licenses available.

If you're building GPL software, you can just download the library and
start using it. If you want to ship closed source software, you just need
to buy a commercial license.

You can check the blog post at:
http://www.andregarzia.com/posts/en/dblibgoesopensource

You can check the DB Lib page at:
http://www.andregarzia.com/pages/en/dblib

Cheers
andre

--

-- 
http://www.andregarzia.com -- All We Do Is Code.
http://fon.nu -- minimalist url shortening service.
_______________________________________________
use-livecode mailing list
use-livecode@...
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Richmond | 21 May 2013 22:43
Picon

[OT] Check your internet speed.

http://www.speedtest.net/

_______________________________________________
use-livecode mailing list
use-livecode@...
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Peter Haworth | 21 May 2013 22:43

Script Editor Find issues

Wondering if anyone has a workaround for a couple of annoyances in the
Script Editor Find feature.

First one involves what happens after clicking the "More" button, then
searching across multiple tabs.  The search itself works fine. However if I
start replacing the occurrences of the search term with another string of a
different length, every time I click on a line in the search results tab,
I'm positioned in the wrong place in the current tab - gets progressively
worse as I make more changes.

The other issue is when searching then using the next/previous buttons to
find matches.  That doesn't suffer from the above problem.  But, if I do
not change one of the occurrences of the search string, then every time I
press next, even if the cursor is positioned after the string I did not
change, the highlight goes back to the string I did not change instead of
finding the next occurrence after the current position.

Any suggestions most welcome since I'm in the throes of making some major
naming changes.

Pete
lcSQL Software <http://www.lcsql.com>
_______________________________________________
use-livecode mailing list
use-livecode@...
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Peter Haworth | 21 May 2013 19:30

Graphic effects parms

There are a couple of graphic effects parms in the Inspector that aren't
documented in the dictionary.

The dropShadow effect has a "knockout" parm which is a checkbox in the IDE
inspector.  The innerGlow effect has a "source" parm which is an option
menu in the IDE inspector but always seems to be disabled.  Looking at the
array for innerGlow, it has a value of "edge"

Any clues as to what these mystery parms might be?

I'm also having problems with the Inspecotr Graphic Effects tab in that the
parameters for all the effects except dropshadow are always disabled, even
though the effect is applied.  A good reason to use Scott's recent
tmEffects palette I guess!

Pete
lcSQL Software <http://www.lcsql.com>
_______________________________________________
use-livecode mailing list
use-livecode@...
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Sumner, Walt | 21 May 2013 18:05
Picon

Glassware?

Do we expect Livecode to be able to make glassware at some point? Just another android-linux system?
Stack=timeline, card=card?

Walton Sumner
_______________________________________________
use-livecode mailing list
use-livecode@...
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Richmond | 21 May 2013 17:10
Picon

Password protection?

So, I made a stack containing 1 button containing the script:

on mouseUp
    put "Wotcha"
end mouseUp

then made Linux, Mac and Windows standalones using LC 4.5 with a password
protecting the stack.

then made Linux, Mac and Windows standalones using LC 6.0.1 OSS (with NO 
password protection).

this all done on a box running Ubuntu 12.04.

The standalones for each OS from the 2 LC versions look functionally the 
same.

What I want to do is learn how I can "crack" the non-password protected 
standalones
so that I am actually convinced there is a REAL difference between them 
and those
that, supposedly, contain password protected stacks.

Even the Macintosh standalone, which is not a monolithic file but a 
series of nested directories and folders,
does not have anything obviously different in either of the standalones, 
nor anything that looks like a
raw stack.

Richmond.
(Continue reading)

Pascal Lehner | 21 May 2013 17:01
Picon
Gravatar

Mobile Bandwith and Battery Optimization

Hi everyone,

I just stumbled accross this video and the free online O'Reilly book from
Ilya Grigorik on "High Performance Browser Networking". Thought that might
be interesting to all the app developers out there..

Grigorik also spoke during Google I/O 2013 - Mobile Performance from the
Radio Up: Battery, Latency and Bandwidth Optimization:
http://www.youtube.com/watch?v=dASOm88Wh8g&feature=player_embedded

Greetz from a very sunny Edinburgh (that's day 2 of 2 from this years
summer..),

Pascal

--

Pascal Lehner

147/1 St Leonards Street
Edinburgh
EH8 9RB
United Kingdom

Mobile +44 79 706 31 400
www.forall.ch
http://about.me/pascal.lehner
_______________________________________________
use-livecode mailing list
use-livecode@...
(Continue reading)

Graham Pearson | 21 May 2013 15:39
Picon

Multiple Images on Card

As part of my learning LiveCode and moving an application from Adobe Air
I have come up with something that I have not been able to find in the
IDE. Does anyone know if it is possible to Zoom a card so that lines can
be matched up on different images.

I have inserted as control 20 images that make an entire picture and
have done it this way so that when a user hovers over a section of the
picture, it would change colors and upon clicking a section of the
picture it would display a new card with detailed information of the
section of the image selected.

The images started as Vector Images which I converted to a Symbol then
imported as a control in LiveCode. Once the lines have lined up then I
can reduce zoom back to 100% for the project.

_______________________________________________
use-livecode mailing list
use-livecode@...
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Martin Baxter | 21 May 2013 13:56
Picon

ziperr,illegal variable

When I run this in version 4.5.0:

on mouseUp

   put "/var/www/htdocs/ug/testarchive.zip" into tobjpath
   revZipOpenArchive tobjpath, "write"
   put "1) " & the result & return after msg

   put "doodah" into tdataxxx
   put "mimetype" into tparamxxx

   revZipAddUncompressedItemWithData tobjpath, tparamxxx, tdataxxx
   put "2) " & the result & return after msg

   revZipCloseArchive tobjpath

end mouseUp

No archive is created and the message box ends up with this in it:

1)
2) ziperr,illegal variable

The problem seems to be tdataxxx. If I comment out the line:
# put "doodah" into tdataxxx

the archive is created successfully containing a file called mimetype
but which contains the literal string "tdataxxx"

Can anyone shed any light on this?
(Continue reading)


Gmane