1. How do I remove the control's border
Visual Basic
With Calendar1
	.Appearance = None2
End With
2. How do I change the control's border, using your EBN files
Visual Basic
With Calendar1
	.VisualAppearance.Add 1,"c:\exontrol\images\normal.ebn"
	.Appearance = 16777216
End With
3. How can I change the control's font
Visual Basic
With Calendar1
	.Font.Name = "Verdana"
End With
4. How do I change the control's background color
Visual Basic
With Calendar1
	.BackColor = 13158600
End With
5. How do I change the control's foreground color
Visual Basic
With Calendar1
	.ForeColor = 255
End With
6. How do I change the visual appearance of the up and down buttons in the calendar's header, using EBN files
Visual Basic
With Calendar1
	.VisualAppearance.Add 1,"c:\exontrol\images\normal.ebn"
	.Background(exScrollUp) = 16777216
	.Background(exScrollDown) = 16777216
End With
7. How do I change the visual appearance of the left and right buttons in the calendar's header, using EBN files
Visual Basic
With Calendar1
	.VisualAppearance.Add 1,"c:\exontrol\images\normal.ebn"
	.Background(exScrollLeft) = 16777216
	.Background(exScrollRight) = 16777216
End With
8. How can I change the visual appearance of the drop down button, using EBN files
Visual Basic
With Calendar1
	.VisualAppearance.Add 1,"c:\exontrol\images\normal.ebn"
	.VisualAppearance.Add 2,"c:\exontrol\images\pushed.ebn"
	.Background(exDropDownButtonUp) = 16777216
	.Background(exDropDownButtonDown) = 33554432
End With
9. How can I change the visual appearance of header that displays days, using EBN files
Visual Basic
With Calendar1
	.VisualAppearance.Add 1,"c:\exontrol\images\normal.ebn"
	.Background(exDaysHeader) = 16777216
End With
10. How can I change the visual appearance of header that week numbers, using EBN files
Visual Basic
With Calendar1
	.VisualAppearance.Add 1,"c:\exontrol\images\normal.ebn"
	.Background(exWeeksHeader) = 16777216
	.HeaderForeColor = 255
	.ShowWeeks = True
End With
11. How can I change the visual appearance of header , using EBN files
Visual Basic
With Calendar1
	.VisualAppearance.Add 1,"c:\exontrol\images\normal.ebn"
	.Background(exDateHeader) = 16777216
	.HeaderForeColor = 255
End With
12. How can I change the visual appearance of 'Today' button, using EBN files
Visual Basic
With Calendar1
	.VisualAppearance.Add 1,"c:\exontrol\images\normal.ebn"
	.VisualAppearance.Add 2,"c:\exontrol\images\pushed.ebn"
	.Background(exDateTodayUp) = 16777216
	.Background(exDateTodayDown) = 33554432
End With
13. How can I change the visual appearance of the scrolling bar for years, using EBN files
Visual Basic
With Calendar1
	.VisualAppearance.Add 1,"c:\exontrol\images\normal.ebn"
	.VisualAppearance.Add 2,"c:\exontrol\images\pushed.ebn"
	.Background(exDateScrollRange) = 16777216
	.Background(exDateScrollThumb) = 33554432
End With
14. How can I change the visual appearance of separator between calendar and 'Today' button , using EBN files
Visual Basic
With Calendar1
	.VisualAppearance.Add 1,"c:\exontrol\images\normal.ebn"
	.Background(exDateSeparatorBar) = 16777216
End With
15. How can I change the visual appearance of Today date in the calendar, using EBN files
Visual Basic
With Calendar1
	.VisualAppearance.Add 1,"c:\exontrol\images\pushed.ebn"
	.Background(exMarkToday) = 16777216
	.SelForeColor = 0
	.MarkToday = True
End With
16. How can I change the visual appearance of the selected month, in the months selector, using EBN files
Visual Basic
With Calendar1
	.VisualAppearance.Add 1,"c:\exontrol\images\normal.ebn"
	.Background(exMonthSelect) = 16777216
	.Background(exMonthSelectForeColor) = 255
End With
17. Can I change the default border of the tooltip, using your EBN files
Visual Basic
With Calendar1
	.ToolTipDelay = 1
	.ToolTipWidth = 364
	.VisualAppearance.Add 1,"c:\exontrol\images\normal.ebn"
	.Background(exToolTipAppearance) = 16777216
	.Events.Add(Calendar1.Date).Comment = "This is a text that shows up when the cursor hovers the date"
	.HideSelection = True
End With
18. Can I change the background color for the tooltip
Visual Basic
With Calendar1
	.ToolTipDelay = 1
	.ToolTipWidth = 364
	.Background(exToolTipBackColor) = 255
	.Events.Add(Calendar1.Date).Comment = "This is a text that shows up when the cursor hovers the date"
	.HideSelection = True
End With
19. Can I change the forecolor for the tooltip
Visual Basic
With Calendar1
	.ToolTipDelay = 1
	.ToolTipWidth = 364
	.Background(exToolTipForeColor) = 255
	.Events.Add(Calendar1.Date).Comment = "This is a text that shows up when the cursor hovers the date"
	.HideSelection = True
End With
20. How do I disable or enable the control
Visual Basic
With Calendar1
	.Enabled = False
End With
21. How do I enable multiple selection
Visual Basic
With Calendar1
	.SingleSel = False
End With
22. How do I enable single selection
Visual Basic
With Calendar1
	.SingleSel = True
End With
23. How can I hide the control's selection when the control loses the focus
Visual Basic
With Calendar1
	.HideSelection = True
End With
24. How can I show the control's selection even if the control loses the focus
Visual Basic
With Calendar1
	.HideSelection = False
End With
25. How do I mark the Today date
Visual Basic
With Calendar1
	.MarkToday = True
End With
26. How can I change the visual appearance of Today date in the calendar
Visual Basic
With Calendar1
	.MarkToday = True
	.Background(exMarkToday) = 255
End With
27. How do I show or hide the weeks
Visual Basic
With Calendar1
	.ShowWeeks = True
End With
28. How can I show or hide the header that displays the week days
Visual Basic
With Calendar1
	.ShowDays = False
End With
29. How can I show or hide the header that displays the months
Visual Basic
With Calendar1
	.ShowMonth = False
End With
30. How can I show or hide the scroll bar that changes the year
Visual Basic
With Calendar1
	.ShowYearScroll = False
End With
31. How can I show or hide the 'Today' button
Visual Basic
With Calendar1
	.ShowTodayButton = False
End With
32. How do I change the background color for the week days and week numbers header
Visual Basic
With Calendar1
	.HeaderBackColor = 255
	.ShowWeeks = True
End With
33. How do I change the foreground color for the week days and week numbers header
Visual Basic
With Calendar1
	.HeaderForeColor = 255
	.ShowWeeks = True
End With
34. How do I draw the grid lines
Visual Basic
With Calendar1
	.DrawGridLine = SmallDots
End With
35. How do I specify the color for the grid lines
Visual Basic
With Calendar1
	.DrawGridLine = SmallDots
	.GridLineColor = 255
End With
36. How do I change the appearance for dates in the calendar
Visual Basic
With Calendar1
	.AppearanceDay = Day3D
	.BackColor = -2147483633
End With
37. How can I specify the width and height for dates being displayed in the calendar
Visual Basic
With Calendar1
	.AutoSize = False
	.FixedCellWidth = 32
	.FixedCellHeight = 24
End With
38. How can I specify the width and height for dates being displayed in the calendar
Visual Basic
With Calendar1
	.AutoSize = False
	.FixedCellWidth = 22
	.FixedCellHeight = 16
