Problem with licensed activex controls

A

Atul

There seems to be a problem when licensed activex controls are used in a
word Dot file.

When using the control in evaluation mode, my activex control returns an
invalid license serial no. Word seems to ask for this license string only
once. Therefore if I activate the license later on, its of no use because
Word does not ask for the license string at any later time. I tried removing
the control and references to it hoping that when I re-added the control to
the form, the license information would be required. However, this is not
the case, it seems that Word stores the old license strings and uses them if
the control is ridded.

What might be the solution to this problem?

Atul
 
M

Michael Herzfeld

Hi Atul. Looks like you might have found a flaw in our ActiveX support.
Here's some steps to try that should solve the problem:

1. Open the document containing the control.
2. Delete the control.
3. Save the document.
4. Close Word.
5. Reopen Word and your document.
6. Open VBE and do something to dirty your VB project.
7. Save the document.
8. Close and restart Word again.
9. Add the control back to the document. It should now pick up the new
license.

The problem is that we cache the license in the VB project, even after
the control has been removed. The only way to remove the cached version
of the license is to dirty and resave the VB project without the control
being present in the document.

I haven't had a chance to try this out yet, so please let me know if it
works.

Michael Herzfeld
Office Programmability Test Team



-----Original Message-----
From: Atul [mailto:atulatsswaredotcom]
Posted At: Friday, September 09, 2005 4:32 AM
Posted To: microsoft.public.office.developer.vba
Conversation: Problem with licensed activex controls
Subject: Problem with licensed activex controls

There seems to be a problem when licensed activex controls are used in a

word Dot file.

When using the control in evaluation mode, my activex control returns an

invalid license serial no. Word seems to ask for this license string
only
once. Therefore if I activate the license later on, its of no use
because
Word does not ask for the license string at any later time. I tried
removing
the control and references to it hoping that when I re-added the control
to
the form, the license information would be required. However, this is
not
the case, it seems that Word stores the old license strings and uses
them if
the control is ridded.

What might be the solution to this problem?

Atul
 

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