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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Programming multinationally, choosing region settings dynamically

Status
Not open for further replies.

MatsHulten

Programmer
Dec 29, 2000
180
SE
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:
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

 
Oops, wrong forum.
Crossposted to thread222-76479

-Mats
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top