Hi,
I couldn't find a newsgroup more suitable this one for my question so here
it goes.
I have made a VB dll (activeX) that runs on Windows 2003.
It's been installed many places and works fine however, there is one server
that doesn't process the pages correct.
It uses comma (,) instead of period (.) on values with decimals. I have
tried using VAL() function, but I can't get it to work right. The value is
converted to string when it is finished calculated.
I have made the component into an exe project and there it works fine.
I guess this is because running as exe, the "owner" running the process is
the local administrator and when it is a DLL it is the IUSR_<machinename>
that runs the process with default settings.
My question is where and how to make "IUSR_<machinename>" use different
settings (eg. Regional settings) as settings for all the calculations in the
dll. I need to control the settings "IUSR_" user uses.
I really hope there is someone that knows this...
In advance thanks a lot! The one with the correct answer will get a big
award in heaven. Thanks!
Kind regards,
Jon Haakon
--
------------------------------
Jon Haakon Ariansen
System Consultant
|