here's what i have to do:
1. i receive a compressed xml file...which is simply a file witout extension
2. i rename this file through navision, adding .zip extention (i can't do file.open and then file.rename as i can't open an extensionless file)
3. i extract the file
4. i rename the extracted file, adding .xml at the end (also the extracted file has not got extention)
how can i achieve this?i tried to search the net, but i only found how to compress and not vice versa...thanks in advance
-Mirko-
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog0
Comments
Try searching MSDN for some of the Windows automations that you might be able to use within the NAV client. You might even be able to get access to the basic zip functionality in the OS.
I once used the following component to zip and unzip files:
http://www.xstandard.com/en/documentation/xzip/
It works this this:
Object Manager
BTW, i also found this
http://dynamicsuser.net/blogs/dynamicslife/archive/2007/10/09/dl-zip-manipulations-using-windows-features.aspx
but i couldn't understand how it can be used to extract files...
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
Does the trick
Dynamics Nav Add-ons
http://www.simplydynamics.ie/Addons.html
@DaveT: i can't get it work, maybe there's something wrong in my zip file?
here's my code
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog