Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Regional Settings - sshortdate

Status
Not open for further replies.

jeffinperth

Technical User
Sep 30, 2002
52
0
0
AU
Hi All,
We are using Metaframe Presentation Server for Windows 4.0

We have one appliaction that needs a sshortdate of regional settings to be dd/MM/yyyy.
We decided to setup a published application server with this set just for this one application.

The issue we have is that all our other citrix servers have the shortdate set to d/MM/yyyy, and when we start the published application, it checks for the sshortdate, and of course only the published appliaction server has the correct date set and the application will not start.

So, Before we start the published application, we need to set the date format to dd/MM/yyyy just to launch the application, but set it back to d/MM/yyyy once the application is launched.

Hope this is clear - any help greatly appreciated.

jeff

 
Hi
You will find these settings in the registry under HKEY_CURRENT_USER. What if you create two registry files that both contain the sshortdate value but with different data. I am not sure if this will work but you could try to you create a cmd-file to start the application. Make the first command line in that file an import of the reg-fil that contains the dd/MM/yyyy setting. The next command line in the file launches the application with the command start application.exe and then you finish of with a command that imports the last reg-file that sets the date format back to d/MM/yyyy.
Just an idea.

/Hof
 
Hi Hof,
Yeah, we thought of this, tried updating the registry with a .reg file and also via a .vbs script.
although we can see that we have modified the registry, the application still complains about the sshortdate, almost like the value gets read and stored at session startup :(
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top