I am using vb6.
Now , I am facing a very strange error. I think it might be due to some other problem rather coding not sure.
Actually , i have put a datepicker in the form and at the load even of form i had use the code
whice change datepicker date to current system date.
Now , i rememberer this was workig fine but when today i comiple and run my progrme , the date is not appearing to the curretn date.
I had checkek there was not syntax error , but amazingly when i show a message box it , its works fine.
Like if i write
Now, datepicker in my form show the current system date.
I am not sure what difference that msgbox is doing.
Did any body of you ever accured this type of problem.
Even i had tried to use the code.
at activate event , but it will not show correct date until i use a msgbox ?
So strange? donot know what to do. Is there any thing wrong with my sytem date?
Now , I am facing a very strange error. I think it might be due to some other problem rather coding not sure.
Actually , i have put a datepicker in the form and at the load even of form i had use the code
Code:
Date1.value= Date
Now , i rememberer this was workig fine but when today i comiple and run my progrme , the date is not appearing to the curretn date.
I had checkek there was not syntax error , but amazingly when i show a message box it , its works fine.
Like if i write
Code:
Date1.value= Date Msgbox Date1.value
I am not sure what difference that msgbox is doing.
Did any body of you ever accured this type of problem.
Even i had tried to use the code.
Code:
Date1.value = Date
So strange? donot know what to do. Is there any thing wrong with my sytem date?
Comment