PDA

Click to See Complete Forum and Search --> : DLL/COM Redirection from a Word template?


Disposalist
May 17th, 2006, 06:19 AM
Hi there. Can I pick some brains, please?

I need an application of mine to use an old version of the Rich Text control without replacing the new one for others, so DLL/COM redirection looked just the thing, but this is described as working for DLLs/OCXs loaded from an application .EXE file.

My application is launched from a Word template. That template references a DLL which references another DLL which references a custom OCX which makes use of the Rich Textbox control.

Is there any way I can get this VBA-launched app use a local version of the Rich Textbox control like DLL/COM redirection is supposed to work for an .EXE app?

Thanks.

RobDog888
May 17th, 2006, 10:20 PM
Welcome to the forums.

Why not just get the older ocx version and rename it to be different then the current one. then in your excel workbook/template you would use the toolbox to import your "new" version of the rtb and drop it on to the sheet. When you distribute your workbook, just distribute the new ocx too.