A plug-in method
Every INVOICES plug-in that is to run on Windows Vista, Windows 7, or Windows Server 2008 R2 must contain this method. Before the plug-in is executed, INVOICES checks that it contains this method. If it does not, a warning is displayed. After closing the warning dialog, the plug-in will continue to run, but it may not function correctly.
The purpose of the method is to enable the plug-in to tell INVOICES that it is Vista-compliant.
The method itself is empty, except for the regular return value that should always be evtOK. IsVistaConverted() is used for checking purposes only, but its existence implies that you must follow some regulations about how configuration data is handled (see below).
Public Function IsVistaConverted()
IsVistaConverted = EHICOM.evtOK
End Function
When you include IsVistaConverted(), you cannot rely on a known location of the INI files. The way data is read from and written to INI files is handled differently. The location of the INI files and their section names are no longer passed in the Connect method. You must now use the Configuration object and its Segment and KeyValue properties to set or retrieve settings from the INI files.
Migrating INVOICES customizations to recent operating systems
Plug-in methods to use in INVOICES extensions