Does the userform run in a web browser? Since the OWC is an ActiveX
control,
it makes sense for the security error to display when this is run inside
a
browser. Remember, a browser needs special permission to interact with
the
end-user desktop. However, if this is running in, say a windows forms
client, the ActiveX control will instantiate itself as a window control
so
typically only the setup program needs to be granted the appropriate
rights.
A windows control doesn't need explicit rights to interact with the
desktop.
Consequently, the error should not show up - if I clearly understand what
you are saying.
--
________________________
Warm regards,
Alvin Bruney [MVP ASP.NET]
[Shameless Author plug]
The O.W.C. Black Book with .NET
www.lulu.com/owc, Amazon
Professional VSTO.NET - Wrox/Wiley 2006
-------------------------------------------------------
I am using this component embeded in a userform. I use Visual Basic 6.0
to
create this application.
But each time I run the code this warning pops up (with the title
Microsoft
Forms).
It appears also with the .exe generated. It appears on other CPU as
well
with windows 2000 and XP.
I did already spend lots of time on this. Nobody talks about this issue
on
the net but I am also wondering if this component is really appropriate
for
offline application. But I didn't find any other component.
Thanks
:
if you aren't using a web browser, where is the error message popping
up?
How is the error message being triggered?
--
________________________
Warm regards,
Alvin Bruney [MVP ASP.NET]
[Shameless Author plug]
The O.W.C. Black Book with .NET
www.lulu.com/owc, Amazon
Professional VSTO.NET - Wrox/Wiley 2006
-------------------------------------------------------
Thanks Alvin
It does look like that but I do not use any web browser for this
application.
Anyway I tried to modify the security settings in the web browser
without
any success.
Are those security settings activated somewhere else.
Do I need to initialize those controls in the code ??
Thanks in advance
Guillaume
:
Your web browser contains a few activex security settings. simply
override
these as appropriate.
--
________________________
Warm regards,
Alvin Bruney [MVP ASP.NET]
[Shameless Author plug]
The O.W.C. Black Book with .NET
www.lulu.com/owc, Amazon
Professional VSTO.NET - Wrox/Wiley 2006
-------------------------------------------------------
Gents,
I have VB form with several OWC chartspaces on it.
Each time I run my code, some warning windows show-up saying
that
"this
form is about to initialize some potentially unsafe activeX
controls...ok"
I did not see any issue of this kind on any forum?
Is it linked to my computer settings ?
Where am I suppose to initialize those controls?
Thanks in advance