Click here to Skip to main content
15,901,505 members
Home / Discussions / Visual Basic
   

Visual Basic

 
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 
GeneralRe: serious problem need serious help Ö Pin
Mehdi_S3-Sep-09 4:03
Mehdi_S3-Sep-09 4:03 
I basicly have the same problem:

I was trying to set the CurrentCulture of my application to en-US. I used the following source code:

System.Threading.Thread.CurrentThread.CurrentCulture = System.Globalization.CultureInfo.CreateSpecificCulture("en-US");
System.Threading.Thread.CurrentThread.CurrentUICulture = System.Threading.Thread.CurrentThread.CurrentCulture;


My solution consists in a HMI interface and a dll project. in the runtime mode, the HMI interface is set to en-US (had a label choing it each 1 second for test) but when executing things in the DLL project, I noticied that the CurrentCulture is getting back to fr-FR.

I read on the net that when creating threads, we have to change their CurrentCulture too but I'm not creating Threads. In other hands, I'm using delegates for the callbacks. Could they be the source of that?

For now, I'm forcing that by adding the 2 lines at the beginning of the procedure I'm using to get numeric input (which are using "." as separation). But this solution is not the best solution I guess.

Could anyone help me please?
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 
GeneralRe: CROSSPOST DO NOT REPLY!! Pin
wgarnett2-Apr-09 16:40
wgarnett2-Apr-09 16:40 

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.