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

Visual Basic

 
AnswerRe: Upload files to server other than ftp? Pin
JUNEYT3-Mar-07 3:46
JUNEYT3-Mar-07 3:46 
AnswerRe: Upload files to server other than ftp? Pin
Dave Kreskowiak3-Mar-07 6:07
mveDave Kreskowiak3-Mar-07 6:07 
QuestionRe: Upload files to server other than ftp? Pin
steve_rm3-Mar-07 6:45
steve_rm3-Mar-07 6:45 
AnswerRe: Upload files to server other than ftp? Pin
.NetRams4-Mar-07 19:31
.NetRams4-Mar-07 19:31 
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 
My application is written in VB .Net on Windows XP. A part of my program provides a System Configuration Dialog where user can pick a time zone, specify the date (MM/DD/YY) and time (HH:MM:SS AM/PM). Whenever a user changes any of the above fields and selects save, the specified information is saved as followed:

'Save the selected time zone
Shell("RUNDLL32.EXE SHELL32.DLL, Control_RunDLL TIMEDATE.CPL,,/Z" & StandardName)
where StandardName is the Std value at the
HKLM\Software\Microsoft\Windows NT\Current Version\Tim Zones\<the zone="" key="">

'Save the specified date
Today = CDate(StringValue(DateFieldName))

'Save the specified time
TimeOfDay = CDate(StringValue(TimeFieldName))

where Today and TimeOfDay are the members of the Microsoft.VisualBasic.DateAndTime


Testing Senario:

1) DayLight saving testing worked fine

At the System Configuration Diaglog, enter the following data:

- Time Zone: Pacific Standard Time
- Specified Date: 3/11/07
- Specified Time: 01:59:40 AM

When the time got to 2AM, the system clock was adjust forward to 3AM as expected.

2) Standard time testing NOT WORKING
The same selections as above except the date was set to 11/04/07

When the time got to 2AM, the system clock did not fall back to 1AM as expected. It stayed at 2AM and continued on!

I use the shell command to set the time zone because i could not get the SetTimeZoneInformation API to work. It created garbages in my registry setting for the daylight saving information.

Please help asap since the daylight saving is approaching fast.

Thanks a bunch in advance.


- Jewel
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 
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 

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.