File Properties API Update

Valued Contributor
Valued Contributor

 

Hi,

 

After discovering that Jasons File Properties API doesn't work for FOA assemblies, and doesn't support adding properties, I put a bit of work into extending a class library that I wrote at the start of the year to fix these issues (as well as the problem where it is not possible to open the properties read-only for a file that is already open in Solid Edge).

I have also written a C++ version for VB6 to come to terms with what seems to be the only reliable language for writing SE addins.

 

Anyway - I've finished

In the following posts three versions are attached. I have used the Visual Studio versions - meaning Version 6 is for VB6 etc...

 

 

Version 6 of the StructuredStorage library can be downloaded here.

In the zip file there is a setup that installs the following files:

 

StructuredStorage.dll

StructuredStorage.tlb

StructuredStorage.chm (help file)

StructuredStorageV6.0.zip (Source Code)

License.rtf (GNU Open Source License)

 

The dll is registered during the setup.

 

The dll requires the VC++ 2005 redistributable in order to be registered. Install this before running the setup (it is not included in the download).

 

Cheers

Calum

 

StructuredStorage V6.0.

 

Posted by: Calum McLellan
Post date: 12/5/2006 10:49:54 PM

25 REPLIES

RE: File Properties API Update

Valued Contributor
Valued Contributor

[Deleted 26.02.2007]

 

Posted by: Calum McLellan
Post date: 12/5/2006 10:54:39 PM

RE: File Properties API Update

Valued Contributor
Valued Contributor

[Deleted 26.02.2007]

 

Posted by: Calum McLellan
Post date: 12/5/2006 10:56:11 PM

RE: File Properties API Update

Valued Contributor
Valued Contributor

 

Version 7 for Visual Studio 2003

 

This setup installs the dll to the GAC, adds a regkey so that the dll appears in the Add References dialg, adds integrated help for Visual Studio 2003 and adds a zip to the installation folder with the source code.

 

You can also get the source code from the first page in the help (Help namespace: OpenSource.StructuredStorage)

 

[Link updated: 09.04.2010] 

StructuredStorage V7.1

 

Posted by: Calum McLellan
Post date: 12/5/2006 11:01:16 PM

Highlighted

RE: File Properties API Update

Valued Contributor
Valued Contributor

 

Version 8 for Visual Studio 2005

 

This setup installs the dll to the GAC, adds a regkey so that the dll appears in the Add References dialg, adds integrated help for Visual Studio 2005 and adds a zip to the installation folder with the source code.

 

You can also get the source code from the first page in the help (Help namespace: OpenSource.StructuredStorage)

 

[Link updated: 09.04.2010] 

StructuredStorage V8.1

 

Posted by: Calum McLellan
Post date: 12/5/2006 11:02:06 PM

RE: File Properties API Update

Valued Contributor
Valued Contributor

Calum,

 

Thanks for the excellent work.

 

Do you have any example code of how to call you API ???

 

Cheers

 

Cam

 

Posted by: Cameron Smith
Post date: 12/10/2006 9:16:18 AM

RE: File Properties API Update

Valued Contributor
Valued Contributor

Hi Cam,

 

The setup for the two .Net versions installs integrated help to visual studio (2003 for V7.0 and 2005 for V8.0). If you look in the vs help contents section there should be an entry 'Open Source', under this you will find the Structured Storage help and some code samples. This should be enough to get you started.

 

Cheers

Calum

 

Posted by: Calum McLellan
Post date: 12/10/2006 11:18:00 AM

RE: File Properties API Update

Valued Contributor
Valued Contributor

I just updated the downloads for the .net versions to fix a lock problem that I introduced with the addition of FOA support.

Thanks Oswald

 

 

 

Posted by: Calum McLellan
Post date: 12/18/2006 9:49:42 AM

RE: File Properties API Update

Valued Contributor
Valued Contributor

Hi, I downloaded the three files (version for VB6), but they seem to be corrupt. I renamed second and third part to z01 and z02, but I got an error.

Would it be possible to download the full package from elsewhere, or to have it sent by email??

 

Thanks in advance

 

Posted by: Andrea Pusceddu
Post date: 2/13/2007 12:16:00 AM

RE: File Properties API Update

Valued Contributor
Valued Contributor

Hi Calum, I also tried to download the three files (version for VB6), but they seemed to be corrupt for me too.

 

Thanks in advance

 

Jacob

 

Posted by: Jacob Nielsen
Post date: 2/15/2007 3:00:13 AM