Hi,

I embed "month view" control in a web page. Then, I set its value to
"now" (don't know any other way to always start on the current date).

<p>
<object classid="clsid:232E456A-87C3-11D1-8BE3-0000F8754DA1"
id="MonthView1" width="345" height="244">
<param name="_ExtentX" value="7620">
[snip]
<param name="MinDate" value="-53688">
</object>
<script language="VBScript">
MonthView1.Value = Now
</script>
</p>

I get the following message when rendering the page:

"An ActiveX control on this page might be unsafe to interact with
other parts of the page..."

How to fix this?

Thanks,

P.

Re: Unsafe control by McKirahan

McKirahan
Thu Nov 04 17:33:54 CST 2004

"User Incognito" <userincognito@hotmail.com> wrote in message
news:c5220f98.0411041458.40dbd08a@posting.google.com...
> Hi,
>
> I embed "month view" control in a web page. Then, I set its value to
> "now" (don't know any other way to always start on the current date).
>
> <p>
> <object classid="clsid:232E456A-87C3-11D1-8BE3-0000F8754DA1"
> id="MonthView1" width="345" height="244">
> <param name="_ExtentX" value="7620">
> [snip]
> <param name="MinDate" value="-53688">
> </object>
> <script language="VBScript">
> MonthView1.Value = Now
> </script>
> </p>
>
> I get the following message when rendering the page:
>
> "An ActiveX control on this page might be unsafe to interact with
> other parts of the page..."
>
> How to fix this?
>
> Thanks,
>
> P.

"MonthView1.Value = Now" is causing the error.

A Google search found:

http://users.pandora.be/vlad/stuff/

It's not recommended for use on public web pages (such as this one), because
it won't work on all systems.
Windows is required, and mscomct2.ocx has to be installed by some sort of
application that uses controls from it (such as a calendar view).