Solved

Determine Regional Settings through VB Code

Posted on 2004-04-12
1
727 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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

707 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now