Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adding Microsoft OCX to Lotus Notes Form

Status
Not open for further replies.

techx

Programmer
May 24, 2001
20
US
This question is concerning the MSCOMCT2.OCX (datepicker) Microsoft control. To date I have created a Lotus Notes Form where I have embedded through OLS the MSCOMCT2.OCX control. Once embedded the control has no problem working on my machine, because it has been registered and licensed. In order for this to work on a client's machine I need to first add the OCX file to their C:\Windows\Sytem directory. I did this by creating an attachment of the OCX (The attachment is just a copy of the same OCX on my machine). I then through Lotus Script on the clients forms initialize event detach the file to the path on the client's machine. I have no problem there. The next step in the event is to register the control through the regsvr32.exe. (Maybe I should use the regocx32.EXE?). I have no problem here since I get the succeeded message after the shell command runs. With that done the form begins to open, but gives me a Generic LSE failure error. It then pops up another message telling me I do not have the License for the control. Now I've got a problem. First question: Is it legal to use MSCOMCT2.OCX (This is just another control within VB) in Lotus Notes, and do I need a new license for each client that uses the control? Second question: If it is legal how do I copy the license of the control over to the client's machine?
Thanks
 
Was there ever a reply to this post? I am in a similar situation and would appreciate an answer.

Thanks,
d
 
These error messages will occur if your computer's operating system does not contain the proper licensing key for the ActiveX object.

Some applications allow the developer to compile the license into the object itself. Visual Basic has this capability. Notes is not designed to compile the license into the object itself. Notes is acting as designed and within the MSDN (Microsoft Designer Network) guidelines for ActiveX licensing and general purpose user applications
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top