Highlighted

Export XML Data to a specified file

Avatar

Guest

11-09-2008

Hello everyone,

I'm trying to export the Data from a form, to a specified path and filename.

Using hox.exportdata("",0) I can have a dialog box.

But I would like to force the path and have something like :

host.exportdata("c:\Myfile.xml",0)



But this doesn't work where the host.importdata("c:\Mysile.xml") is working...



Thanks for your help

Replies

Highlighted

pguerett

12-09-2008

You cannot export without the user's knowledge. The security on that call was changed in version 8 to force th euser to choose a location (so that you could not save with out the users knowledge).