willichan Posted May 23, 2013 Share Posted May 23, 2013 (edited) I had a need for processing data that came in .DIF files, so I put this UDF together to handle the files. Hopefully, it will be of value to others here in the forums. DifHandler reads data from a .DIF file to an array, or writes data from an array to a .DIF file. I have also added support for the Microsoft mistake, and can read .DIF files generated by Excel. You can download it from here: https://www.dropbox.com/s/4z8m7kgqw7oi7e9/DifHandler.zip Please let me know if there are any problems or improvements. ---------- I have been finding that lots of applications do not adhere to the specs very well, so ... Here is version 2, written to be a little more forgiving. It will still set the appropriate @error value, but will still attempt to read the full DIF file, and return it in the array. https://www.dropbox.com/s/ld3s32kr621lms9/DifHandler_v2.zip Edited May 25, 2013 by willichan My UDFs: Barcode Libraries, Automate creation of any type of project folder, File Locking with Cooperative Semaphores, Inline binary files, Continue script after reboot, WinWaitMulti, Name Aggregator, Enigma, CornedBeef Hash Link to comment Share on other sites More sharing options...
willichan Posted May 25, 2013 Author Share Posted May 25, 2013 Version 2 uploaded. See post above. My UDFs: Barcode Libraries, Automate creation of any type of project folder, File Locking with Cooperative Semaphores, Inline binary files, Continue script after reboot, WinWaitMulti, Name Aggregator, Enigma, CornedBeef Hash Link to comment Share on other sites More sharing options...
willichan Posted September 6, 2023 Author Share Posted September 6, 2023 It has been a long time since I have touched this UDF, but I saw that someone (granted almost a year ago) was asking for it. Since I no longer maintain my Dropbox account, I will attach a copy of the UDF here. DifHandler.au3 mLipok 1 My UDFs: Barcode Libraries, Automate creation of any type of project folder, File Locking with Cooperative Semaphores, Inline binary files, Continue script after reboot, WinWaitMulti, Name Aggregator, Enigma, CornedBeef Hash Link to comment Share on other sites More sharing options...
water Posted September 6, 2023 Share Posted September 6, 2023 Added to the wiki My UDFs and Tutorials: Spoiler UDFs: Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki Link to comment Share on other sites More sharing options...
willichan Posted September 13, 2023 Author Share Posted September 13, 2023 Thanks, water. My UDFs: Barcode Libraries, Automate creation of any type of project folder, File Locking with Cooperative Semaphores, Inline binary files, Continue script after reboot, WinWaitMulti, Name Aggregator, Enigma, CornedBeef Hash Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now