Hello all,
I have a pretty simple question. Users will possibly have one of two different versions of the Laserfiche Client. They might have the Laserfiche Client 8.3 or they might be upgraded to version 10.3.
The tricky part is, I am trying to write code that will work on both versions of the clients in which I can launch the client and perform a search. So I have code like this:
try { SearchOptions serO = new SearchOptions(); /*...Assign search options here...*/ LaunchOptions launO = new LaunchOptions(); /*...Assign launch options here...*/ ClientInstance cliIn; ClientManager cliMan = new ClientManager(); //On Laserfiche Client 10.3 this works and searches fine, on Laserfiche Client 8.3 it throws and error "Timeout waiting for client startup" cliIn = cliMan.LaunchClient(launO); /* Additional code here to search, never gets here on Laserfiche Client 8.3. */ } catch { //Comes here after erroring: "Timeout waiting for client startup" }
Is there any way around this? Somehow read the version of the client installed on the machine and launch the Laserfiche 8.3 Client a different way? It's probably recommended to upgrade all users to the most current version obviously, but I was just wondering if this is something that can be done.
Thanks in advance for any help/suggestions.