End With
39. How do I change the name for each week day
Visual Basic
With Calendar1
	.AutoSize = False
	.FixedCellWidth = 24
	.FixedCellHeight = 16
	.WeekDayShortName(Sunday) = "Sun"
	.WeekDayShortName(Monday) = "Mon"
	.WeekDayShortName(Tuesday) = "Tue"
	.WeekDayShortName(Wednesday) = "Wed"
	.WeekDayShortName(Thursday) = "Thu"
	.WeekDayShortName(Friday) = "Fri"
	.WeekDayShortName(Saturday) = "Sat"
	.HeaderForeColor = 255
	.HeaderBackColor = 16777215
End With
40. How do I change the name for each week day
Visual Basic
With Calendar1
	.AutoSize = False
	.FixedCellWidth = 24
	.FixedCellHeight = 16
	.WeekDays = "Su Mo Tu We Th Fr Sa"
	.HeaderForeColor = 255
	.HeaderBackColor = 16777215
End With
41. How do I change the name of the months
Visual Basic
With Calendar1
	.MonthName(January) = "Jan"
	.MonthName(February) = "Feb"
	.MonthName(March) = "Mar"
	.MonthName(April) = "Apr"
	.MonthName(May) = "May"
	.MonthName(June) = "Jun"
	.MonthName(July) = "Jul"
	.MonthName(August) = "Aug"
	.MonthName(September) = "Sep"
	.MonthName(October) = "Oct"
	.MonthName(November) = "Nov"
	.MonthName(December) = "Dec"
End With
42. How do I change the name of the months
Visual Basic
With Calendar1
	.MonthNames = "Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec"
End With
43. How do I change the first day of the week
Visual Basic
With Calendar1
	.FirstDay = Monday
End With
44. How can I lock the control, so user can't select a new date
Visual Basic
With Calendar1
	.Locked = True
End With
45. How can I specify the number of months being displayed
Visual Basic
With Calendar1
	.ShowTodayButton = False
	.ShowYearScroll = False
	.MinMonthX = 2
	.MaxMonthX = 2
	.MinMonthY = 2
	.MaxMonthY = 2
End With
46. How can I change the style of the line arround a month
Visual Basic
With Calendar1
	.DrawBorderLine = LargeDots
End With
47. How can I change the color of the line arround a month
Visual Basic
With Calendar1
	.DrawBorderLine = LargeDots
	.BorderLineColor = 255
End With
48. How can I change the colors for selected dates
Visual Basic
With Calendar1
	.SelBackColor = 0
	.SelForeColor = 16777215
End With
49. How can I change the visual aspect of the selected date, using your EBN
Visual Basic
With Calendar1
	.BackColor = 16777215
	.VisualAppearance.Add 1,"c:\exontrol\images\normal.ebn"
	.SelBackColor = 16777216
	.SelForeColor = .BackColor
End With
50. How can I disable changing the month in the months selector
Visual Basic
With Calendar1
	.ShowMonthSelector = False
End With
51. How can I show or hide the buttons that scrolls the years
Visual Basic
With Calendar1
	.ShowYearSelector = False
End With
52. How can I show or hide the buttons that in the header
Visual Basic
With Calendar1
	.ShowYearSelector = False
	.ShowMonthSelector = False
End With
53. How can I change the browsed date
Visual Basic
With Calendar1
	.Date = #1/1/2001#
End With
54. How can I select a new date
Visual Basic
With Calendar1
	.Date = #1/1/2001#
	.SelDate = #1/2/2001#
End With
55. How can I select a new date
Visual Basic
With Calendar1
	.Date = .DoDate(2001,1,1)
	.SelDate = .DoDate(2001,1,2)
End With
56. How can I build a date expression
Visual Basic
With Calendar1
	.Date = .DoDate(2001,1,1)
End With
57. How do I get the selected date
Visual Basic
With Calendar1
	.SelDate = .Date
End With
58. How do I select multiple dates
Visual Basic
With Calendar1
	.SingleSel = False
	.Date = #1/1/2001#
	.SelDate = #1/2/2001#
	.SelDate = #1/3/2001#
	.SelDate = #1/4/2001#
End With
60. How do I unselect a date
Visual Basic
With Calendar1
	.SingleSel = False
	.Date = #1/1/2001#
	.SelDate = #1/2/2001#
	.SelDate = #1/3/2001#
	.SelDate = #1/4/2001#
	.UnSelDate #1/3/2001#
End With
62. How can I change the caption of the Today's button
Visual Basic
With Calendar1
	.TodayCaption = "Azi"
End With
63. Can I change the font for the tooltip
Visual Basic
With Calendar1
	.ToolTipDelay = 1
	With .ToolTipFont
		.Name = "Tahoma"
		.Size = 14
	End With
	.ToolTipWidth = 364
	.Events.Add(Calendar1.Date).Comment = "This is a text that shows up when the cursor hovers the date"
	.HideSelection = True
End With
64. How do I call your x-script language
Visual Basic
With Calendar1
	.Template = "BackColor = RGB(255,0,0)"
End With
65. How do I call your x-script language
Visual Basic
With Calendar1
	.ExecuteTemplate "BackColor = RGB(255,0,0)"
End With
66. How do I show the tooltip quicker
Visual Basic
With Calendar1
	.ToolTipDelay = 1
	.Events.Add(Calendar1.Date).Comment = "This is a text that shows up when the cursor hovers the date"
	.HideSelection = True
End With
67. How do I disable showing the tooltip for all control
Visual Basic
With Calendar1
	.ToolTipDelay = 0
	.Events.Add(Calendar1.Date).Comment = "This is a text that shows up when the cursor hovers the date"
	.HideSelection = True
End With
68. I've seen that the width of the tooltip is variable. Can I make it larger
Visual Basic
With Calendar1
	.ToolTipWidth = 328
	.Events.Add(Calendar1.Date).Comment = "This is a text that shows up when the cursor hovers the date"
	.HideSelection = True
End With
69. How can I select a new date
Visual Basic
With Calendar1
	.Date = #1/1/2001#
	.Value = #1/2/2001#
End With
70. How can I change the date that gets the focus
Visual Basic
With Calendar1
	.Date = #1/1/2001#
	.FocusDate = #1/2/2001#
End With
72. How do I let the tooltip being displayed longer
Visual Basic
With Calendar1
	.ToolTipPopDelay = 10000
	.Events.Add(Calendar1.Date).Comment = "This is a text that shows up when the cursor hovers the date"
	.HideSelection = True
End With
73. How can I specify the min and max years to scroll within
Visual Basic
With Calendar1
	.MinScrollYear = 2001
	.MaxScrollYear = 2010
End With
76. How can I specify the non working days
Visual Basic
With Calendar1
	.NonworkingDays = 6
End With
77. How can I show or hide the non working days
Visual Basic
With Calendar1
	.NonworkingDays = 0
End With
78. How can I change the pattern or the style to draw the non working days
Visual Basic
With Calendar1
	.NonworkingDays = 6
	.NonworkingDaysPattern = exPatternCross
End With
79. How can I change the color for non working days
Visual Basic
With Calendar1
	.NonworkingDays = 6
	.NonworkingDaysPattern = exPatternCross
	.NonworkingDaysColor = 255
End With
80. How can I hide the days that are shown in gray, and doesn' belong to the month
Visual Basic
With Calendar1
	.ShowNonMonthDays = False
End With
81. How can I change the color to highlight the dates that have a comment or a tooltip assigned
Visual Basic
With Calendar1
	.CommentBackColor = 0
	.Events.Add(Calendar1.Date).Comment = "This is a text that shows up when the cursor hovers the date"
	.HideSelection = True
End With
82. How can I change the visual aspect of the dates that have a comment or a tooltip assigned
Visual Basic
With Calendar1
	With .VisualAppearance
		.Add 11,"c:\exontrol\images\normal.ebn"
		.Add 1,"CP:11 4 2 -2 -2"
	End With
	.CommentBackColor = 16777216
	.Events.Add(Calendar1.Date).Comment = "This is a text that shows up when the cursor hovers the date"
	.HideSelection = True
