Since I am new to COM and Class-programming I would like you to help me out on the following problem:

When I try to add a Datasource class to my existing ActiveX exe-project I allways get the following error message :
"Class has an invalid value for DatasourceBehavior in this type of project. The value has been changed to VBnone".
After this I get a class module without the Datasourcebehavior property (so it is the same as a regular class module)

When I try the same in an Active Dll I or when I add a class module in a regular VB-project I don't get the error message. What is happening ? Why is this ? Is it because an ActiveX exe runs out-of-process ? Is it impossible to add a Datasource class to an ActiveX exe ?

Thanks a lot for your suggestions and tips.

Peter Aerts
Belgium
[email protected]