Visio Document Custom Properties

Add-in Express™ Support Service
That's what is more important than anything else

Visio Document Custom Properties
 
Thomas Bach




Posts: 89
Joined: 2009-10-15
Hello,

is there any way to read and write Custom Document Properties (not custom shape Properties) of an Visio Document?

It seems, that viso has this properties but itīs not possible to reach these directly with an appliacation object.

Regards

Thomas
Thomas Bach
Posted 26 Nov, 2009 07:59:24 Top
Thomas Bach




Posts: 89
Joined: 2009-10-15
Iīve found the dsofile.dll from microsoft which can do this.

But now, i have the problem that this dll can not used in an enviroenment with strong names.

Ist there any way to use an old dll with addin express?

Regards

Thomas
Thomas Bach
Posted 26 Nov, 2009 13:15:14 Top
Eugene Astafiev


Add-in Express team


Posts: 8540
Joined: 2007-07-25
Hello Thomas,

Please have a look at the Microsoft Developer Support OLE File Property Reader 2.1 Sample (you can download it here.)
.NET, Extended MAPI, Windows Phone & RT
Posted 26 Nov, 2009 15:09:30 Top
Thomas Bach




Posts: 89
Joined: 2009-10-15
Hello Eugene,

thatīs was the link, that i used.

My problem was, the VS allway fire an error, that dsofile.dll has no strong name.

But i think, it was my fault by refferncing the dll. Meantime, it works.

Thank you
Thomas Bach
Posted 26 Nov, 2009 15:13:51 Top
Eugene Astafiev


Add-in Express team


Posts: 8540
Joined: 2007-07-25
Good news, Thomas!

Thank you for letting me know.
.NET, Extended MAPI, Windows Phone & RT
Posted 26 Nov, 2009 15:19:57 Top