Re: Reginal Setting of short date
- From: "MikeD" <nobody@xxxxxxxxxxx>
- Date: Sat, 12 Jan 2008 15:58:49 -0500
"duke" <nospama@xxxxxxxx> wrote in message
news:f6977347-9e89-467e-8585-af46f52eae76@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
It seems my last posting as a reply to Bob was sent into the "Great
Internet Vacuum" as I notice it is not showing up at this discussion
group.
It had some snippets from my program, with some explanation as to what
I was doing, unfortunately, I did not keep a copy for myself.
Try using an actual newsreader rather than something web-based (it appears
you posted via google). A newsreader program would (most likely)
automatically keep a copy of all messages that you send. I merely use
Outlook Express and it saves every email and newsgroup post to the Sent
Items folder.
I am quite experienced in VB6
I don't mean any of this as a personal attack, so don't take anything I say
that way....
You might know VB6 very well, but if you think it's OK to change a user's
regional settings to accomodate your app, you don't know the "moralities" of
good and bad programming, which has nothing to do with programming
language(s). It has to do with the programmer.
and judging from your comments there is
no "One Click" fix for my program.
If this program had been written properly to begin with, there'd be no need
for a "one click fix" now, would there? <g>
This is a very intensive date oriented program and I know all the
changes I would have to make which would be very time consuming.
Being able to Localize the regional setting to my app only would be
what I call the one click solution.
But NOT a good one. You're gonna have to (or should) just bite the bullet
and put the time into your program to do this right.
I really was looking for a Yes or No answer to my original
question.... Which Judging from your comments is NO !!!
You're not going to find anybody (at least anybody who writes programs as
more than just a hobby) that's going to think it's "OK" for an app to change
a user's regional settings (or any personal settings for that matter) for
any purpose. Your app simply needs to accomodate whatever settings the user
has configured. With dates, it's not that hard to do if you simply avoid
using strings (i.e. String data type, textboxes for date fields, text or
character data types for databases columns, etc.) for those dates. If you
use the Date data type and controls like the DTPicker and MonthView and date
data types in your database, the format of the date is irrelevant; hence, no
reason to mess around with a user's regional date format settings. Now, if
your database is not an RDMS (perhaps it's just a random access file), you
may format it a specific way *when you save it*, but the entry and display
of the date in your program should conform to the user's regional settings.
That's what everyone's trying to tell you. I'm not sure you're actually
listening though.
--
Mike
Microsoft MVP Visual Basic
.
- Follow-Ups:
- Re: Reginal Setting of short date
- From: duke
- Re: Reginal Setting of short date
- From: Mike Williams
- Re: Reginal Setting of short date - OT
- From: Ralph
- Re: Reginal Setting of short date
- References:
- Reginal Setting of short date
- From: duke
- Re: Reginal Setting of short date
- From: Ken Halter
- Re: Reginal Setting of short date
- From: duke
- Reginal Setting of short date
- Prev by Date: Shortcut for IDE combo item "Common"
- Next by Date: Re: Reginal Setting of short date - OT
- Previous by thread: Re: Reginal Setting of short date - OT
- Next by thread: Re: Reginal Setting of short date - OT
- Index(es):
Relevant Pages
|