Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Xmltocursor() Function
Message
De
13/05/2004 21:44:40
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
XML, XSD
Titre:
Xmltocursor() Function
Divers
Thread ID:
00903934
Message ID:
00903934
Vues:
53
Hi, I created a code that converts a cursor into an xml file and later on convert the xml file into a cursor. I used the VFP Functions CURSORTOXML and XMLTOCURSOR to do the job.
The code was running perfectly on my computer with Windows XP but when i run the code on a computer having Window2000 Professional, an error occurred when I started to extract the xml file into a cursor using the XMLTOCURSOR() function.


Here is the error Message: Ole Error Code 0x800401F3 Invalid Class String

Here is the code to give you an illustration:

cFilename = fullpath(curdir()) + 'Files\tblsysfiles.xml'
create cursor mycur(myfield C(50))
Insert into mycur(myfield) values ('MICHAEL')
cursortoxml("mycur",cFilename,1,512,0,"1")
xmltocursor(cFilename,'temp',512)


Did I miss something that triggered the error? Please Help


Thanks in advance...
Music Rocks www.musicreserve.blogspot.com
Success is 1% Inspiration & 99% Perspiration
God Sometimes Delays His Help to Test Our Faith and Energize Our Prayers
Our Boat May Be Tossed While He Sleeps, But He Wakes Up Before it Sinks.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform