Hi all,
I am in desperate need of assistance.
I have a Pocket PC application that I wish to access the phones api for trapping sms's and retrieving the mobile number of the device.
I have code which I beleive will do this, but as soon as I add the classes to the project I get designer errors. I do not even have to use the code to get these errors. I have not found any reference on the net to the namespace mentioned in the error at all.
The error is
Code:
One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding your project, while others may require code changes.
The type 'Microsoft.CompactFramework.Design.UnsafeUserControl' has no property named 'DataSource'.
Hide Edit
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.Error(IDesignerSerializationManager manager, String exceptionText, String helpLink)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeAssignStatement(IDesignerSerializationManager manager, CodeAssignStatement statement)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeStatement(IDesignerSerializationManager manager, CodeStatement statement)
The type 'Microsoft.CompactFramework.Design.UnsafeUserControl' has no property named 'DataSource'.
Hide Edit
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.Error(IDesignerSerializationManager manager, String exceptionText, String helpLink)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeAssignStatement(IDesignerSerializationManager manager, CodeAssignStatement statement)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeStatement(IDesignerSerializationManager manager, CodeStatement statement)
Following the Edit link takes me to the setting of a datasource attribute in a user control I have created.
The control is not related to the new classes I have added in any way.
Can anyone provide any direction as to why this is occuring?
======================================
They say, best men are molded out of faults,
And, for the most, become much more the better
For being a little bad.
======================================