Click here to Skip to main content
15,919,931 members
Home / Discussions / C#
   

C#

 
GeneralRe: Alpha & Imagelists Pin
BaShOr23-May-04 8:29
BaShOr23-May-04 8:29 
GeneralRe: Alpha & Imagelists Pin
leppie23-May-04 10:49
leppie23-May-04 10:49 
GeneralCompound file in C# Pin
ilmian22-May-04 21:25
ilmian22-May-04 21:25 
GeneralRe: Compound file in C# Pin
bjoernen22-May-04 22:23
bjoernen22-May-04 22:23 
GeneralRe: Compound file in C# Pin
Colin Angus Mackay23-May-04 1:39
Colin Angus Mackay23-May-04 1:39 
GeneralRe: Compound file in C# Pin
Heath Stewart23-May-04 4:36
protectorHeath Stewart23-May-04 4:36 
GeneralRe: Compound file in C# Pin
Heath Stewart23-May-04 4:28
protectorHeath Stewart23-May-04 4:28 
GeneralRe: Compound file in C# Pin
Heath Stewart23-May-04 4:33
protectorHeath Stewart23-May-04 4:33 
There is no help for creating compound documents using the .NET Framework Class Library, or FCL (C# is just one language that uses the .NET FCL and compiled to Intermediate Language, or IL).

You would have to redeclare all the necessary interfaces (a few are already declared in the System.Runtime.InteropServices namespace, like UCOMIPersistFile) and P/Invoke any functions you need.

I do have plans to start on such a project when time allows, but it could be a while. I've worked a lot with compound documents and thought it would be fun.

One thing to keep in mind: while the underlying file system in Windows "Longhorn" (T.B.R. 2006...hopefully) will accept any file, WinFS (a database layer on top of NTFS) will take over storing the various distinct properties exposed in Office compound documents and I would imagine that Microsoft would recommend that other compound document formats would do so as well so the documents could be easily searched. This would only apply to properties exposed from the compound document, however, through interfaces like IPropertySetStorage and IPropertyStorage.

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: Compound file in C# Pin
Anonymous23-May-04 23:55
Anonymous23-May-04 23:55 
GeneralRe: Compound file in C# Pin
Heath Stewart24-May-04 3:27
protectorHeath Stewart24-May-04 3:27 
GeneralRe: Compound file in C# Pin
ilmian24-May-04 20:07
ilmian24-May-04 20:07 
GeneralRe: Compound file in C# Pin
Heath Stewart25-May-04 2:37
protectorHeath Stewart25-May-04 2:37 
GeneralRe: Compound file in C# Pin
Dave Kreskowiak23-May-04 4:34
mveDave Kreskowiak23-May-04 4:34 
GeneralRe: Compound file in C# Pin
Heath Stewart23-May-04 4:39
protectorHeath Stewart23-May-04 4:39 
General> C# question < Pin
Star Newb22-May-04 20:58
sussStar Newb22-May-04 20:58 
GeneralRe: > C# question < Pin
Colin Angus Mackay23-May-04 1:41
Colin Angus Mackay23-May-04 1:41 
GeneralRe: > C# question < Pin
Heath Stewart23-May-04 4:26
protectorHeath Stewart23-May-04 4:26 
GeneralNetwork Programming Pin
tsandl22-May-04 20:12
tsandl22-May-04 20:12 
GeneralRe: Network Programming Pin
Colin Angus Mackay23-May-04 1:48
Colin Angus Mackay23-May-04 1:48 
Generalredraw a form Pin
theDawckta22-May-04 16:22
theDawckta22-May-04 16:22 
GeneralRe: redraw a form Pin
Charlie Williams22-May-04 18:42
Charlie Williams22-May-04 18:42 
GeneralRe: redraw a form Pin
theDawckta22-May-04 19:11
theDawckta22-May-04 19:11 
GeneralRe: redraw a form Pin
Charlie Williams22-May-04 19:22
Charlie Williams22-May-04 19:22 
GeneralRe: redraw a form Pin
theDawckta22-May-04 19:33
theDawckta22-May-04 19:33 
GeneralRe: redraw a form Pin
Heath Stewart23-May-04 4:18
protectorHeath Stewart23-May-04 4:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.