Wsw_SelectPlugin

Top  Previous  Next

Sub Wsw_SelectPlugin(ByRef $bCancelSelect)

 

This function is called when a user selects a Plugin. This function can test if all conditions are met (for example the existence of an external converter) and cancel the selection if required.

 

Parameters

 

$bCancelSelect ... Boolean. Default value is False. Set it to True if the Plugin selection should be canceled.

 

Example:

Sub Wsw_SelectPlugin(ByRef $bCancelSelect)

   

   If Not FileExists("c:\converter\doc2txt.exe") Then

      MsgBox("The file ""doc2txt.exe"" was Not found!")

      $bCancelSelect = True

   End If

End Sub