DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: VB6 How to retrieve selected Date from Calendar Control

  1. #1
    Join Date
    Jan 2005
    Location
    New Zealand
    Posts
    319

    VB6 How to retrieve selected Date from Calendar Control

    Hi Good Friends,
    I need your help. Please help me.

    I was asked to enhance legacy VB6 Application by creating a new Pop Up Calendar FORM so that the user can use click on the date preferred and retrieve it.

    The coding that I have created is not working.
    Here are the coding

    Code:
    Private Sub Calendar1_Click()
             me.txtOrderDate.text = Me.Calendar1.DataField  <--- not working
    
    End Sub
    Cheers,
    Lennie

  2. #2
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    8,387
    Try Calendar1.Value.
    Phil Weber
    http://www.philweber.com

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

  3. #3
    Join Date
    Jan 2005
    Location
    New Zealand
    Posts
    319
    Hi Phil Weber,
    Thank you very much for sharing the information to me. It's just awesome that your information reminded me of my knowledge before I started using VBNET2003,2008 and C#NET2008.

    I have amended the coding using Calendar1.Value and it's working now. I have recompiled the VB6 coding .

    Thank you very much.
    Cheers,
    Lennie

Similar Threads

  1. Calendar Control SelectedDate
    By Lennie in forum ASP.NET
    Replies: 2
    Last Post: 01-16-2008, 11:26 PM
  2. Exporting Calendar Control to Word
    By BStenfors in forum .NET
    Replies: 0
    Last Post: 07-28-2005, 02:45 PM
  3. Hai how to Display text in a Calendar Control
    By itchock in forum VB Classic
    Replies: 0
    Last Post: 06-26-2005, 08:22 AM
  4. Replies: 0
    Last Post: 12-05-2001, 03:16 AM
  5. Need Help : Calendar Web Control?
    By Geeta in forum ASP.NET
    Replies: 0
    Last Post: 06-18-2001, 01:16 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center