Hi All,

I have certain functions which I want to distribute within my organisation. I do not want to distribute the source codes. So what I have done is opened a new VB project, and to that I have added a User Control, in which I have added the public functions. Thereafter I have compiled the the project into and ocx file. So far so good.

When I distribute the ocx to my colleagues, in their VB application, in the component section, they have added the ocx to the list. But the problem is that they are not able to view the functions that I have included in the ocx file. Furhter when the VB application is being executed it gives an error "Compile error: Sub or function not defined"

Somebody please help, I am in a fix.