In one of my solutions I create a lot of Excel and PDF documents. All these documents are stored in BLOB fields and then downloaded to the client computer temporary folder and opened for the user. Every time I use … Continue reading →
To follow up the post about writing a text file with Automation I would also like to post about reading a text file with that same Automation. Now we add the automation automation ‘Windows Script Host Object Model’.File. First you … Continue reading →
By using the Automation “‘Microsoft Shell Controls And Automation’.Shell” you can unzip a file within Dynamics NAV. Create a Global Name DataType Subtype SystemShellControl Automation ‘Microsoft Shell Controls And Automation’.Shell SystemShellItem Automation ‘Microsoft...
In Dynamic NAV it is possible to use the Automation “‘Microsoft XML, v6.0′.XMLHTTP” to download files. The code would be IF ISCLEAR(WinHTTP) THEN CREATE(WinHTTP,TRUE,FALSE); WinHTTP.open('GET',URL,FALSE); WinHTTP.send(''); IF WinHTTP.status <> 200 THEN...