PDA

Click to See Complete Forum and Search --> : ocx control for access


mvrp350
Dec 6th, 2004, 06:07 AM
Hi,

I've written an Active-X component. This OCX is designed for use in an access(XP) database. When I compile everything goes fine.
When I want to add the ocx to my toolbox, I click register, select my ocx. After this, my ocx should appear in the list, but it doesn't. If I try it with a new vb6 project, the ocx works fine. What might be causing this problem?

Thanks

BodwadUK
Dec 6th, 2004, 09:54 AM
Are you moveing the active x control for access???

Does the activeX control have extra active x controls in it???

:)

mvrp350
Dec 6th, 2004, 10:09 AM
The ocx consists of a number of items:

- a couple of textboxes
- a listbox
- a checkbox
- a richtextbox
- a button
- a listview

and a dll to be able to modify the subitems in the listview.

The ocx is registering the remarks on a project
every remark can contain multiple action-points. These action-points are listed in the listview.

What I want to do is create an access-form with the ocx. When loading the form I'll query the DB and fill it with the proper remarks and (if available) the action-points.

The thing is that I'm not able to register the ocx properly in access, so it doesn't show up in my activeX control toolbox.

When I register it by hand and use it in a new vb6 project it runs fine.

If needed I can provide you the code.