Nages,
where are these methods
METHOD SaveToDBF() VIRTUAL
METHOD ReadFromDBF() VIRTUAL
METHOD SaveAsText() VIRTUAL
METHOD RestoreFromText( cText ) VIRTUAL
METHOD WriteVCard() VIRTUAL
How I can make to go to the next record ?
How I can to save each record into dbf ?
How I can to export from dbf to vcf ?
thanks
VCard import
- Silvio.Falconi
- Posts: 4956
- Joined: Thu Oct 18, 2012 7:17 pm
Re: VCard import
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
Re: VCard import
The VIRTUAL clause is used so that these methods are defined in the classes that are created inheriting from the principal.
C. Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.
- Silvio.Falconi
- Posts: 4956
- Joined: Thu Oct 18, 2012 7:17 pm
Re: VCard import
Of course....
Cris let me see wich Is the principal class because i not see it
Please ready the Nages topic
and you found the tcard class I mean
http://forums.fivetechsupport.com/viewt ... 96#p143937
Cris let me see wich Is the principal class because i not see it
Please ready the Nages topic
and you found the tcard class I mean
http://forums.fivetechsupport.com/viewt ... 96#p143937
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
Re: VCard import
Silvio, where have you copied that code?Silvio.Falconi wrote:Nages,
where are these methods
METHOD SaveToDBF() VIRTUAL
METHOD ReadFromDBF() VIRTUAL
METHOD SaveAsText() VIRTUAL
METHOD RestoreFromText( cText ) VIRTUAL
METHOD WriteVCard() VIRTUAL
In the class where that code was, it is the main class or "parent" class
C. Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.
- Silvio.Falconi
- Posts: 4956
- Joined: Thu Oct 18, 2012 7:17 pm
Re: VCard import
Cris i insert the link on message ,there's no parent or inhereit class
Is wrote Only
Class Tvcard
I not see parent class
Is wrote Only
Class Tvcard
I not see parent class
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
Re: VCard import
Silvio, I think I have not explained myself well, or you have not understood my message.
When a method is declared VIRTUAL in a class (in this case TVCard), it is because the programmer will carry out a class (TMyVCard, for example) that will inherit from the initial (TVCard), and in that class the methods that are developed will be developed VIRTUAL declared in the initial class (TVCard).
When a method is declared VIRTUAL in a class (in this case TVCard), it is because the programmer will carry out a class (TMyVCard, for example) that will inherit from the initial (TVCard), and in that class the methods that are developed will be developed VIRTUAL declared in the initial class (TVCard).
C. Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.
- Silvio.Falconi
- Posts: 4956
- Joined: Thu Oct 18, 2012 7:17 pm
Re: VCard import
yes, I had arrived at this.
Then another problem that the tvcard class reads only the first record instead in the file there are so many.
I think it was made just to read only one vcard, in fact it only points to the first interval "BEGIN: VCARD", "END: VCARD"
but how can you make it read the next interval?
Having only one record is not difficult to insert on a dbf but
basically the problem for me is how to read the other records in the vcf file
maybe I will be able to resolve if I can turn the 00001.vcf file into as many vcf as there are records in my phone book.
but how to do this conversion?
Then another problem that the tvcard class reads only the first record instead in the file there are so many.
I think it was made just to read only one vcard, in fact it only points to the first interval "BEGIN: VCARD", "END: VCARD"
but how can you make it read the next interval?
Having only one record is not difficult to insert on a dbf but
basically the problem for me is how to read the other records in the vcf file
maybe I will be able to resolve if I can turn the 00001.vcf file into as many vcf as there are records in my phone book.
but how to do this conversion?
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC