Reference DLL for validation script.

Reference DLL for validation script.

Postby » Wed Jun 18, 2014 11:07 am

We developed several validation scripts that are using some custom DLLs as references. But the script works only when we put these DLLs in the \\Kofax\Capture\Bin folder of local indexing stations.
Is it a way to refer DLLs for validation script from the server?
Participant
 
Posts: 51
Joined: Thu Jul 19, 2012 12:06 pm

Re: Reference DLL for validation script.

Postby » Wed Jun 18, 2014 1:24 pm

Are you using .NET validation scripts? If so you can handle the Appdomain.AssemblyResolve event. There's an example at the link below:
http://stackoverflow.com/questions/1373100/how-to-add-folder-to-assembly-search-path-at-runtime-in-net
Some explanation on the event handler is here (see Method 3):
http://support.microsoft.com/kb/837908
Best Regards,

Daniel Kekesi
DocSoft Hungary
Image
Participant
 
Posts: 2569
Joined: Thu Dec 08, 2005 12:56 am
Location: Budapest, Hungary


Return to Custom Modules General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron