1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

date subtraction....

Discussion in 'Visual Basic ( VB )' started by hardik soni, Aug 10, 2010.

  1. hardik soni

    hardik soni New Member

    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..
  2. shabbir

    shabbir Administrator Staff Member

    Date Difference is a built in function in VB.

    Which VB you are using?
  3. hardik soni

    hardik soni New Member

    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....
  4. virxen

    virxen New Member

    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

    Attached Files:

  5. shabbir

    shabbir Administrator Staff Member

    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.
  6. ManzZup

    ManzZup New Member

    make the global variable public
    public wutever as wutever

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

Share This Page