Go4Expert (http://www.go4expert.com/)
-   Visual Basic ( VB ) (http://www.go4expert.com/forums/visual-basic/)
-   -   date subtraction.... (http://www.go4expert.com/forums/date-subtraction-t22986/)

hardik soni 10Aug2010 18:36

date subtraction....
Hello Everyone,
I have one query.
I want to check eligibility for age in VB application.
I want to make subtraction of two dates.
Please give me guideline with example....
Please it's urgent..

shabbir 10Aug2010 21:51

Re: date subtraction....
Date Difference is a built in function in VB.

Which VB you are using?

hardik soni 10Aug2010 21:59

Re: date subtraction....
hello Shabbir,
IT is long time to talk with you....
I am using vb 6.0 i know that are built in function.
I want to subtract it and want to use in second form of the same project .
How to fetch that subtracted value in second form...
Please reply now if it is possible.

Thanks for your reply after long time....

virxen 11Aug2010 03:10

Re: date subtraction....
1 Attachment(s)

Originally Posted by hardik soni (Post 71397)
How to fetch that subtracted value in second form...

here is an example of what you ask.
if you write something in the textbox and press the submit button
you 'll see the value passed to second's form textbox

shabbir 11Aug2010 08:57

Re: date subtraction....
VB 6 has the easiest ways of getting variable values from one form to the other and one of the most convenient is the global variable.

ManzZup 4Sep2010 20:00

Re: date subtraction....
make the global variable public
public wutever as wutever

acess it from the 2nd form
form1.wutever :)

All times are GMT +5.5. The time now is 04:06.