0

anybody help me please,
how can i change system date format in vb6.
thanks for reading this post,
thanks
i want to change system date format is
"dd-mm-yyyy"

3
Contributors
4
Replies
5
Views
6 Years
Discussion Span
Last Post by hkdani
0

thank you, but that not.I mean system date in OS.

If it's not the system date, what is date? What's wrong with using it?

Edited by WaltP: n/a

0

.I mean system date in OS.

Viaual Basic has no direct way of doing that. You have to use Win 32 API calls to do that.

If you want to just show the International Control Panel, do the following Shell "Control.exe intl.cpl" To set the format settings for the OS without having user intervention, you probably have to use CPIApplet API with the CPLINFO and NEWCPLINFO structures. This involves moderate to advanced knowledge of the C programming language, and also requires moderate to advanced experienced in working with the Windows APIs.

But you can declare these functions in Visual Basic as well as the structures and you should be able to do what you desire using VB6. You have asked a difficult question.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.