CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2001
    Posts
    1

    Alternative to System Date

    I am developing a VB program and I wanted to control execution of the program using a datescope or up-to-a-certain-date provision. Eg. Oct 1 to Oct 30, or up to Oct 30). We know that it is easy to workaround this by just changing the date before runnnig the program. Is there any way for VB to get the actual date other than the system date? If none, how can I address this problem? Thanks in advance.



  2. #2
    Join Date
    Aug 1999
    Location
    India, TamilNadu, Chennai.
    Posts
    269

    Re: Alternative to System Date

    Hi
    Other than default BOIS system date, u can't get the real date, otherwise u can do one thing.

    when your programme runs first time you write the system current date to any .inf profile. eg. Date=01/02/2001

    check the inf file whenever your programme start on. if the date is grather then your expected date. "continue your gole..."

    if you had any problem mail me

    Babu

    MailID: [email protected]
    Please avoid sending emails to my personal mail:
    write your doubts as thread in Codeguru
    Crystal Reports Forum
    .

    This will help all people having similar matters, and will let people who know solutions on the specific topic
    share their knowledge.

    Visit my company web site (Qmax Test Equipments Private Limited)

    Yours friendly,
    K.Babu

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured