IsVistaConverted method

This is a plug-in method.

Description

Every ReadSoft 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, ReadSoft 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 ReadSoft 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).

Usage

Public Function IsVistaConverted()

	IsVistaConverted = EHICOM.evtOK

End Function

What has changed with Windows Vista, Windows 7, and Windows Server 2008 R2?

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.

Related topics

Migrate Kofax ReadSoft Invoices customizations to recent operating systems

Plug-in methods to use in Kofax ReadSoft Invoices extensions

Initialize Kofax ReadSoft Invoices extensions

Use an ActiveX object as a Kofax ReadSoft Invoices extension