473,387 Members | 3,033 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

format calendar dates

Hi
i created a calendar using the active xcontrols from the tools menu.I
want the back color of the box containing the date to change based on
the value of a field in the table at that specific date. I realise now
that you cannot change the format of individual dates in the calendar,
so i added text boxes above each date and i clicked on "bring to
front". the code i wrote works because in design view i can see that
the back color of the text boxes has in face changed, but in form view
mode, the text boxes remain in the background. Ive tried to do the same
with a command button thats linked to the calendar, btu it still doesnt
work.
Can anyone help?

Mar 21 '06 #1
2 1624
On 21 Mar 2006 09:40:48 -0800, sa****@gmail.com wrote:

That's the deal with any activex control: you have to live with its
features. Don't use one that doesn't support all the features you
need. Trying to rig it using some fancy programming sometimes pays off
(and can be very satisfying), but can be a real drain on time.
Confronted with a similar issue several years ago, I took two days to
write my own calendar control from scratch, which of course supported
all the features I needed.

-Tom.
Hi
i created a calendar using the active xcontrols from the tools menu.I
want the back color of the box containing the date to change based on
the value of a field in the table at that specific date. I realise now
that you cannot change the format of individual dates in the calendar,
so i added text boxes above each date and i clicked on "bring to
front". the code i wrote works because in design view i can see that
the back color of the text boxes has in face changed, but in form view
mode, the text boxes remain in the background. Ive tried to do the same
with a command button thats linked to the calendar, btu it still doesnt
work.
Can anyone help?


Mar 22 '06 #2
sa****@gmail.com wrote in news:1142962848.761312.257620
@u72g2000cwu.googlegroups.com:
Hi
i created a calendar using the activex controls from the tools menu. I
want the back color of the box containing the date to change based on
the value of a field in the table at that specific date. I realise now
that you cannot change the format of individual dates in the calendar,
so i added text boxes above each date and i clicked on "bring to
front". the code i wrote works because in design view i can see that
the back color of the text boxes has in face changed, but in form view
mode, the text boxes remain in the background. Ive tried to do the same
with a command button thats linked to the calendar, btu it still doesnt
work.
Can anyone help?


If you have created textboxes and placed them appropriately then you are
well on your way to creating your own calendar. Many developers have done
this because of their frustration with the Microsoft Calendar Control.
Others have used one of the many public and free offerings of same. A
Google search is likely to find some of these.

--
Lyle Fairfield
Mar 22 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Vincent Jones | last post by:
I already have a calendar from VBScript but I need it to bold on the dates when there is an event. I've created the Database connection but I can't seem to figure out how to integrate the two. ...
2
by: amith | last post by:
hi I have written javascript for comparing two dates in US format and finding out whether the start date is greater than the end date and vice versa. In this attempt i have instantiated the...
7
by: Tom Petersen | last post by:
I must have the format of the below line wrong for IE: click <a href="cal.asp?sdate=<% =strDate1 %>&location=<% =strLocation %>&eTime=<% =strDate2 %>">here</a> to add this information to your...
13
by: Roy | last post by:
Hi all, I'm creating a project that should always use this date format when displays the dates or create dates. The back end database is a SQL Server and I like to know what is the logical way...
9
by: Greg | last post by:
Hi, I have a table with "dates", i'd like to display those dates on a calendar. I've put a calendar in a form, linked to my "date" field, and it works, but only showing one "date" per calendar....
20
by: andreas | last post by:
When I copy a vb.net project using date formats from one PC with a windows date format f.e. dd/mm/yyyy to another PC having a format yy/mm/dd then I get errors. How can I change for a while in the...
7
by: Richiep | last post by:
I am trying to get a UK format date of dd/mm/yyyy. Why does the following subroutine not return a valid date in a web form? The date returned is #12:00:00 AM# but the date I entered into the...
16
by: Mik | last post by:
I apologise if this post seems a little basic, but I am a newbie and have NO access knowledge. I have downloaded the Accounts Ledger from the Microsoft Website. It allows the user to review a...
1
by: abhishekbrave | last post by:
The code below is opening a calendar on mouse over in the same window. I need the calendar to be opened in new window. Have to fulfill this requirement urgentely so posting the whole code here. I...
0
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,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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...
0
marktang
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,...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.