How to use a calendar to a the whole application?

Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Apr 2008
Posts: 15
Reputation: acerdafpz is an unknown quantity at this point 
Solved Threads: 2
acerdafpz's Avatar
acerdafpz acerdafpz is offline Offline
Newbie Poster

How to use a calendar to a the whole application?

 
0
  #1
Sep 20th, 2008
HI guys.....

I'm having a problem using one calendar in my whole application....

here are the details:

component used for calendar : Microsoft Calendar Control 11.0

here's the situation:

I have plenty of forms, and in every form that has textboxes which requires to input dates..
in one form, it has like more than 3 textboxes...

then beside the textbox is a command button that calls a form where i put my calendar object...

i will select the said date and click the ok button...

then the date i choosed will automatically goes to the said textbox...

what i want is that how to code it if i will used only one form for my calendar and used it all over my application.... that if i click a calendar button the date will go to the textbox beside it....

any suggestion would really be appriciated....

Thank you very much...
In every hardwork you will gain.....
http://acerdafpz.multiply.com
acer_dafpz@yahoo.com
Reply With Quote Quick reply to this message  
Join Date: Feb 2007
Posts: 2,149
Reputation: debasisdas will become famous soon enough debasisdas will become famous soon enough 
Solved Threads: 132
debasisdas's Avatar
debasisdas debasisdas is offline Offline
Postaholic

Re: How to use a calendar to a the whole application?

 
0
  #2
Sep 20th, 2008
you need to call the form containing the calander control on the click of the button and on selection of the date from calender pass the data back to the textbox.
Share your Knowledge.
Reply With Quote Quick reply to this message  
Join Date: Apr 2008
Posts: 15
Reputation: acerdafpz is an unknown quantity at this point 
Solved Threads: 2
acerdafpz's Avatar
acerdafpz acerdafpz is offline Offline
Newbie Poster

Re: How to use a calendar to a the whole application?

 
0
  #3
Sep 20th, 2008
I KNOW BUT WHAT I WANT IS TO USE THIS FORM CONTAINING THE CALENDAR TO BE CALLED BY DIFFERENT BUTTONS AND PUT THE OOUTPUT FROM DIFFERENT TEXTBOX FROM DIFFERENT FORMS..... DID YOU GET MY POINT...


i already used this one to one button but i think i got like a hundred of textbox with a hundred of buttons.... and it would be little crazy if i also made a hundred forms containig a calendar..... so what i want is to create a function but what i made was not working....

if you have any suggestions then......


Thank you.....
In every hardwork you will gain.....
http://acerdafpz.multiply.com
acer_dafpz@yahoo.com
Reply With Quote Quick reply to this message  
Join Date: Feb 2007
Posts: 2,149
Reputation: debasisdas will become famous soon enough debasisdas will become famous soon enough 
Solved Threads: 132
debasisdas's Avatar
debasisdas debasisdas is offline Offline
Postaholic

Re: How to use a calendar to a the whole application?

 
0
  #4
Sep 20th, 2008
Are you unable to open the form containging the calander control ?
Share your Knowledge.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:




Views: 842 | Replies: 3
Thread Tools Search this Thread



Tag cloud for Visual Basic 4 / 5 / 6
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC