Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how do i create a pop-up calender 2

Status
Not open for further replies.

murphysdad

Technical User
Joined
May 20, 2002
Messages
41
Location
US
Is there any way possible that I can have a pop-up calender come up when someone is filling out a form and requested to supply a target date. Peopl are asking to see an actual calender so they can plan their target dates by knowing what day of the week it is. Thank you!!!
 
this form wouldn't open for me.
 
What i did was create a separate form and placed the microsoft calendar control on it. Scaled it how i wanted added a close button etc and changed the forms look.

When ever i wanted a user to input a date i placed a little button next to the text box and this loaded the calendar form. If a user clicked a date then the text box would display that date, if the user double clicks a date it closes the calender and shows the date in the text box.

I can send you an example if you want.Hope this helps
 
Hey Mouse, I would love to see the example you are talking about as in my database there is start dates and end dates.

Thanks slammer AKA Mich
 
There is a problem with using the Calander control that is that you have to register the control on some PC's this can be fixed by creating a batch file and registering the control in the registary this is my batch file that i ran on the PC before it could use the calander control

@echo off
cls
echo -
echo -
echo -
echo -
echo -
echo -
echo -
echo -
echo -
echo -
echo - Microsoft Access Script Register
echo -
echo - This will register any control needed
echo -
echo - Push Space to begin or close the window to stop
echo -
echo -
echo -
echo -
echo -
echo -
echo -
pause

cls

echo - Copying and Registering files...
echo -
echo - Copying Files needed for the calendar control
echo -
copy .\MSCAL.OCX C:\WINNT\SYSTEM\MSCAL.OCX
copy .\MSCAL.OCX C:\WINNT\SYSTEM\MSCAL.DEP
copy .\MSCAL.OCX C:\WINNT\SYSTEM\MSCAL.HLP
copy .\MSCAL.OCX C:\WINNT\SYSTEM\MSCAL.CNT
echo - Registering the calendar control for
regsvr32 /s "C:\WINNT\SYSTEM\MSCAL.OCX"
echo -
cls

echo -
echo -
echo -
echo -
echo -
echo -
echo -
echo -
echo -
echo - Finished.
echo -
echo - Push space to exit.
echo -
echo -
echo -
echo -
echo -
echo -

pause
exit
 
Scotthemouse, could youplease shoe me how you did the calender thing. it sounds perfect to me. being a beginner programmer i am looking to learn some new junk and you calender would fit perfectly into my form. thanks!
 
those of you who want an example of the popup calendar i use just post your emails and i'll gladly send it.
 
jeremy.link@unilever.com

thank you!
 
Hi, thanks I am just a beginner too,
slammer14@hotmail.com

Hey scousethemoose, do you think you could help me with my other question?
 
I'd love a copy of that, I use access 2k...

--James
Junior1544@jmjpc.net junior1544@jmjpc.net
Life is change. To deny change is to deny life.
 
I have emailed everyone who requested a copy of the calendar example. Any problems or further questions let me know.

Scousethemoose@hotmail.com
 
This thing is great! Thank you so much... now i get to figure out how it works:)

--James junior1544@jmjpc.net
Life is change. To deny change is to deny life.
 
Well, I feel really stupid. But I will ask anyway. How do I get the start day to come up in my project table???

Hmmm, Must be a blond day,
Mich
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top