Jump to content

Data Interchange Format (.DIF) UDF


willichan
 Share

Recommended Posts

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 by willichan
Link to comment
Share on other sites

  • 10 years later...

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

Link to comment
Share on other sites

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...