[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details

How do I force a Windows program to access a file in an alternate location, other than the one that the program was hard coded to use?

Asked by SYSENG2007 in Microsoft Operating Systems, Server Applications

Tags: ini, windows, variable, alternate, location, terminal server, citrix, sigsock, topaz, symitar, xp embedded

I am in the process of rolling out Thin Clients that will be connecting to a Citrix Server running on Windows Server 2003.  The core application that the Thin Client users will be accessing on the Citrix Servers is a product called Symitar.  Symitar is a banking application.  The Thin Clients are XP Embedded and have Topaz USB Signature Pads attached to them.  The Signature pads are used when transactions are completed.  USB Sig Pads are not natively supported in Windows Server 2003 Terminal Services and Citrix Presentation Server 4.5   However, Topaz has created a program that runs on the server that will allow the information form the Sig pad to be transferred to the Terminal Server Session.  This works great with the testing application that Topaz supplies for testing the Sig pad functionality.  The testing application uses an ini file that is stored in the users profile\windows directory (sigplus.ini).  This file is unique to each user, thus creating a separate sigsock session for the signature pad information to be transferred to user's terminal server session.  This works very well!

Here is the issue:  The core application that we need to use the Signature Pads with also uses the Sigplus.ini file.  However, the application will only look in c:\windows\ for the Sigplus.ini.  This is an issue because this sigplus.ini file needs to be unique and is not.  Because of this, the core application used the same same file for everyone and the signature pads to not work.

The vendor will not change the location where program accesses the sigplus.ini.

I have tried using a variable (%username%) in the ini file, but the program does not treat %username% as a variable.

Any thoughts would be greatly appreciated!
[+][-]11/02/09 07:48 AM, ID: 25720418Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/02/09 09:12 AM, ID: 25721268Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/02/09 10:10 AM, ID: 25721872Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-92 - Hierarchy / EE_QW_3_20080625