Click here to Skip to main content
15,897,704 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Calling a dll from vb.net Pin
Jon_Boy3-Apr-09 2:09
Jon_Boy3-Apr-09 2:09 
QuestionWindows Message API problem for LVM_GETITEMTEXT Pin
Joshi, Rushikesh1-Apr-09 19:26
professionalJoshi, Rushikesh1-Apr-09 19:26 
QuestionCompare Two ListBoxes [modified] Pin
kjalandoon1-Apr-09 18:05
kjalandoon1-Apr-09 18:05 
AnswerRe: Compare Two ListBoxes Pin
DaveAuld1-Apr-09 21:24
professionalDaveAuld1-Apr-09 21:24 
GeneralRe: Compare Two ListBoxes Pin
kjalandoon1-Apr-09 21:42
kjalandoon1-Apr-09 21:42 
Questionvb.net dataset object being exported and formatted in excel Pin
jazzgirl1-Apr-09 17:13
jazzgirl1-Apr-09 17:13 
Questionserious problem need serious help Ö Pin
udikantz1-Apr-09 16:42
udikantz1-Apr-09 16:42 
AnswerRe: serious problem need serious help Ö Pin
Luc Pattyn2-Apr-09 5:08
sitebuilderLuc Pattyn2-Apr-09 5:08 
Hi,

AFAIK there is no way to fix the culture info for an entire app, you can only set it on the thread level using Application.CurrentCulture or Thread.CurrentCulture. And there not being a way is an indication you are not expected to need it either...

Here are some guidelines:
- you should not fix the culture info on input/output intended for human consumption; the user chooses the culture through the Regional Settings control panel and all the apps should obey that choice.
- you should fix the culture info for culture-invariant data storage such as databases, allowing international cooperation on such data. ISO 8601 sets the standard for these.
- Since threads can be involved in both human I/O and database I/O you can't possibly have it all automatically. Hence the suggestion to keep the threads at the regional settings, so human I/O is fine, and explicitly code for culture-invariant I/O where appropriate.

FWIW: object orientation should prevent any detail to appear a kazzillion times whatever the size of the app is.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

- before you ask a question here, search CodeProject, then Google
- the quality and detail of your question reflects on the effectiveness of the help you are likely to get
- use the code block button (PRE tags) to preserve formatting when showing multi-line code snippets


GeneralRe: serious problem need serious help Ö Pin
Mehdi_S3-Sep-09 4:03
Mehdi_S3-Sep-09 4:03 
GeneralRe: serious problem need serious help Ö Pin
Luc Pattyn3-Sep-09 5:13
sitebuilderLuc Pattyn3-Sep-09 5:13 
QuestionsGrid2: Stop Resizing the Header when Column Width is out of range of Max width or Min Width Pin
VBAdvisor1-Apr-09 15:42
VBAdvisor1-Apr-09 15:42 
AnswerRe: sGrid2: Stop Resizing the Header when Column Width is out of range of Max width or Min Width Pin
VBAdvisor1-Apr-09 20:49
VBAdvisor1-Apr-09 20:49 
GeneralRe: sGrid2: Stop Resizing the Header when Column Width is out of range of Max width or Min Width Pin
VBAdvisor4-Apr-09 13:46
VBAdvisor4-Apr-09 13:46 
QuestionHow to read the public class name into a string Pin
C#Coudou1-Apr-09 14:23
C#Coudou1-Apr-09 14:23 
AnswerRe: How to read the public class name into a string Pin
Tom Deketelaere1-Apr-09 21:07
professionalTom Deketelaere1-Apr-09 21:07 
Questionunrardll referencing problem Pin
vaughan5121-Apr-09 11:07
vaughan5121-Apr-09 11:07 
AnswerRe: unrardll referencing problem Pin
Dave Kreskowiak2-Apr-09 5:39
mveDave Kreskowiak2-Apr-09 5:39 
GeneralRe: unrardll referencing problem Pin
vaughan5122-Apr-09 22:29
vaughan5122-Apr-09 22:29 
QuestionEnsureVisible in TreeView: how to ensure that horiz. scrollbar is aligned left Pin
mp00011-Apr-09 10:45
mp00011-Apr-09 10:45 
AnswerRe: EnsureVisible in TreeView: how to ensure that horiz. scrollbar is aligned left [modified] Pin
Henry Minute1-Apr-09 12:41
Henry Minute1-Apr-09 12:41 
GeneralRe: EnsureVisible in TreeView: how to ensure that horiz. scrollbar is aligned left Pin
mp00017-Apr-09 5:31
mp00017-Apr-09 5:31 
QuestionDatabase + listbox with image or icon example Pin
wgarnett1-Apr-09 5:53
wgarnett1-Apr-09 5:53 
AnswerRe: Database + listbox with image or icon example Pin
Henry Minute1-Apr-09 10:35
Henry Minute1-Apr-09 10:35 
GeneralRe: Database + listbox with image or icon example Pin
wgarnett1-Apr-09 15:24
wgarnett1-Apr-09 15:24 
AnswerRe: CROSSPOST DO NOT REPLY!! Pin
Henry Minute2-Apr-09 11:32
Henry Minute2-Apr-09 11:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.