Click here to Skip to main content
15,879,535 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionPrinter Question Pin
BREdwards7-Apr-08 9:40
BREdwards7-Apr-08 9:40 
GeneralRe: Printer Question Pin
Dave Kreskowiak7-Apr-08 10:08
mveDave Kreskowiak7-Apr-08 10:08 
GeneralRe: Printer Question Pin
BREdwards8-Apr-08 2:55
BREdwards8-Apr-08 2:55 
GeneralRe: Printer Question Pin
Kschuler7-Apr-08 10:09
Kschuler7-Apr-08 10:09 
QuestionChange Crystal Report's formatting from runtime Pin
Smithers-Jones7-Apr-08 9:15
Smithers-Jones7-Apr-08 9:15 
GeneralRe: Change Crystal Report's formatting from runtime Pin
Kschuler7-Apr-08 9:22
Kschuler7-Apr-08 9:22 
GeneralRe: Change Crystal Report's formatting from runtime Pin
Smithers-Jones8-Apr-08 6:43
Smithers-Jones8-Apr-08 6:43 
QuestionDetect computer date format Pin
chargersfan4207-Apr-08 7:57
chargersfan4207-Apr-08 7:57 
Hello everyone,

I am new to this forum, and to posting in code forums in general, so i hope i have this in the right place, and i apologize if i don't.

I wrote a VB program that has a function that passes in the date (as an integer such as 28032008) and determines the name of the month (such as March) or the weekday (such as Friday). On my laptop it works great.

Then i tried putting it on another computer and i got the error message:
Conversion from string "28 03 2008" to date is invalid.

At first i thought it might need a .NET update, and after installing all of those, i still had the problem.

And then i realized what was happening - My computer displays the date (today) as 07/04/2008, but on the other computer it is shown as 04/07/2008, so my program and that computer are mixing up the day with the month.

Anyone have an idea how to detect the date format of the local computer so i can have my program adjust accordingly?

Thanks for reading,
Nicholas
GeneralRe: Detect computer date format Pin
Luc Pattyn7-Apr-08 8:13
sitebuilderLuc Pattyn7-Apr-08 8:13 
GeneralRe: Detect computer date format Pin
Mycroft Holmes7-Apr-08 21:55
professionalMycroft Holmes7-Apr-08 21:55 
GeneralRe: Detect computer date format Pin
chargersfan42010-Apr-08 11:20
chargersfan42010-Apr-08 11:20 
GeneralCreating toolbar like google toolbar in browser (cross browser) Pin
Member 40806847-Apr-08 4:47
Member 40806847-Apr-08 4:47 
GeneralRe: Creating toolbar like google toolbar in browser (cross browser) Pin
Dave Kreskowiak7-Apr-08 6:29
mveDave Kreskowiak7-Apr-08 6:29 
GeneralRe: Creating toolbar like google toolbar in browser (cross browser) Pin
Member 40806847-Apr-08 20:04
Member 40806847-Apr-08 20:04 
GeneralRe: Creating toolbar like google toolbar in browser (cross browser) Pin
Christian Graus7-Apr-08 20:20
protectorChristian Graus7-Apr-08 20:20 
GeneralRe: Creating toolbar like google toolbar in browser (cross browser) Pin
Dave Kreskowiak8-Apr-08 1:38
mveDave Kreskowiak8-Apr-08 1:38 
GeneralRe: Creating toolbar like google toolbar in browser (cross browser) Pin
Christian Graus7-Apr-08 11:28
protectorChristian Graus7-Apr-08 11:28 
Questionhow can i do calculation from datasource in vb.net Pin
Member 44429167-Apr-08 4:44
Member 44429167-Apr-08 4:44 
GeneralRe: how can i do calculation from datasource in vb.net Pin
Eduard Keilholz7-Apr-08 4:59
Eduard Keilholz7-Apr-08 4:59 
GeneralRe: how can i do calculation from datasource in vb.net [modified] Pin
Member 44429167-Apr-08 14:21
Member 44429167-Apr-08 14:21 
GeneralMenuStrip.GetItemAt returns Nothing Pin
Steven J Jowett7-Apr-08 4:04
Steven J Jowett7-Apr-08 4:04 
GeneralRe: MenuStrip.GetItemAt returns Nothing Pin
Luc Pattyn7-Apr-08 4:51
sitebuilderLuc Pattyn7-Apr-08 4:51 
GeneralRe: MenuStrip.GetItemAt returns Nothing Pin
Aks 0057-Apr-08 5:08
Aks 0057-Apr-08 5:08 
QuestionPeripherals list Pin
signo19767-Apr-08 3:58
signo19767-Apr-08 3:58 
GeneralRe: Peripherals list Pin
Steven J Jowett7-Apr-08 5:09
Steven J Jowett7-Apr-08 5:09 

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.