Search found 151 matches

by plantenkennis
Thu Nov 24, 2016 7:32 pm
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: several get's in a loop
Replies: 3
Views: 1995

Re: several get's in a loop

Hello Antonio,

As I understand all defined classes are in an array. But how looks this array, is there an example anywhere?
If I ask:
oFld:aDialogs[2]:aControls[n]:ClassName()
, I get all classnames, but how to retrieve the name of the class (Like oGet1, oGet2...)

Rene
by plantenkennis
Wed Nov 23, 2016 9:48 pm
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: several get's in a loop
Replies: 3
Views: 1995

several get's in a loop

Hello Antonio, I use the CreatBlock function for some FOR-Next loops to build screens. Now I want to use it to get the value of several get properties in a loop. However I don't get this to work. Any suggestions? Here is what I use now: PUBLIC aGegevenTekst[0][2] AADD(aGegevenTekst, {'bloemkleur', '...
by plantenkennis
Wed Nov 16, 2016 7:07 pm
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: protecting an app for illigal copying
Replies: 16
Views: 6440

Re: protecting an app for illigal copying

Hello Antonio,

Both var give D as Valtype. The problem is solved by adding this setting at the top of the program:

SET DATE FORMAT TO 'dd-mm-yyyy'

Now I can calculate with the dates. :D

René
by plantenkennis
Wed Nov 16, 2016 7:12 am
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: protecting an app for illigal copying
Replies: 16
Views: 6440

Re: protecting an app for illigal copying

Hello Antonio,

Yes, there is the problem. I was expecting the number of days different between those dates, but i get a number like 36498. That is also not seconds of days....

Rene
by plantenkennis
Tue Nov 15, 2016 9:30 pm
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: protecting an app for illigal copying
Replies: 16
Views: 6440

Re: protecting an app for illigal copying

Hello Antonio, Here is a sample program on how I use the MacAdress to protect my program. The only thing I can't get to work is to calculate the days since the program is first opened. Normally I could calculate this by puting the first date in the registration key and when the program is opened aga...
by plantenkennis
Mon Nov 14, 2016 7:10 pm
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: protecting an app for illigal copying
Replies: 16
Views: 6440

Re: protecting an app for illigal copying

Hello Antonio,

Thanks for this function. Just what I needed.

Tomorrow I will make a sample prg on how to use this for protection

Greetings,

Rene
by plantenkennis
Sun Nov 13, 2016 2:32 pm
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: protecting an app for illigal copying
Replies: 16
Views: 6440

protecting an app for illigal copying

Hello Antonio, I want to protect my app from illigal copying/distibuting. In Windows I use the serial number of the harddisk where the app is installed on. This serial number is a 8 numbers HEX string like 'AE23 12BF'. In my app I calcutates with this string so users can only install the app on one ...
by plantenkennis
Tue Nov 08, 2016 9:23 pm
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: Distributing an app
Replies: 8
Views: 3422

Re: Distributing an app

Hello Antonio, Yes, Perfect, these functions do the trick. I have put my databases, photos and bitmaps in the app package. With the given functions I can open my databases and work with them. Thanks! René Tonight I will update the repositary with all new functionallity. You have to put the next fold...
by plantenkennis
Mon Nov 07, 2016 7:20 pm
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: Distributing an app
Replies: 8
Views: 3422

Re: Distributing an app

Hello Antonio, I have updated my Mac to Sierra (10.12) and now everything works fine again. Also updated SourceTree and everything is working smoothly again. Another question I have is: Can I place the databases and all other needed files in the app-package and if it is possible, how can I access th...
by plantenkennis
Thu Nov 03, 2016 7:31 pm
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: Distributing an app
Replies: 8
Views: 3422

Re: Distributing an app

Hello Antonio,

OK, that explains things. I have updated Xcode last week, but have not yet updated to Sierra.

A friend had some problems when he updated, due to security keys that didn't work anymore. (SSH 1024/2048). I will update this weekend and hope SourceTree will still work then.

René
by plantenkennis
Thu Nov 03, 2016 7:16 pm
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: Getting the texxt of an RichEdit control
Replies: 4
Views: 2279

Re: Getting the texxt of an RichEdit control

Hello Antonio,

Yes perfect, this works just like I wants.
Thanks for the great work. This way we build super apps for OS X

Greetings,

René
by plantenkennis
Wed Nov 02, 2016 7:18 pm
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: Distributing an app
Replies: 8
Views: 3422

Re: Distributing an app

Hello Antonio,

The strange thing is that I work on one laptop with MacOS 10.11 wich is the latest version. On this laptop I build my program. When I copy my program to another folder on the same laptop I get the warning.

I also don't believe there is a version 10.12 at this moment?
by plantenkennis
Wed Nov 02, 2016 7:14 pm
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: Getting the texxt of an RichEdit control
Replies: 4
Views: 2279

Re: Getting the texxt of an RichEdit control

Hello Antonio, Thanks for the prompt reply and the new libs. However when I use GetRTF() I get an error: 2016-11-02 20:11:28.191 Plantenkennis[2506:1349742] -[NSConcreteMutableData cStringUsingEncoding:]: unrecognized selector sent to instance 0x7f95b2f0b350 2016-11-02 20:11:28.192 Plantenkennis[250...
by plantenkennis
Tue Nov 01, 2016 10:29 pm
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: Getting the texxt of an RichEdit control
Replies: 4
Views: 2279

Getting the texxt of an RichEdit control

I have a window with a richedit control. How can I get the value of the text. oGet:GetString gives an error oGet:GetText gives the text without the RichEdit codes (bold, Italic...) This is my code: cTekst := {\rtf1\ansi\ansicpg1200\deff0\deflang1043{\fonttbl{\f0\fnil\fcharset0 TIMES NEW ROMAN;}} {\*...
by plantenkennis
Tue Nov 01, 2016 9:58 pm
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: Distributing an app
Replies: 8
Views: 3422

Distributing an app

Hello, When my app is ready I want to distribute it to other users. And at this moment I want to test my app by some other people. However, when I copy my app and the needed databases to another directory so I can share it, the app won't run anymore. There is a sign on the app logo and when I double...