WIALib error

  • Thread starter Thread starter Franky
  • Start date Start date
F

Franky

I have a project containing a class and it works OK.

However, when I copy the class and paste it into my library I get and error.

Do you know what might cause that?

THANKS

Something = New Collection()

produces:

Error 4 'WIALib.CollectionClass.Private Sub New()' is not accessible in this
context because it is 'Private'. C:\Documents and Settings\...LibraryVb
 
It would have been smart if I included:

Dim Something As MSScriptControl.ScriptControlClass

thanks for replying
 
Try again to get this right!

I have a project containing a class and it works OK.

When I copy the class and paste it into my library I get an error.

Do you know what might cause it?

THANKS


Private Something As Collection

Something = New Microsoft.VisualBasic.Collection()


produces:

Error 4 'WIALib.CollectionClass.Private Sub New()' is not accessible in
this context because it is 'Private'. C:\Documents and
Settings\...LibraryVb
 
Back
Top