Search found 82 matches

by gilar
Fri Feb 08, 2019 2:31 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Failed to get content from the web in Windows 10
Replies: 12
Views: 887

Re: Failed to get content from the web in Windows 10

Sorry for late respond, .... here i did some experiment 1. Connect PC with Mobile Phone Data, and running livecode script ----> Still no luck 2. Try with Windows 10 on Laptop (Other Machine) in the same network - Work fine (so i guess this is Windows 10 Problem). Then i look out about Proxy ... i fo...
by gilar
Mon Feb 04, 2019 3:53 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Failed to get content from the web in Windows 10
Replies: 12
Views: 887

Re: Failed to get content from the web in Windows 10

@Jacque, 15 The stack the lesson posted by default uses that url already. Selection_001.png I really suspect this has something to do with Windows, and not Lc in this case, probably a firewall, or possibly an a/v setting. Of course, if someone is actually on Win10 and can test that lessons stack ou...
by gilar
Sun Feb 03, 2019 5:04 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Failed to get content from the web in Windows 10
Replies: 12
Views: 887

Re: Failed to get content from the web in Windows 10

Something is wrong with the URL. Can you post the lines of script you are using to get the content? Hi jacque ... this the code Actually it is livecode sample (it is not my code), I download it from here http://lessons.livecode.com/m/4071/l/7523-how-do-i-get-the-content-of-a-url-on-a-web-server-int...
by gilar
Sun Feb 03, 2019 8:47 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Failed to get content from the web in Windows 10
Replies: 12
Views: 887

Failed to get content from the web in Windows 10

I'm following this lesson.... to get conten from the web http://lessons.livecode.com/m/4071/l/7523-how-do-i-get-the-content-of-a-url-on-a-web-server-into-livecode Download the sample of the stack Get contents of web page.livecode Open the file with Livecode 8.1 and running it. But i can not get the ...
by gilar
Sat Sep 22, 2018 4:17 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Multiple Variable on Repeat Functrion .... ?
Replies: 2
Views: 326

Multiple Variable on Repeat Functrion .... ?

From what i know ... Repeat function usually only one variable ex: repeat with i = 1 to 12 -------- end repeat Is it possible to put 2 or more variable on repeat function? ex: repeat with i = 1 to 10, and j with = 10 to 20 (try this code but no luck) -------- end repeat this is my code on mouseUp re...
by gilar
Wed Sep 19, 2018 7:52 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: revXMLNodeContents to DataGrid
Replies: 10
Views: 807

Re: revXMLNodeContents to DataGrid

Hi Klaus you are pretty cool ...

your code work like a charm
now i can save much time

Thank you very much
God Bless you
by gilar
Wed Sep 19, 2018 7:15 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: revXMLNodeContents to DataGrid
Replies: 10
Views: 807

Re: revXMLNodeContents to DataGrid

Hi Gilar, I meant to fill the array for the datagrid directly in your XML repeat loop without using millions of variables. Like this in one loop: local sXMLID local theDataA ## if neccessary on populateFieldsHomeTeam repeat with i = 1 to 12 put revXMLNodeContents(sXMLID, "xml/teams/players[" & i & ...
by gilar
Wed Sep 19, 2018 7:09 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: revXMLNodeContents to DataGrid
Replies: 10
Views: 807

Re: revXMLNodeContents to DataGrid

Hi Klause ..... finally i can solve this problem put revXMLNodeContents(sXMLID, "xml/teams[2]/players[1]/pno") into tNo1 put revXMLNodeContents(sXMLID, "xml/teams[2]/players[2]/pno") into tNo2 put revXMLNodeContents(sXMLID, "xml/teams[2]/players[3]/pno") into tNo3 put revXMLNodeContents(sXMLID, "xml...
by gilar
Wed Sep 19, 2018 6:10 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: revXMLNodeContents to DataGrid
Replies: 10
Views: 807

Re: revXMLNodeContents to DataGrid

Hi Klaus .... you again. Thank You very much .... Your code work like a charm ... love it. repeat with i = 1 to 12 do ("put tFamilyName" & i && "into theDataA[" & i & "][" & "FamilyName" & "]") end repeat Now I'm trying to do the same way for this put revXMLNodeContents(sXMLID, "xml/teams[2]/players...
by gilar
Wed Sep 19, 2018 6:02 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: revXMLNodeContents to DataGrid
Replies: 10
Views: 807

Re: revXMLNodeContents to DataGrid

I'm follow this Tutorial https://drive.google.com/drive/folders/0B7dU_Bb5G5zpfldBTWdXTm80SFpqeGNsU0lLbGNlMUxGZy1jZ0NvNFJKS1lST3RPc2x2N1k and make same modify code finnally i can get the conten of XML with revXMLNodeContents and populate into DataGrid for anyone who has the same problem with me Hope ...
by gilar
Tue Sep 18, 2018 3:37 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: revXMLNodeContents to DataGrid
Replies: 10
Views: 807

Re: How to Get conten of XML with the same Tag

Hi -hh ... thanks for replay ...
I just try your code but nothing happen in livecode...
by gilar
Mon Sep 17, 2018 5:13 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: revXMLNodeContents to DataGrid
Replies: 10
Views: 807

revXMLNodeContents to DataGrid

Hello every body .... I have been trying to grab content of XML and i Have successed with this code on mouseUp put url "file:D:/ASIAN-PARA GAMES/Asset/For Broadcast XML/Basketball Xml/teams.xml" into tURL put revCreateXMLTree(tURL, false, true, false) into tDocID put revXMLNodeContents(tDocID,"xml/t...
by gilar
Mon Sep 10, 2018 4:40 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Get content of DataGrid row with mouse double-click
Replies: 7
Views: 698

Re: Get content of DataGrid row with mouse double-click

Finally i can make it with this code on mouseDoubleUp //put the dgHilitedLines of group "riders_tbl" into theLine selectClient end mouseDoubleUp on selectClient if the dgprop["hilite color"] of group "riders_tbl" is "0, 255, 255" then set the dgprop["hilite color"] of group "riders_tbl" to "255, 0, ...
by gilar
Mon Sep 10, 2018 2:32 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Get content of DataGrid row with mouse double-click
Replies: 7
Views: 698

Re: Get content of DataGrid row with mouse double-click

Hi again Klaus .... :) ... put tSelected["id"]... ... put tSelected["No."] into fld "No._fld" put tSelected["Name"] into fld "Name_fld" put tSelected["Laps"] into fld "Laps_fld" put tSelected["Col5"] into fld "Col5_fld" ... Still got an error, after I delete some line of the script finally success A...
by gilar
Mon Sep 10, 2018 2:29 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Get content of DataGrid row with mouse double-click
Replies: 7
Views: 698

Re: Get content of DataGrid row with mouse double-click

I try delete some line of the code and it is work on mouseDoubleUp selectClient end mouseDoubleUp on selectClient put the dgHilitedLines of grp "riders_tbl" into tLine put the dgDataOfLine[tLine] of group "riders_tbl" into tSelected put tSelected["No."] into fld "No._fld" put tSelected["Name"] into ...

Go to advanced search