MatsHulten
Programmer
When coding ASP you can use an object called Session to dynamically set the region settings for the output regardless of what the computer uses (when running the application under IIS that is).
The following code will write £125 to the calling browser, regardless of the regional settings of the server that executes the script:
Is it possible to write an Active-X component that behaves in the same way, without using IIS. That is write a business object that will behave as the regional settings are set up for England (UK), regardless of the regional settings locally on the computer, without altering the local settings?
-Mats Hulten
The following code will write £125 to the calling browser, regardless of the regional settings of the server that executes the script:
Code:
<%
Session.LCID = 2057
Dim curNumb
curNumb = FormatCurrency(125)
Response.Write (curNumb)
%>
Is it possible to write an Active-X component that behaves in the same way, without using IIS. That is write a business object that will behave as the regional settings are set up for England (UK), regardless of the regional settings locally on the computer, without altering the local settings?
-Mats Hulten