Solved

How to change system date format with VB?

Posted on 2004-08-13
4
1,347 Views
Last Modified: 2008-01-09
Hi friends!

  I have developed an application in VB 6.0, which requires the
system date format to be 'dd/mm/yyyy' to function properly.At
present, I'm changeing it from the control panel before installing
the application in each system.

  Is there any way to change it programmatically? If so, please
give me the coding to change the system date format.

  Thank You!
0
Comment
Question by:vkani
4 Comments
 
LVL 19

Accepted Solution

by:
Shauli earned 100 total points
ID: 11798762
0
 
LVL 76

Expert Comment

by:GrahamSkan
ID: 11799041
I would suggest that you change the application to use whatever the date format the user has chosen. Some users might have want it the way that they have set it.
The VB Date/time value is the same regardless of the display format.
0
 
LVL 4

Expert Comment

by:ark4877
ID: 11800975
0
 
LVL 1

Author Comment

by:vkani
ID: 11803350
Thank you Shauli,
           your link gave me exactly what I was looking for.

0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

832 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