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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

calendar

Status
Not open for further replies.

bon011

Programmer
Jun 2, 2002
155
0
0
CZ
please help,

Can you say me the namo of file that contains Microsoft calendar. It is active x object
Thanks
 
Hi
1. Are you talking about MSCAL.OCX ? part of MSOffice suite.
2. or ActiveX Calendar Foundation Class
_dateTime.vcx

:) ramani :)
(Subramanian.G),FoxAcc, ramani_g@yahoo.com

 
Hi there,

I barely remember it is mscomct2.ocx

%-)
 
Hi
It may or maynot work based on the MSOutLook/MSOffice installed in your computer. (i.e. the OLECLASS specified).
Copy the following code as a PRG and un it from your command window.

** myCalendar/OutLook Diary
**************************************************
** PROCEDURE OLCalendar.PRG
PUBLIC oform1

oform1=NEWOBJECT("form1")
oform1.Show
RETURN

**************************************************
DEFINE CLASS form1 AS form

Height = 400
Width = 620
DoCreate = .T.
Caption = "Form1"
Name = "Form1"

ADD OBJECT command1 AS commandbutton WITH ;
Top = 360, ;
Left = 504, ;
Height = 27, ;
Width = 84, ;
Caption = &quot;E\<xit&quot;, ;
Name = &quot;CmdExit&quot;

ADD OBJECT olecontrol1 AS olecontrol WITH ;
Top = 12, ;
Left = 12, ;
Height = 336, ;
Width = 588, ;
Name = &quot;Olecontrol1&quot;, ;
OleClass = &quot;OVCtl.OVCtl.1&quot;

PROCEDURE cmdExit.Click
ThisForm.Release()
ENDPROC

PROCEDURE olecontrol1.Init
This.Folder = &quot;Calendar&quot;
ENDPROC

ENDDEFINE
* EndDefine: form1
**************************************************
ramani :)
(Subramanian.G),FoxAcc, ramani_g@yahoo.com

 
Ramani

Are you up to writing a FAQ on &quot;how to access the different folders of Outlook on to a form&quot;? Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top