IObjectSafety

G

Guest

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.aspx?scid=kb;en-us;Q182598 - "How To
Implement IObjectSafety in Visual Basic Controls" but to no avail. I missing
something and I can’t 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
 
R

RB Smissaert

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
 

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