Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Save XML file using Explorer
Message
From
09/11/2021 07:52:29
Luis Santos
Biglevel-Soluções Informáticas, Lda
Portugal
 
 
To
09/11/2021 07:29:44
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01682662
Message ID:
01682664
Views:
36
>Hello comunity,
>
>I build a program to create an XML file, but i have a problem because when i use PUTFILE() i cannot create my XML file on the location.
>Here is my code:
>
gcDelimFile = Putfile([guardar como] , 'finalXML' , 'Xml')
m.xml_file_name = StrToFile(finalXML,"finalXML.XML") 
If !Empty(m.gcDelimFile)
	Copy To (gcDelimFile) &&Type XML
...
You got a little confused here. Perhaps it should have been like this:
gcDelimFile = Putfile([guardar como] , 'finalXML' , 'Xml')
If !Empty(m.gcDelimFile)
	StrToFile(finalXML, gcDelimFile)
...
Hello Dragan,

Yes, you absolutely right, I´am really confused :)

Many thanks for your help !

Best regards,
Luis
Previous
Reply
Map
View

Click here to load this message in the networking platform