Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
XMLTOCURSOR parser error
Message
From
16/05/2002 09:57:53
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00657038
Message ID:
00657405
Views:
36
This message has been marked as the solution to the initial question of the thread.
Leroy,
With this style xmltocursor wouldn't have flag 512 set :

XMLTOCURSOR(lcXML,'Departments')
Cetin

>>lcXML = FileToStr(cFullPathToXml)
>>xmltocursor(lcXML, ...)
>
>OK, the first line worked, put the file into the variable.
>Second line, gives error, File name is to long. I renamed the xml file to myxml.xml
>
>I even tried the following:
>Created a test form with four controls on the form. Textbox, 3 command buttons.
>the 1 command button will just call a GETFILE for an XML file and return the file to the textbox with the full path and filename, one to do the xmltocursor function and send it to a grid that is added on the fly, the other to exit.
>
>This thing works like clock work in development. or even when I compile and run the exe on my development machine. But when I go to test box, I get the Exact same error.
>
>  XML Parse Error:  No file was found. Line (0), Position (0). (null)
>
>
>I don't know what the deal is.
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform