473,657 Members | 2,523 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Change MonthCalendar control size in VB.NET 2003

RG
For a Windows project in VB.NET 2003:

I need a Calendar that’s much larger than the MonthCalendar control in the
toolbox; it needs to fill the whole screen (at least approximately ). VB
won’t allow me to change the Size Height or Width Properties.

I see that you can size a Calendar control in a Web project all you like;
but I’m creating a Windows application project here.

I see that Size comes from System.Drawing. Size structure, but I don’t get
how to change it, or if it is changeable at all.

Do I need to purchase a different object from a vendor that’s a full-screen
or sizeable calendar control to use instead of the standard MonthCalendar
control?

Thanks.
--
RG
Nov 21 '05 #1
3 11001
RG wrote:
For a Windows project in VB.NET 2003:

I need a Calendar that’s much larger than the MonthCalendar control in the
toolbox; it needs to fill the whole screen (at least approximately ). VB
won’t allow me to change the Size Height or Width Properties.

I see that you can size a Calendar control in a Web project all you like;
but I’m creating a Windows application project here.

I see that Size comes from System.Drawing. Size structure, but I don’t get
how to change it, or if it is changeable at all.

Do I need to purchase a different object from a vendor that’s a full-screen
or sizeable calendar control to use instead of the standard MonthCalendar
control?

Thanks.


I just had a quick look, and in the form designer I could drag the
calendar to resize it, giving me more months on display.

Do you want just one month on display at large size? I got this to
work ok just by changing the font size - hte control resized itself
to display the larger font.

Any of this help?

Gary
Nov 21 '05 #2
RG
That works. THanks.
--
RG
"RG" wrote:
For a Windows project in VB.NET 2003:

I need a Calendar that’s much larger than the MonthCalendar control in the
toolbox; it needs to fill the whole screen (at least approximately ). VB
won’t allow me to change the Size Height or Width Properties.

I see that you can size a Calendar control in a Web project all you like;
but I’m creating a Windows application project here.

I see that Size comes from System.Drawing. Size structure, but I don’t get
how to change it, or if it is changeable at all.

Do I need to purchase a different object from a vendor that’s a full-screen
or sizeable calendar control to use instead of the standard MonthCalendar
control?

Thanks.
--
RG

Nov 21 '05 #3
Working in VB2005, the MonthCalendar.F ont.Size property is "ReadOnly" at
runtime and cannot be changed. Therefore I cannot "resize" the MonthCalendar
control at runtime by changing the font size.

I need to make the calendar display one month, but in a larger size to fill
a TableLayoutPane l.

Increasing the font size of calendar at design time makes the calendar a
larger size, but it appears this is not allowed at runtime.

Can someone please give me some help concerning this matter?

Thanks in advance for your time.

"beaker" wrote:
RG wrote:
For a Windows project in VB.NET 2003:

I need a Calendar that’s much larger than the MonthCalendar control in the
toolbox; it needs to fill the whole screen (at least approximately ). VB
won’t allow me to change the Size Height or Width Properties.

I see that you can size a Calendar control in a Web project all you like;
but I’m creating a Windows application project here.

I see that Size comes from System.Drawing. Size structure, but I don’t get
how to change it, or if it is changeable at all.

Do I need to purchase a different object from a vendor that’s a full-screen
or sizeable calendar control to use instead of the standard MonthCalendar
control?

Thanks.

I just had a quick look, and in the form designer I could drag the
calendar to resize it, giving me more months on display.

Do you want just one month on display at large size? I got this to
work ok just by changing the font size - hte control resized itself
to display the larger font.

Any of this help?

Gary
Sep 8 '06 #4

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

Similar topics

0
1392
by: Sharon | last post by:
is there any way I can make the monthcalendar control show Hebrew date's ? thank you Sharon .
1
2617
by: Trevor | last post by:
When the year in the monthcalendar control is decremented the whole year is selected between the currently select date and the newly chosen date. However this highlighting behavior does not occur if the year is incremented. Is this by design? Is there anyway to override this behavior?
4
4449
by: active | last post by:
It appears to me that if I change the Control's client size the controls size does not change to agree with the new size. Does it work like the VB6 ScaleWidth and ScaleHeight? That is after I change the Clientsize does the display stay the same but the number of units required to reference a given point changes? Anyway, it appears to me that If I want to change to size of the control so that the client size is some value, I need to...
4
24434
by: Lisa Jones | last post by:
Hi Can someone tell me How do you get selected date form MonthCalendar control Thanks so muc Lisa
8
2611
by: vbmark | last post by:
I want the MonthCalendar control to return the single day selected. I have MaxSelectionCount = 1. What I get back though is this: "SelectionRange: Start: 5/5/2005 12:00:00 AM, End: 5/5/2005 12:00:00 AM" How do I get the single day date?
3
2537
by: gv | last post by:
Hi all, Using VB Express 2005 How do I get the day of the first day of the month using the MonthCalendar control. so if the MonthCalendar control is set to the systems date. thanks
2
1343
by: Al_C | last post by:
Hi, Have an app where the user wants to pull up data for selected dates. The monthcalendar control is ideal for that, but the problem I have is that there may not be data for all dates. I'd rather not have them select dates for which there is no data. Given my choice I'd like to highlight in some fashion dates for which data is available. I can see how to use the bold attribute for a date, but it's pretty sad. I'd rther underline or...
0
1481
by: CharlieC | last post by:
I seem to have an issue with the MonthCalendar control. When I click on the year, to change the year, the dates not not seem to redraw properly, especially if I go back in time. All seems Ok if I use the Month navigation buttons. It seems to be ok if I go foward in time. Microsoft Visual Studio 2005 Version 8.0.50727.762 (SP.050727-7600) Microsoft .NET Framework Version 2.0.50727
1
1547
by: siri11 | last post by:
hi!!!!!! Can any one please suggest me how to change the location of a panel (i.e. X and Y positions) at run time.And also how to change the size of a panel (width and height) at run time.Please send the code if possible.(using C#.net Windows Application) Thanks siri
0
8726
jinu1996
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8603
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7320
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6163
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5632
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4151
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4301
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1944
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1604
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.