ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   IObjectSafety (https://www.excelbanter.com/excel-programming/360641-iobjectsafety.html)

Robert Mulroney[_3_]

IObjectSafety
 
I don't think this is off topic, but perhaps more technical then we're used
to seeing. I need some help implementing an Activex Control that will
correctly pass Excels "about to init Activex control that might be
unsafe......" dialogue on load. All I really want is a Rich Textbox control
that I can put on a VBA form that won't bring up the "potentially unsafe"
error on startup.

Through my research I have discovered one way around this problem is to
implement the IObjectSafety class within an ActiveX control and add the
RichTextbox to that. I've read and followed the instruction at
http://support.microsoft.com/default...;en-us;Q182598 - "How To
Implement IObjectSafety in Visual Basic Controls" but to no avail. I missing
something and I cant figure out what.

I'm not super-fluent in VB6.0 but I know enough make simple controls. If
someone has a VB6 or VB.net project that implements IObjectSafety that'd be
ideal. All help is appreciated I'm at my wits end with this.

- Rm


RB Smissaert

IObjectSafety
 
I wouldn't know how to do it, but somebody made a VB6 .ocx project for me
that implements this. All working nicely.
If you want I can e-mail the project + compiled .ocx.

RBS

"Robert Mulroney" '''' wrote in message
...
I don't think this is off topic, but perhaps more technical then we're used
to seeing. I need some help implementing an Activex Control that will
correctly pass Excels "about to init Activex control that might be
unsafe......" dialogue on load. All I really want is a Rich Textbox
control
that I can put on a VBA form that won't bring up the "potentially unsafe"
error on startup.

Through my research I have discovered one way around this problem is to
implement the IObjectSafety class within an ActiveX control and add the
RichTextbox to that. I've read and followed the instruction at
http://support.microsoft.com/default...;en-us;Q182598 - "How To
Implement IObjectSafety in Visual Basic Controls" but to no avail. I
missing
something and I cant figure out what.

I'm not super-fluent in VB6.0 but I know enough make simple controls. If
someone has a VB6 or VB.net project that implements IObjectSafety that'd
be
ideal. All help is appreciated I'm at my wits end with this.

- Rm




All times are GMT +1. The time now is 06:47 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com