|
Support FAQ's
Common ActiveCalendar questions:
How do I create an instance of the control on a web page? How do I use the control in a form and refer to the control from oustide the form? How do I set the properties of the control? How do I set the hidden
form fields?
Using ActiveCalendar with Microsoft FrontPage You can add the control to a FrontPage web using the following procedure: 1. On the Insert menu, point to Advanced, then choose ActiveX Control, or on the Advanced toolbar, click the Insert ActiveX Control button: 2. In the ActiveX Control Properties dialog box, select ActiveCalendar from the Pick a Control field, which lists the ActiveX controls installed on your computer. 3. If you want to specify parameter values for the ActiveCalendar, click Properties. 4. If you want to use a name to refer to ActiveCalendar within scripts on the current page, in the Name box, type the name. 5. In the HTML field under Alternative Representation, you can type HTML to display in place of the ActiveX control on Web browsers that do not support ActiveX. 6. In the Code Source field under Network Location, you can specify the URL that Web browsers should use to download the ActiveX control when the page is loaded, if the control is not on the Web browser computer. 7. Click OK to close the ActiveX Control Properties dialog box and insert the control on your page. You may need to manually add references to the .lpk and .cab files (in the HTML or Script for the page). For an example of this, open the web demo that ships with ActiveCalendar. ActiveCalendar is most commonly used
when you want to pick a date on a custom form that you develop.
However, you can use ActiveCalender anywhere that you
need a date value.
First you must add ActiveCalendar to the control toolbox and then add it to your form as follows: 1--With the Outlook form in design-view, open the Controls Toolbar. (Choose Control Toolbox from the Form menu) 2--Right-click Control Toolbox and choose Custom Controls. in the Control Toolbox. ( if you do not get a Custom Controls option see below ) 3--Choose ActiveCalendar from the list and click OK. The ActiveCalendar icon will show up in the Control Toolbox)
Problem adding control using Outlook: When you right-click you may not get a Custom Controls option and there is no AC icon in the Control Toolbox. Solution: There is a bit of a tricky move that is required when adding any Custom Control to Outlook forms: At the point where you are about to right click... (Choose Control Toolbox from the Form menu) Right-click Control Toolbox and choose Custom Controls. When you right-click you may not get a Custom Controls option and there is no AC icon in the Control Toolbox. You have to be pointing at one of the existing controls (if you click anywhere else in the Toolbox Window it will not bring up the Custom Controls option) So click on the "A" (called the Label Control) then right click and you should see the Custom Control box pop up. Then you can drag and drop the control onto your form and you will see Active Calendar! _________________________This technical article, available from
the MSDN Online Library, covers basic concepts and procedures an
administrator can use for distributing and maintaining Outlook
applications within an organization. Get all the details at: ________________________
Using ActiveCalendar with Microsoft Access
ActiveCalendar is most commonly used
when you want to pick a date on a custom form that you develop.
However, you can use ActiveCalender anywhere that you
need a date value. It is added basically in the same manner as any other ActiveX control.
Using ActiveCalendar with Microsoft Word
ActiveCalendar is most commonly used
when you want to pick a date on a custom form that you develop.
However, you can use ActiveCalender anywhere that you
need a date value.
For more information about using ActiveX controls in a Microsoft Word document, click Microsoft Word Help on the Help menu, type activex controls in the Office Assistant or the Answer Wizard, and then click Search to view the topics returned.
Using ActiveCalendar with Microsoft Excel
ActiveCalendar is most commonly used
when you want to pick a date on a custom form that you develop.
However, you can use ActiveCalender anywhere that you
need a date value. It is added in the same manner as any other ActiveX control.
Using ActiveCalendar with Microsoft Visual Basic
ActiveCalendar can be used with Visual Basic. ActiveCalendar is most commonly
used when you want to pick a date on a custom form that you develop.
However, you can use ActiveCalender anywhere that you
need a date value. It is added in the same manner as other ActiveX controls. Please see http://www.microsoft.com/com/tech/activex.asp for more information. We wish you success on your coding project!
Using ActiveCalendar with other applications ActiveCalendar can be used with many applications. ActiveCalendar is most commonly
used when you want to pick a date on a custom form that you develop.
However, you can use ActiveCalender anywhere that you
need a date value. It is added in the same manner as any other ActiveX control. Please see http://www.microsoft.com/com/tech/activex.asp for more information. We wish you success on your coding project!
Installing on Multiple PC's or Across a Network Unfortunately, it is not simple to distribute custom forms with controls. Please reference their KB Article ID: Q180838 regarding custom forms where they say If your solution uses any controls, check to see if the controls are properly installed on all user computers. Are they the same version? Ideally, unless you are only using the "Forms 2.0" controls that are installed by Microsoft Office, you should require your users to run a setup program to make sure all of your controls are installed correctly. Both Visual Basic and Office Developer Edition include tools to create custom setup programs). Please see http://www.microsoft.com/com/tech/activex.asp for more information. Make sure the following files are present on the user's machine (they are files that are usually present but may have to be distributed with your application): Asycfilt.dll Comcat.dll Ctl3d32.dll Msvbvm60.dll Oleaut32.dll Olepro32.dll Stdole2.tlb Files associated with ActiveCalendar: Tsgacal.ocx Ac20.hlp Ac20.cnt Tsgacal.dep Tsgacal.lpk Tsgacal.cab demo.htm demo.mdb demo.vbp demo.vbw frmdemo.frm frmdemo.frx Registry Entries include: HKCR/Calendar.ActiveCalendar Please see http://www.microsoft.com/com/tech/activex.asp for more information.
Referencing Active Calendar's Default Date Value The approach would be to reference the control's "acDate" property. example: <form onsubmit="FieldDate1.Value = ActiveCalendar1.acDate" ; "fielddate2.value="ActiveCalendar2.acDate""> <input type="hidden" name="FieldDate1" value><input type="hidden" name="FieldDate2" value> Q. How do I reference Active Calendar's Help Information? "The help pages are excellent." - email from an Active Calendar UserA. Right click on the control and you will see several "properties" listed. The property page for the control (not Outlook's) will enable you to access the help menu.From the "Active Calendar" Properties menu, click on the AC "Help" button
Q. I have my page setup correctly but the control doesn't get installed when the user hits my page, what's wrong? A.The browser can't find all of the necessary support files. Download the following files: msvbvm50.cab asycfilt.cab Place the files in the directory with the ActiveCalendar cab and license files: tsgacal.cab tsgacal.lpk Place all four files in a directory on your web server and make sure that the ActiveCalendar object tag and license object tag point to the correct URL on your web server.
<OBJECT CLASSID="CLSID:5220cb21-c88d-11cf-b347-00aa00a28331">
<PARAM NAME="LPKPath" VALUE="tsgacal.LPK">
</OBJECT>
Where
VALUE="tsgacal.lpk" is a valid path to the
license package file.
<OBJECT ID="ActiveCalendar2" WIDTH=120 HEIGHT=19
CLASSID="CLSID:B6845ABC-880B-11D1-A249-00805F21D5F8"
CODEBASE="TSGACAL.CAB#version=2,0,0,101">
</OBJECT>
Document.Forms(0).ActiveCalendar1.acDate Document.Forms is
the forms collection and 0 is the index of the first form
on the page.
<OBJECT ID="ActiveCalendar2" WIDTH=120 HEIGHT=19
CLASSID="CLSID:B6845ABC-880B-11D1-A249-00805F21D5F8"
CODEBASE="TSGACAL.CAB#version=2,0,0,101">
<PARAM NAME="CalendarFont" VALUE="Tahoma">
<PARAM NAME="Font" VALUE="Tahoma">
<PARAM NAME="FontSize" VALUE="8">
<PARAM NAME="Height" VALUE="18">
<PARAM NAME="DateFormat" VALUE="ddd mm/dd/yyyy">
</OBJECT>
NAME can equal any
valid property and VALUE can equal a valid setting for
that property. To do this you right click on the control and you will see several "properties" listed. Be sure you are consistent with the date format you choose. The property page for the control (not Outlook's) will enable you to set the properties.The following code to reference the control's "acDate" property may be helpful. Example:<form onsubmit="FieldDate1.Value = ActiveCalendar1.acDate" ; "fielddate2.value="ActiveCalendar2.acDate""> <input type="hidden" name="FieldDate1" value><input type="hidden" name="FieldDate2" value>
Active Calendar can retrieve language settings from the operating system. Spanish
German French
|
|||||||||||