PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Compact Framework CF2: MyTypeConverter

Reply

CF2: MyTypeConverter

 
Thread Tools Rate Thread
Old 07-09-2006, 11:10 AM   #1
doker0@wp.pl
Guest
 
Posts: n/a
Default CF2: MyTypeConverter


How Should I implement own TypeConverter when it has no methods to
override and thare is no InstanceDescriptor? I bet it's possible but i
don't know the trick.


Also:
Did anyone had an error like:
----------------------
Failed to create component 'IconButtonBar'. The error message follows:

'System.IO.FileLoadException: The given assembly name or codebase was
invalid. (Exception from HRESULT: 0x80131047)

at System.Reflection.AssemblyName.nInit(Assembly& assembly, Boolean
forIntrospection, Boolean raiseResolveEvent)

at System.Reflection.AssemblyName.nInit()

at System.Reflection.AssemblyName..ctor(String assemblyName)

at
Microsoft.CompactFramework.Design.DeviceTypeResolutionService.GetDeviceType(String
typeName, Boolean throwOnError, Boolean ignoreCase)

at
Microsoft.CompactFramework.Design.DeviceTypeResolutionService.GetDeviceType(Type
type, Boolean throwOnError, Boolean ignoreCase)

at
Microsoft.CompactFramework.Build.MetadataService.GetTypeAttributes(Type
desktopType)

at
Microsoft.CompactFramework.Design.DeviceCustomTypeDescriptor.CreateDeviceMetaProperty(PropertyDescriptor
desktopProperty)

at
Microsoft.CompactFramework.Design.DeviceCustomTypeDescriptor.GetProperties(Attribute[]
attributes)

at
Microsoft.CompactFramework.Design.DeviceCustomTypeDescriptor.GetPr...'
--------------------------END
It happens when my collection property is not straight forward
Collection, List - type that is in std lib, but for example class that
derives from it (even if it has no other code in it).
It's probably something i don't know.

Resources would be really appreciated.

  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off