Click here to Skip to main content
15,915,754 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Receiving data Pin
Paul Conrad30-Jan-08 16:00
professionalPaul Conrad30-Jan-08 16:00 
GeneralConvert and Store Textbox Date to Date Variable Pin
ejaz_pk30-Jan-08 1:30
ejaz_pk30-Jan-08 1:30 
AnswerRe: Convert and Store Textbox Date to Date Variable Pin
Ashfield30-Jan-08 1:59
Ashfield30-Jan-08 1:59 
GeneralRe: Convert and Store Textbox Date to Date Variable Pin
ejaz_pk30-Jan-08 2:08
ejaz_pk30-Jan-08 2:08 
Questionhow to display amount? Pin
sathyan_829429-Jan-08 22:47
sathyan_829429-Jan-08 22:47 
AnswerRe: how to display amount? Pin
CKnig30-Jan-08 0:47
CKnig30-Jan-08 0:47 
AnswerRe: how to display amount? Pin
Veldrain30-Jan-08 7:22
Veldrain30-Jan-08 7:22 
GeneralDate Calculation Pin
sathyan_829429-Jan-08 22:29
sathyan_829429-Jan-08 22:29 
i am using dotnet2005.i do my project in vb.net windows application.i want to add one year from selected date.the following code is

Private Sub FromDateTimePicker_ValueChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles FromDateTimePicker.ValueChanged

ToDateTimePicker.Value = FromDateTimePicker.Value.AddYears(1).AddDays(-1)

End Sub

The above code is used to display as follow

for (ex)

using above code,if click date as 01/04/2008 in FromDateTimePicker means,then automatically displayed as 31/03/2009 in ToDateTimePicker.like this,if i click any date means,correctly worked.but if l click 29/02/2008 in FromDateTimePicker means,it must be automatically display as 27/02/2009 in ToDateTimePicker.But i want to display as 28/02/2009 in ToDateTimePicker.so in leap year above code is not working.how to solve this?
GeneralRe: Date Calculation Pin
sathish s29-Jan-08 23:22
sathish s29-Jan-08 23:22 
GeneralRe: Date Calculation Pin
Guffa30-Jan-08 6:38
Guffa30-Jan-08 6:38 
GeneralRe: Date Calculation Pin
Luc Pattyn30-Jan-08 2:57
sitebuilderLuc Pattyn30-Jan-08 2:57 
AnswerRe: Date Calculation Pin
Guffa30-Jan-08 6:33
Guffa30-Jan-08 6:33 
Generaldatagrid dynamic dropdownlist problem Pin
soniasan29-Jan-08 20:23
soniasan29-Jan-08 20:23 
GeneralRe: datagrid dynamic dropdownlist problem Pin
AlexeiXX330-Jan-08 8:13
AlexeiXX330-Jan-08 8:13 
Questionwhere? Pin
Rodolfo Santos29-Jan-08 20:10
Rodolfo Santos29-Jan-08 20:10 
AnswerRe: where? Pin
Vimalsoft(Pty) Ltd29-Jan-08 21:49
professionalVimalsoft(Pty) Ltd29-Jan-08 21:49 
AnswerRe: where? Pin
sathish s29-Jan-08 23:17
sathish s29-Jan-08 23:17 
GeneralFor each error Pin
rotsey29-Jan-08 19:44
rotsey29-Jan-08 19:44 
GeneralRe: For each error Pin
newc130-Jan-08 1:04
newc130-Jan-08 1:04 
GeneralRe: For each error Pin
rotsey30-Jan-08 16:01
rotsey30-Jan-08 16:01 
QuestionNeed help starting. Pin
Veldrain29-Jan-08 19:35
Veldrain29-Jan-08 19:35 
GeneralRe: Need help starting. Pin
CKnig30-Jan-08 0:58
CKnig30-Jan-08 0:58 
GeneralRe: Need help starting. Pin
Veldrain30-Jan-08 7:14
Veldrain30-Jan-08 7:14 
QuestionBest way to share images between projects? Pin
sjb0829-Jan-08 18:11
sjb0829-Jan-08 18:11 
GeneralRe: Best way to share images between projects? Pin
Johan Hakkesteegt2-Feb-08 10:11
Johan Hakkesteegt2-Feb-08 10:11 

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.