Hi all !
I'm just on a new activeX and want to make it compatible to a lot of MS activeX This way I wanted to use ListItem as a class for my listdata. That would make it easy to exchange data when I can use the same class as well as e.g for a ListView and for my activeX. like
Code:
myControl.Drophighlight = ListCtrl.SelectedItem
where myControl is the new activeX and ListCtrl is any MS listView
contrl.

Problem is if I want to create a ListItem like
Code:
Private m_myList as ListItem
...
Set m_MyList = new ListItem
it errors and told me I cannot create this class
So maybe I only need to add e reference to the code but I didn't know which. Adding an invisible control allows to use ListItem as a pointer
like
Code:
Dim myList as ListItem
Set myList = ListView.SelectedItem
So it gets the object out of the listview, but it still doesn't allow to create an ListItemobject myself. ? Any one knows why and what to do against ?

Thx in before