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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Netcobol for windows and FarPoint Spread 6.0 problem

Status
Not open for further replies.

Tromba

Programmer
Apr 7, 2001
85
IT
Hello to all

I bought a Farpoint Spread 6.0 to use with Netcobol for Windows..During development time all is going fine, but when i install my application with the Spread ocx in a customer machine, when i open the form that contains the grid, a message box appears saying "file License.dat is not found. License Agreement can not be completed", and pushing the Ok button, the grid is shown with all data.

I would like to avoid this "nag" screen message, and Farpoint support is saying to "Add" the control on the form (or registry) using some API call.
During design time the control is added to the form and i i try the application on development machine all run correctly..Probably it is depending from some registry entry that contains informations about the license, but i know normally an activex installed on a runtime machine, don't need a license..or i think Farpoint use this method..

Does anyone know how to resolve this problem?

Thanks in advance
Gianni

 
You might want to register the Ocx with regsvr32.
ie: from the start=>run &quot;regsvr32 \<dir>\<spread.ocx>

Bruce
 
Hi Bruce

I haven't explained well my problem.
The control is regularly registered and it runs on the development machine, but when i register the ocx on a customer machine, this message appears.

It is not depending from the registration, but from the fact that Spread uses licensing system that must be included in your .EXE, as Visual Basic does using the &quot;Licenses.add&quot; function, not available (i think) in Netcobol for windows.

I'm workaround to find soon a solution to resolve the issue.

Gianni

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top