Click here to Skip to main content
15,892,697 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: scanner interaction with vb through API or any solution Pin
3-Feb-02 21:32
suss3-Feb-02 21:32 
GeneralImplementing Sound into VBasic Programs Pin
Aleksey Suvorov3-Feb-02 4:57
Aleksey Suvorov3-Feb-02 4:57 
GeneralRe: Implementing Sound into VBasic Programs Pin
James R. Twine6-Feb-02 4:37
James R. Twine6-Feb-02 4:37 
GeneralRe: Implementing Sound into VBasic Programs Pin
tppradeep1812-Feb-02 23:31
tppradeep1812-Feb-02 23:31 
GeneralRe: Implementing Sound into VBasic Programs Pin
alex.barylski16-Feb-02 14:41
alex.barylski16-Feb-02 14:41 
GeneralSaving the last value of variable Pin
Ahuva2-Feb-02 2:08
Ahuva2-Feb-02 2:08 
GeneralRe: Saving the last value of variable Pin
chris foote2-Feb-02 6:44
chris foote2-Feb-02 6:44 
GeneralVB & International Number Format Pin
Thomas Blenkers1-Feb-02 6:30
Thomas Blenkers1-Feb-02 6:30 
Hi folks,

I'm rather inexperienced with VB, but since this is pretty easy with VC, I hope some of you gurus out there has done it before or has a hint.

Think of a calculation, where you have a result of, 3/4 = 0.75

If I simply use the code ResultWindow = 3/4 the VB form will display "0.75" as desired. BUT: some languages, including German, use a different format, the figure above should be written "0,75"

Speaking Windows, I'd rather get and put the number format as specified in the control panel.

Anyone has an idea to do VB excatly this?

Thomas



BTW: for VC, this piece of code in OnInitInstance does all the job:
setlocale( LC_ALL, "" );
GeneralRe: VB & International Number Format Pin
Konstantin Vasserman1-Feb-02 18:57
Konstantin Vasserman1-Feb-02 18:57 
GeneralDrag and Drop Confusion in VBA Pin
Shaggy31-Jan-02 8:28
Shaggy31-Jan-02 8:28 
GeneralUsing the internal speaker Pin
30-Jan-02 11:53
suss30-Jan-02 11:53 
GeneralRe: Using the internal speaker Pin
Jeremy Falcon18-Feb-02 9:17
professionalJeremy Falcon18-Feb-02 9:17 
GeneralRe: Using the internal speaker Pin
25-Feb-02 16:29
suss25-Feb-02 16:29 
GeneralApp data storage on PocketPC Pin
30-Jan-02 3:51
suss30-Jan-02 3:51 
GeneralURGENT Pin
Member 1697729-Jan-02 4:40
Member 1697729-Jan-02 4:40 
GeneralRe: URGENT Pin
Andrew Peace30-Jan-02 11:17
Andrew Peace30-Jan-02 11:17 
GeneralRe: URGENT Pin
Firoz30-Jan-02 18:41
Firoz30-Jan-02 18:41 
GeneralProblem with shell running asynchronously Pin
Carolina28-Jan-02 2:26
Carolina28-Jan-02 2:26 
GeneralRe: Problem with shell running asynchronously Pin
Carlos Antollini28-Jan-02 3:09
Carlos Antollini28-Jan-02 3:09 
GeneralRe: Problem with shell running asynchronously Pin
Carolina28-Jan-02 4:33
Carolina28-Jan-02 4:33 
GeneralIcons on menus not working under XP Pin
David Wengier27-Jan-02 13:36
David Wengier27-Jan-02 13:36 
GeneralVB 5 doesn't compile project Pin
26-Jan-02 5:29
suss26-Jan-02 5:29 
GeneralDependencies Pin
Steve Thresher25-Jan-02 0:45
Steve Thresher25-Jan-02 0:45 
GeneralRe: Dependencies Pin
Steve Thresher25-Jan-02 2:47
Steve Thresher25-Jan-02 2:47 
GeneralResource File Compiler Pin
23-Jan-02 14:34
suss23-Jan-02 14:34 

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.