In VB toolbox, I put a window calendar, I have also put a textbox beside calendar. What is the code of VB6, when I click on calendar date, it will transfer to the textbox in dd/mm/yyyy format?
7 14772
In VB toolbox,I put a window calendar,I have also put a textbox beside calendar,wat is the code of VB6,when I click on calendar date,It will transfer to the textbox in dd/mm/yyyy format....
Just copy the value property of the window calendar (click event) to the textbox.
You need to manually format the date.
In VB toolbox,I put a window calendar,I have also put a textbox beside calendar,wat is the code of VB6,when I click on calendar date,It will transfer to the textbox in dd/mm/yyyy format....
Hi mesubham
Why don't you try the DTPicker? It has a nicer UI than the Window Calendar anyway they have just the same functions I think. : )
In VB toolbox,I put a window calendar,I have also put a textbox beside calendar,wat is the code of VB6,when I click on calendar date,It will transfer to the textbox in dd/mm/yyyy format....
Try This : -
Text1.Text = Format(Calander1.Value,"dd/mm/yyyy")
-
Regards
Veena
I have written the code in calendar1 click event.
Text1.Text = Format(Calander1.Value, "dd/mm/yyyy")
It gives an error........Object required, ERROR runtime 424
Help.
It gives an error........Object required, ERROR runtime 424
Assuming this code was copied accurately to TheScripts, I'd say the error is caused by the fact that you mis-typed the name of your control.
I have written the code in calendar1 click event.
Text1.Text = Format(Calander1.Value, "dd/mm/yyyy")
It gives an error........Object required, ERROR runtime 424
Help.
Hi,
Sorry, Spelling mistake there..
Text1.Text = Format(Calendar1.Value, "dd/mm/yyyy")
Regards
Veena
Sign in to post your reply or Sign up for a free account.
Similar topics
by: praba kar |
last post by:
Dear All,
In Php strtotime() will change a date
string into timestamp. I want to know which
python function will change a date string
into timestamp.
Date string format is below
|
by: goochey |
last post by:
I'm trying to convert a Julian Date (Format "4365") into an actual calendar
date in Visual Basic, can anyone help me out with this.
|
by: Chris |
last post by:
I am trying to use a calendar popup to populate a date in a textbox. I am
using the example described in this article:
http://aspnet.4guysfromrolla.com/articles/030202-1.aspx
However, this...
|
by: Dooglo |
last post by:
I'd like to have the system Date in a textbox every time I start my program,
"Today Date: ??/??/???? (M/D/Y)", so that I may be able to save data with
that date.
Thanks,
Dooglo
|
by: Jay |
last post by:
Hi,
I need to upload a text file (say some letter ) from one of the drive
(say the path is C:\letter.doc),
here i need to display the content of the file into textbox , how is it
possible ?...
|
by: Marcus |
last post by:
Hi,
I'm looking for useful starting points, suggestions, and sample code,
to implement a calendar iterator. Simply, the iterator is seeded with
an initial calendar date, e.g., "03-12-2006", and...
|
by: kimiraikkonen |
last post by:
Hello,
I have a textbox named "textbox1" and a button named "button1"
How can i retrieve the console (cmd) data into textbox?
For example when i run Shell("cmd.exe /k dir...
|
by: ahmurad |
last post by:
Dear Brothers,
I am struggling the following four Date-Time type values which were inputted into MYSQL database in different tables. As
MYSQL Default Time Format: YYYY-MM-DD HH:MM:SS, So I used...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |