Has anyone got some VB code to force the regional settings (in the Windows control panel) to a certain value : I’m mainly interested in how to set the date and time format to a certain format Cheers, Tarek
Tarek, http://www.freevbcode.com/ShowCode.Asp?ID=116 contains some code for setting and getting localization info using the Win32 API. That site is generally highly recommendable for VB programming.
Or you can use a small distributed freeware called SETLOCALE.EXE. just give the Windows language Name & Keybord layout you want to set as parameters. It affects the User locale Settings. Let me know if you need it!
Hej Johan, Yes please do send it to me Cheers, Tarek
Hej Johan Maybe You could upload that little tool in the upload section (if it’s working) or mibusi.com? /Lars