Search found 30 matches

by ace16vitamine
Fri Jul 20, 2018 2:40 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Write config File
Replies: 3
Views: 83

Re: Write config File

Thank you Paul & Klaus,

I think the solution with the bin file is better for me and works fine, I already tested it on my play ground. The itemdelimiter is also a good Idea (I had this in my brains also before).

Stefan
by ace16vitamine
Fri Jul 20, 2018 11:37 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Write config File
Replies: 3
Views: 83

Write config File

Hi, i am writing informations into a configuration file line by line with put tpath & "/test.txt" into theFile put field "Field_DB_Server" into collected_data put CR & the field "Field_DB_user" after collected_data Later, I am reading the informations out of the file: put tpath & "/test.txt" into th...
by ace16vitamine
Wed Jul 11, 2018 7:28 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Memory grows and grows
Replies: 8
Views: 185

Re: Memory grows and grows

I can confirm that it is not growing with LC 9.0.1 RC1 Win. I can see some smaller thinks but thats normal, for me it looks like stable now.

Thank you for your help.

Stefan
by ace16vitamine
Tue Jul 10, 2018 11:29 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Memory grows and grows
Replies: 8
Views: 185

Re: Memory grows and grows

hm... Now it is funny: With 9.0.1 RC1... The process startet growing but it seems that it is stable now. Let me check it tomorrow morning.
by ace16vitamine
Tue Jul 10, 2018 8:42 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Memory grows and grows
Replies: 8
Views: 185

Re: Memory grows and grows

same issue with LC 9.0.1 RC1

Poll is every minute. After 8h the mem usage is now 1GB :shock:
by ace16vitamine
Tue Jul 10, 2018 4:24 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Memory grows and grows
Replies: 8
Views: 185

Re: Memory grows and grows

9.0.0 Build 15017
by ace16vitamine
Tue Jul 10, 2018 9:13 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Memory grows and grows
Replies: 8
Views: 185

Re: Memory grows and grows

I am not using timers (this was also my first Idea). To check the open sockets I am using the opensockets (..) in the message box, but all sockets are closes successful. What I find out: I have the same issue if a client connects to collect datas, the socket can be the problem. Every time the Client...
by ace16vitamine
Tue Jul 10, 2018 6:59 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Memory grows and grows
Replies: 8
Views: 185

Memory grows and grows

Hi, I have a small script and I have no Idea what is going on wrong. After 24h the application is frozen, I monitored the task manager and identified that the memory usage is growing and growing. The script is something like a HUB. It received datas from other Applications (over socket) every minute...
by ace16vitamine
Sun Jun 24, 2018 6:55 pm
Forum: Databases
Topic: SQL Date
Replies: 13
Views: 829

Re: SQL Date

Klaus wrote:
Fri Jun 22, 2018 4:39 pm
This (DATEADD) is a SQL-Server command, sure this works with SQLite?
See here: https://www.sqlite.org/lang_datefunc.html
As I wrote in the beginning:
In my MS SQL Database i have a date field:
My query is working with the lines I wrote on MS SQL Server. :-)
by ace16vitamine
Fri Jun 22, 2018 11:55 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Read / Write to SOCKET
Replies: 5
Views: 179

Re: Read / Write to SOCKET

hm, you are right and I can work with proxys. Do you now any example sources with livecode http communication?
by ace16vitamine
Fri Jun 22, 2018 7:04 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Read / Write to SOCKET
Replies: 5
Views: 179

Re: Read / Write to SOCKET

but might you need to explicitly open a socket when you write back from the server?
maybe. In the final version the client is behind a NAT Firewall, initial TCP communication is not possible from Server to Client.
I don't use sockets,
Alternatives are welcome. :-)

Stefan
by ace16vitamine
Fri Jun 22, 2018 5:19 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Read / Write to SOCKET
Replies: 5
Views: 179

Read / Write to SOCKET

Dear all, my application is sending informations (e.g. License Check) over a SOCKEZ to my Server. App -> ask to check license -> Server -> Valid yes/No -> App I do this simple with open socket to "localhost:8080" write socketfile to socket "localhost:8080" The Server is receiving the datas with acce...
by ace16vitamine
Fri Jun 22, 2018 3:59 pm
Forum: Databases
Topic: SQL Date
Replies: 13
Views: 829

Re: SQL Date

OK, I extended the select with

Code: Select all


put 5 into zeitraum_stunde
put "select orders from torder where creation >= DATEADD(MINUTE,-"& zeitraum_stunde &",GETDATE()) into sql34
to get only the last 5 houres as example.


Thanks!

Stefan
by ace16vitamine
Wed Jun 20, 2018 11:39 pm
Forum: Databases
Topic: SQL Date
Replies: 13
Views: 829

Re: SQL Date

Klaus wrote:
Wed Jun 20, 2018 9:31 pm

2. You need to do this manually like:

Code: Select all

...
put "2016-01-06 14:20:52.000" into tDaten
put word 1 of tDaten into tDatum
set itemdel to "-"
put item 2 of tDatum & "." & item 3 of tDatum & "." item 1 of tDatum into tDeutschesDatum
...
Perfect Klaus, you are the best :-)

Thank you
Stefan
by ace16vitamine
Wed Jun 20, 2018 9:15 pm
Forum: Databases
Topic: SQL Date
Replies: 13
Views: 829

SQL Date

Hi! In my MS SQL Database i have a date field: 2016-01-06 14:20:52.000 Now I am searching for two thinks: 1) In Livecode, I have a drop down list: Last 7 Days Last 30 Days Last 180 Days My Idea is to create a select like "SELECT dbdate from TABLE where dbdate > dropdown". Any Ideas for the Select? 2...

Go to advanced search