warning message

G

guillaume

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
 
A

Alvin Bruney

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
 
G

guillaume

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




Alvin Bruney said:
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
-------------------------------------------------------

guillaume said:
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
 
A

Alvin Bruney

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
-------------------------------------------------------

guillaume said:
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




Alvin Bruney said:
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
-------------------------------------------------------

guillaume said:
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
 
G

guillaume

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

Alvin Bruney said:
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
-------------------------------------------------------

guillaume said:
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




Alvin Bruney said:
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
 
A

Alvin Bruney

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
-------------------------------------------------------

guillaume said:
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

Alvin Bruney said:
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
-------------------------------------------------------

guillaume said:
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
 
G

guillaume

I confirm I am not running the userform in a web browser.

I do confirm also that it is difficult to explain to me because the message :

"this application is about to initialize some potentially unsafe activeX
controls. If you trust the source of the file click on OK so the controls
will be initialized according to work space parameters." is wrong actually
because I did refer to OWC11 library in my project and specify the source
location...

Also this warning is fake because weither I click on OK or Cancel, the
application is launched and the activeX controls are working fine.

Thanks

Alvin Bruney said:
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
-------------------------------------------------------

guillaume said:
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

Alvin Bruney said:
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
 
A

Alvin Bruney

Can you produce a short, but complete program that shows the problelm and
I'll take a look. For a definition of short but complete programs, see this
link:
http://www.yoda.arachsys.com/csharp/complete.html
--

________________________
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
-------------------------------------------------------

guillaume said:
I confirm I am not running the userform in a web browser.

I do confirm also that it is difficult to explain to me because the
message :

"this application is about to initialize some potentially unsafe activeX
controls. If you trust the source of the file click on OK so the controls
will be initialized according to work space parameters." is wrong
actually
because I did refer to OWC11 library in my project and specify the source
location...

Also this warning is fake because weither I click on OK or Cancel, the
application is launched and the activeX controls are working fine.

Thanks

Alvin Bruney said:
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
-------------------------------------------------------

guillaume said:
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
 
G

guillaume

Well alvin,

I decided to avoid the issue. Indeed I used a MS forms for my application,
it seems that MS form did not handle very well the activeX control (why ? I
don't know).

I finally create some classic VB forms (I had to redo everything) and now I
don't have any problem.

Thanks for your help anyway.

Guillaume

Alvin Bruney said:
Can you produce a short, but complete program that shows the problelm and
I'll take a look. For a definition of short but complete programs, see this
link:
http://www.yoda.arachsys.com/csharp/complete.html
--

________________________
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
-------------------------------------------------------

guillaume said:
I confirm I am not running the userform in a web browser.

I do confirm also that it is difficult to explain to me because the
message :

"this application is about to initialize some potentially unsafe activeX
controls. If you trust the source of the file click on OK so the controls
will be initialized according to work space parameters." is wrong
actually
because I did refer to OWC11 library in my project and specify the source
location...

Also this warning is fake because weither I click on OK or Cancel, the
application is launched and the activeX controls are working fine.

Thanks

Alvin Bruney said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top