Reputation
Top tag
Next privilege 100 Rep.
Edit community wikis
Badges
1 5
Newest
 Commentator
Impact
~1k people reached

  • 0 posts edited
  • 0 helpful flags
  • 0 votes cast
Mar
12
awarded  Commentator
Mar
12
comment Featureclasses with attachments: objects cannot be updated outside edit session
Does not work for me I'm sorry to say, it is basically the same code. Funny thing though: my code works if I already have an open edit session started from ArcMap...
Mar
11
comment Featureclasses with attachments: objects cannot be updated outside edit session
Did you try this code on a featureclass that has attachments Berend?
Mar
11
asked Featureclasses with attachments: objects cannot be updated outside edit session
May
12
asked ODP.NET invoked member is not supported in a dynamic assembly
May
5
awarded  Necromancer
Jan
5
awarded  Revival
Jan
5
answered ArcGIS custom addin icon
Jul
23
comment Alternatives to IPersistVariant in ArcMap add-in's?
Yes it is. I have edited the question and added the code I am using now. I also added the extension with implementation of the load and save methods. I appreciate your help very much Kirk and hope you still have some options for me to try.
Jul
23
revised Alternatives to IPersistVariant in ArcMap add-in's?
added 3733 characters in body
Jul
23
revised Alternatives to IPersistVariant in ArcMap add-in's?
added 1656 characters in body
Jul
20
comment Alternatives to IPersistVariant in ArcMap add-in's?
Yes, saving works. But during loading I cannot get the PropertySet back from the stream. COMException: ClassFactory cannot supply requested class...
Jul
20
awarded  Editor
Jul
20
revised Alternatives to IPersistVariant in ArcMap add-in's?
added 1717 characters in body
Jul
20
comment Alternatives to IPersistVariant in ArcMap add-in's?
However it does work when I wrap an interface type member directly in a PropertySet. So we are a step further...
Jul
20
comment Alternatives to IPersistVariant in ArcMap add-in's?
That method does not work for persisting my custom classes that have members declared as interface types common in ArcObjects (such as IPolyline). I get an error that states the class is not marked as serializable (see edited question for the class).
Jul
19
comment Alternatives to IPersistVariant in ArcMap add-in's?
Possibly yes. I now followed your advice Kirk and put in the PersistenceHelper and decorated my class with the SerializeAttribute. It works for most types, but not for members declared as interfaces (there they are again). Throughout my solution I of course use members declared as IPolyline, IPoint an so on. In the sample they use PointClass which works. This is a problem since a lot of methods in ArcObjects return objects through their interfaces. Any thoughts on that?
Jul
19
comment Alternatives to IPersistVariant in ArcMap add-in's?
I use 10.0 and implement several interfaces in my add-in with success: ILayer, ILegendinfo, ITool, ICommand, IGeoDataset.
Jul
18
comment Alternatives to IPersistVariant in ArcMap add-in's?
I'll try this, thank you Kirk.
Jul
18
awarded  Student