Click here to Skip to main content
15,888,461 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionValue \ or / Value = Boolean Pin
Scott_Roberts2-Mar-07 15:04
Scott_Roberts2-Mar-07 15:04 
AnswerRe: Value \ or / Value = Boolean Pin
Scott_Roberts2-Mar-07 15:47
Scott_Roberts2-Mar-07 15:47 
GeneralRe: Value \ or / Value = Boolean Pin
Dave Kreskowiak2-Mar-07 17:17
mveDave Kreskowiak2-Mar-07 17:17 
QuestionDaylight saving not working in vb .net application Pin
JewelOfTheNile2-Mar-07 13:22
JewelOfTheNile2-Mar-07 13:22 
AnswerRe: Daylight saving not working in vb .net application Pin
Dave Kreskowiak2-Mar-07 14:42
mveDave Kreskowiak2-Mar-07 14:42 
GeneralRe: Daylight saving not working in vb .net application Pin
arcticbrew2-Mar-07 19:35
arcticbrew2-Mar-07 19:35 
GeneralRe: Daylight saving not working in vb .net application Pin
Dave Kreskowiak3-Mar-07 6:04
mveDave Kreskowiak3-Mar-07 6:04 
GeneralRe: Daylight saving not working in vb .net application Pin
JewelOfTheNile5-Mar-07 6:30
JewelOfTheNile5-Mar-07 6:30 
Hi Dave,
I know that Windows handles daylight saving automatically. Our application just provides the testers a function to change the time zone and time/date. The time should sync up with the OS for daylight saving automatically if it's selected from the OS datetime control panel (ie; there is no logic in my program that calculates the daylight saving). The testers need to test that functionality of the program and it did not work when they changed the time/date to 11/4 2AM to test for the fall back time (standard). We converted our program from VB6 to VB .Net. The one from VB6 used all the API calls (ie; RegQueryValueEx, MultiByteToWideCard..) and it worked fine when we tested the same scenario. In the VB .Net program I tried marshalling all the structures (SYSTEMTIME, TIME_ZONES_INFORMATION, OSVERSIONINFO..) I used but still could not get the SetTimeZoneInformation to work every time the date/time changed on my test dialog. My TimeZoneInformation registry contained garbages (StandardName, DaylightName, DaylightStart, StandardStart) whenever I called that API to update the datetime info. I finally gave up and used the Shell command to update the info instead of API's. The data looked correct in the registry now everytime the users modify the zone/date/time from the dialog. However, I could not fall back from daylight to standard time using our test program!!Frown | :(


- Jewel

QuestionInsert statement Pin
jds12072-Mar-07 5:21
jds12072-Mar-07 5:21 
AnswerRe: Insert statement Pin
Colin Angus Mackay2-Mar-07 5:25
Colin Angus Mackay2-Mar-07 5:25 
GeneralRe: Insert statement Pin
Dave Kreskowiak2-Mar-07 5:31
mveDave Kreskowiak2-Mar-07 5:31 
GeneralRe: Insert statement Pin
jds12072-Mar-07 6:00
jds12072-Mar-07 6:00 
GeneralRe: Insert statement Pin
Dave Kreskowiak2-Mar-07 6:10
mveDave Kreskowiak2-Mar-07 6:10 
AnswerRe: Insert statement Pin
JUNEYT2-Mar-07 5:30
JUNEYT2-Mar-07 5:30 
GeneralRe: Insert statement Pin
Colin Angus Mackay2-Mar-07 5:39
Colin Angus Mackay2-Mar-07 5:39 
GeneralRe: Insert statement Pin
JUNEYT2-Mar-07 5:44
JUNEYT2-Mar-07 5:44 
AnswerRe: Insert statement Pin
Guffa2-Mar-07 5:56
Guffa2-Mar-07 5:56 
GeneralRe: Insert statement Pin
jds12072-Mar-07 8:57
jds12072-Mar-07 8:57 
AnswerRe: Insert statement Pin
Guffa2-Mar-07 9:20
Guffa2-Mar-07 9:20 
GeneralRe: Insert statement Pin
jds12072-Mar-07 10:18
jds12072-Mar-07 10:18 
GeneralRe: Insert statement Pin
Colin Angus Mackay2-Mar-07 15:39
Colin Angus Mackay2-Mar-07 15:39 
QuestionDLL Registration Pin
xrunner2-Mar-07 3:29
xrunner2-Mar-07 3:29 
AnswerRe: DLL Registration Pin
Dave Kreskowiak2-Mar-07 5:30
mveDave Kreskowiak2-Mar-07 5:30 
GeneralRe: DLL Registration Pin
xrunner2-Mar-07 6:39
xrunner2-Mar-07 6:39 
GeneralRe: DLL Registration Pin
Dave Kreskowiak2-Mar-07 7:32
mveDave Kreskowiak2-Mar-07 7: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.