Solved

Determine Regional Settings through VB Code

Posted on 2004-04-12
1
729 Views
Last Modified: 2007-12-19
Hi,
As you know, SQL statements can become confused when Regional Settings place the Month and Date values in different orders.  I have some Canadian folks using my software and when January 12th is listed as 12/1/2004, it wreaks havoc on my code.

I'm just wondering if the API exposes anything that could help me determine what Regional Settings the user has turned on.  It's a limited scope and I'm not that interested in changing all my SQL statements just for this reason.

Thanks in advance
JM
0
Comment
Question by:jmerritt
1 Comment
 
LVL 26

Accepted Solution

by:
EDDYKT earned 125 total points
ID: 10805794
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question