CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2010
    Posts
    1

    Question Need to know how to take sentences

    Hi, need some help or how to start this, i need to take sentences and put it in a popup form and the sentences are difernt every day, so im gessing i need a timers for tthis right but how do i make it everyday a new sentences , please help me and thinks so much

  2. #2
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: Need to know how to take sentences

    Start by writing down the steps that you want. I have no idea what you want to do.
    Code:
    MSGBOX "Show Something Different"
    will pop up a form, if that's what you meant
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  3. #3
    Join Date
    Jul 2001
    Location
    Sunny South Africa
    Posts
    11,283

    Re: Need to know how to take sentences

    You'll need some way of storing the strings, and retrieving a random one. Also, you'll need to save the current date and compare it with the next.

    You can make use of the Registry for that, and something like a text file for all your strings.

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