For Programmers: Free Programming Magazines  


Home > Archive > Visual Basic Syntax > March 2006 > Calender Program









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Calender Program
Brian F.

2006-03-09, 7:01 pm

I don't know if I am in the right area or not, but I have a little calender
program that a friend wrote and on some computers the first day of the w
starts on Sunday and on the others, it starts on Monday. There are 4 files
that make up this program, a .EXE, .FRM, .VBP, and .VBW file. I figure it
has more to do with a setting on the computer rather than the program itself.
If anyone has suggestions, I would be greatly appreciated. Thanks.

Brian
Randy Birch

2006-03-09, 9:57 pm

The local (regional settings) of the computer determine what date is used as
the first day of the w. If you download this demo, build it to an exe,
and give and run it on various machines you'll see the differences. Pay
attention to the value returned from LOCALE_IFIRSTDAYOFWEEK, which is shown
in the demo in the second-last text box.
http://vbnet.mvps.org/code/locale/localedates.htm

--

Randy Birch
MS MVP Visual Basic
http://vbnet.mvps.org/

Please reply to the newsgroups so all can participate.




"Brian F." <Brian F.@discussions.microsoft.com> wrote in message
news:7B8795D3-0195-498C-95AC-6C78B8E9EF54@microsoft.com...
I don't know if I am in the right area or not, but I have a little calender
program that a friend wrote and on some computers the first day of the w
starts on Sunday and on the others, it starts on Monday. There are 4 files
that make up this program, a .EXE, .FRM, .VBP, and .VBW file. I figure it
has more to do with a setting on the computer rather than the program
itself.
If anyone has suggestions, I would be greatly appreciated. Thanks.

Brian

Brian F.

2006-03-15, 7:01 pm

That program did show me the differences, thanks for the information. Now I
need to figure out where to go to change it on the machine. I have a machine
that I want to start on Sunday and it wants to start on Monday. Thanks agian.

Brian

"Randy Birch" wrote:

> The local (regional settings) of the computer determine what date is used as
> the first day of the w. If you download this demo, build it to an exe,
> and give and run it on various machines you'll see the differences. Pay
> attention to the value returned from LOCALE_IFIRSTDAYOFWEEK, which is shown
> in the demo in the second-last text box.
> http://vbnet.mvps.org/code/locale/localedates.htm
>
> --
>
> Randy Birch
> MS MVP Visual Basic
> http://vbnet.mvps.org/
>
> Please reply to the newsgroups so all can participate.
>
>
>
>
> "Brian F." <Brian F.@discussions.microsoft.com> wrote in message
> news:7B8795D3-0195-498C-95AC-6C78B8E9EF54@microsoft.com...
> I don't know if I am in the right area or not, but I have a little calender
> program that a friend wrote and on some computers the first day of the w
> starts on Sunday and on the others, it starts on Monday. There are 4 files
> that make up this program, a .EXE, .FRM, .VBP, and .VBW file. I figure it
> has more to do with a setting on the computer rather than the program
> itself.
> If anyone has suggestions, I would be greatly appreciated. Thanks.
>
> Brian
>
>

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com