End With
83. How can I change the visual aspect of the dates that have a comment or a tooltip assigned
Visual Basic
With Calendar1
	.VisualAppearance.Add 1,"c:\exontrol\images\normal.ebn"
	.CommentBackColor = 16777216
	.Events.Add(Calendar1.Date).Comment = "This is a text that shows up when the cursor hovers the date"
	.HideSelection = True
End With
84. How can I hide the ticker that's shown for dates that have a tooltip or a comment
Visual Basic
With Calendar1
	.CommentBackColor = .BackColor
	.Events.Add(Calendar1.Date).Comment = "This is a text that shows up when the cursor hovers the date"
End With
85. How can I get the first visible date being displayed in the calendar
Visual Basic
With Calendar1
	.ShowNonMonthDays = False
	.Events.Add(Calendar1.FirstVisibleDate).Comment = "This is the first visible date"
End With
86. How can I get the last visible date being displayed in the calendar
Visual Basic
With Calendar1
	.ShowNonMonthDays = False
	.Events.Add(Calendar1.LastVisibleDate).Comment = "This is the last visible date"
End With
87. How can I bold a date
Visual Basic
With Calendar1
	.Events.Add(Calendar1.Date).Bold = True
End With
88. How can I make italic a date
Visual Basic
With Calendar1
	.Events.Add(Calendar1.Date).Italic = True
End With
89. How can I underline a date
Visual Basic
With Calendar1
	.Events.Add(Calendar1.Date).Underline = True
End With
90. How can I draw a date as strikeout
Visual Basic
With Calendar1
	.Events.Add(Calendar1.Date).StrikeOut = True
End With
91. How can I change the foreground color for a date
Visual Basic
With Calendar1
	.Events.Add(Calendar1.Date).ForeColor = 255
End With
92. How can I change the background color for a date
Visual Basic
With Calendar1
	.Events.Add(Calendar1.Date).BackColor = 255
End With
93. How can I assign any extra data to a date
Visual Basic
With Calendar1
	.Events.Add(Calendar1.Date).UserData = "your data"
End With
94. How can I assign a tooltip or a comment to a date
Visual Basic
With Calendar1
	With .Events.Add(Calendar1.Date)
		.Comment = "This is a text that shows up when the cursor hovers the date"
		.CommentTitle = "T I T L E"
	End With
	.HideSelection = True
End With
95. How can I mark or highlight a date
Visual Basic
With Calendar1
	.Events.Add(Calendar1.Date).Marker = True
End With
96. How can I enable or disable a date
Visual Basic
With Calendar1
	.Events.Add(Calendar1.Date).Disabled = True
End With
97. How can I assign an icon to a date
Visual Basic
With Calendar1
	.AutoSize = False
	.FixedCellWidth = 36
	.Images "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0" & _
"/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" & _
"/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" & _
"x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" & _
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="
	.Events.Add(Calendar1.Date).Image = 1
End With
99. How can I clear all events
Visual Basic
With Calendar1
	.Images "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0" & _
"/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" & _
"/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" & _
"x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" & _
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="
	.Events.Add(Calendar1.Date).Image = 1
	.Events.Clear 
End With
100. How can I count the events
Visual Basic
With Calendar1
	.Images "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0" & _
"/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" & _
"/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" & _
"x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" & _
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="
	.Events.Add(Calendar1.Date).Image = 1
	var_Count = .Events.Count
End With
101. How can I remove an event
Visual Basic
With Calendar1
	.AutoSize = False
	.FixedCellWidth = 36
	.Images "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0" & _
"/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" & _
"/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" & _
"x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" & _
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="
	.Events.Add(Calendar1.Date).Image = 1
	.Events.Remove Calendar1.Date
End With