I am quite new to OLE programming and need a kick in the right direction. I tried to google this up but i lack proper knowledge to know what to search for in the first place, so i thought i ask here. So this is basicly what i want to do: I want to create an object that can be inserted into any document like word documents, excell sheets, or anything else that can be an IOleContainer. This object would containa certain kind of data that is inserted into it from an external file. This data should be saved along with the document containing this object (so not hang around as an external file). The object would serve as a "data source" for a few kinds of views. The user should somehow be able to "spawn" such views from the object and edit these to generate different types of representations of the data. He should also be able to perform a few operations on these views that would add additional information the the source data and this additional information could be used in other views as/if needed.
E.g: the user inserts this object into his word document, then double clicks this objects and gets a little GUI where he can add the data from the file system and/or specify some additional information. After adding the data and dismissing this GUI he right-clicks the objects and selects "Span View", gets a list where he can select the type of view, let's say "red diagram", "green diagram", "blue diagram", after selecting the type the view somehow gets inserted into the same document the object is on. After having multiple views, he can select one of these views, edit its appearance as he wants and also add some more information which gest stored inside the source object and the other views also get notified by this and update themselfs as needed.
This might be a trivial, everyday task for you fellas but as i said, i am new to this and needs some directions.
Thanks for any help attempts in advance, feel free to ask if there's something that is not clear about the whole concept.
> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> "It doesn't work, fix it" does not qualify as a bug report. <
> Amazing what new features none of the programmers working on the project ever heard of you can learn about when reading what the marketing guys wrote about it. <