Problems with Classes
Posted on 2003-02-26
I have a ActiveX OCX control which contains several usercontrols, and four class modules which essentially provide the same collection as the comctl Listview:
ListView (UserControl) ->
ListItems (Col) ->
ListSubItems (Col) ->
(Obviously not with the same names as the comctl control.)
There is also a basic History Collection and class.
This works fine on my machine and every test machine I run it on in my office. But when i compile the ocx and the program and copy them onto the client machine
(running regsvr32 on the OCX) I get an Automation Error with no number or description, before anything is visible on the screen (I declare the History object in the startup module).
I have all the Class Modules declared as GlobalMultiUse.
The user's machine's are NT4 SP6, and the IT support people use NT policies all over the place to lock down the machines. I have several other pieces of software written in VB working on these machines, the only major difference with this new one is the class modules and the fact it is an MDI app. That's why i suspect the class modules.
Please tell me one of you guys has crossed this bridge before as I am starting to wear a head shaped dent in my desk...