In the good old days I believe people were using the arcane technology which
came to be known as COM+ to embed other application's document in their own
document.
Like a Word with document a Windows Media Player or Excel or Visio document
inside, double click on it and *bang* you coud start edit it using
Excel/WMP/Visio toolbar.
Apparently even OpenOffice could do that.
Now here is my question:
I'm a new generation programmer. Blissfully ignorant of such thing.
But I would like to know and embed Word, Excel or other kind of document in
my application's own document!
How could I do that?
And is there an up-to-date technology (i.e.: .NET API) to do that? 13 3119
Hello, Lloyd!
LD> Like a Word with document a Windows Media Player or Excel or Visio
LD> document inside, double click on it and *bang* you coud start edit it
LD> using Excel/WMP/Visio toolbar.
LD> Apparently even OpenOffice could do that.
LD> Now here is my question:
LD> I'm a new generation programmer. Blissfully ignorant of such thing.
LD> But I would like to know and embed Word, Excel or other kind of
LD> document in my application's own document!
LD> How could I do that?
Using COM-interop.
Look at
( http://support.microsoft.com/kb/302084/en-us )( http://www.builderau.com.au/architec...9198903,00.htm )
--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com
Hi Lloyd,
"Lloyd Dupont" <net.galador@ld> wrote in message
news:eh**************@TK2MSFTNGP04.phx.gbl... In the good old days I believe people were using the arcane technology which came to be known as COM+ to embed other application's document in their own document.
Like a Word with document a Windows Media Player or Excel or Visio document inside, double click on it and *bang* you coud start edit it using Excel/WMP/Visio toolbar.
Apparently even OpenOffice could do that.
Now here is my question: I'm a new generation programmer. Blissfully ignorant of such thing. But I would like to know and embed Word, Excel or other kind of document in my application's own document!
How could I do that?
And is there an up-to-date technology (i.e.: .NET API) to do that?
the technology you are talking about it OLE (Object Linking and Embedding).
As Vadym has mentioned, you can use COM Interop to automate WinWord, but
this alone is not enough for OLE.
Unfotunately, in Windows Forms itself, there is no good suppot for OLE
Document hosting. In the worst case, you have to use MFC's OLE support which
is quite sophisticated.
Marcus
"Lloyd Dupont" <net.galador@ld> wrote in message
news:eh**************@TK2MSFTNGP04.phx.gbl...
| In the good old days I believe people were using the arcane technology
which
| came to be known as COM+ to embed other application's document in their
own
| document.
COM+ is not arcane and has nothing to do with document embedding, what you
are refering to is extended OLE or Active Document Containment, a COM based
technology.
|
| Like a Word with document a Windows Media Player or Excel or Visio
document
| inside, double click on it and *bang* you coud start edit it using
| Excel/WMP/Visio toolbar.
|
| Apparently even OpenOffice could do that.
|
| Now here is my question:
| I'm a new generation programmer. Blissfully ignorant of such thing.
| But I would like to know and embed Word, Excel or other kind of document
in
| my application's own document!
|
| How could I do that?
Implement an Active Document Container, using a framework like MFC. Please
consult MSDN for details on "Active Document Containers".
|
| And is there an up-to-date technology (i.e.: .NET API) to do that?
|
Kind of, .NET has the "Webbrowser" control which is a container usable from
managed code to embed an OLE server like Word, excel etc.., but the
technology is still OLE (that is COM), and that won't change because of
..NET.
You can also create your own container using a tool like MFC (or Delphi)
Willy.
Lloyd Dupont wrote: In the good old days I believe people were using the arcane technology which came to be known as COM+ to embed other application's document in their own document.
As others have said, you're describing OLE. Like a Word with document a Windows Media Player or Excel or Visio document inside, double click on it and *bang* you coud start edit it using Excel/WMP/Visio toolbar.
Apparently even OpenOffice could do that.
Now here is my question: I'm a new generation programmer. Blissfully ignorant of such thing. But I would like to know and embed Word, Excel or other kind of document in my application's own document!
How could I do that?
And is there an up-to-date technology (i.e.: .NET API) to do that?
You can embed any document you want in your own document in any way that you
want. Now, if you expect Word 2003 to be able to activate an embedded Word
document inside your app, then your only choice is OLE. Implementing an OLE
document container on .NET using WinForms might be possible, but it would
take an awful lot of work.
With Office 2007 and Windows Vista comes XPS - Xml Paper Specification. I
believe that the XPS spec fully supports linking and embedding documents -
hopefully there will be some usable managed support for manipulating XPS
documents and perhaps even a standard for embedded activation. But that's
not something you can use today.
-cd
If you are interested in learning OLE, the best resource is still
"Inside OLE" by Kraig Brockschmidt, MS Press (circa 1995).
Note this is the second edition of the book. I still have to find
another technical book on any subject with the depth and
breadth of this one... If you have original VC 6.0 installation
CDs, this book is available on the MSDN Library CDs
shipping with VC 6 (in the Books section), but has long since
been removed from mainstream MSDN Library.
--
=====================================
Alexander Nickolov
Microsoft MVP [VC], MCSD
email: ag********@mvps.org
MVP VC FAQ: http://www.mvps.org/vcfaq
=====================================
"Lloyd Dupont" <net.galador@ld> wrote in message
news:eh**************@TK2MSFTNGP04.phx.gbl... In the good old days I believe people were using the arcane technology which came to be known as COM+ to embed other application's document in their own document.
Like a Word with document a Windows Media Player or Excel or Visio document inside, double click on it and *bang* you coud start edit it using Excel/WMP/Visio toolbar.
Apparently even OpenOffice could do that.
Now here is my question: I'm a new generation programmer. Blissfully ignorant of such thing. But I would like to know and embed Word, Excel or other kind of document in my application's own document!
How could I do that?
And is there an up-to-date technology (i.e.: .NET API) to do that?
thanks!
"Vadym Stetsyak" <va*****@ukr.net> wrote in message
news:On**************@TK2MSFTNGP03.phx.gbl... Hello, Lloyd!
LD> Like a Word with document a Windows Media Player or Excel or Visio LD> document inside, double click on it and *bang* you coud start edit it LD> using Excel/WMP/Visio toolbar.
LD> Apparently even OpenOffice could do that.
LD> Now here is my question: LD> I'm a new generation programmer. Blissfully ignorant of such thing. LD> But I would like to know and embed Word, Excel or other kind of LD> document in my application's own document!
LD> How could I do that?
Using COM-interop.
Look at ( http://support.microsoft.com/kb/302084/en-us )( http://www.builderau.com.au/architec...9198903,00.htm )
-- Regards, Vadym Stetsyak www: http://vadmyst.blogspot.com
thanks!
"Willy Denoyette [MVP]" <wi*************@telenet.be> wrote in message
news:uz**************@TK2MSFTNGP03.phx.gbl... "Lloyd Dupont" <net.galador@ld> wrote in message news:eh**************@TK2MSFTNGP04.phx.gbl... | In the good old days I believe people were using the arcane technology which | came to be known as COM+ to embed other application's document in their own | document.
COM+ is not arcane and has nothing to do with document embedding, what you are refering to is extended OLE or Active Document Containment, a COM based technology. | | Like a Word with document a Windows Media Player or Excel or Visio document | inside, double click on it and *bang* you coud start edit it using | Excel/WMP/Visio toolbar. | | Apparently even OpenOffice could do that. | | Now here is my question: | I'm a new generation programmer. Blissfully ignorant of such thing. | But I would like to know and embed Word, Excel or other kind of document in | my application's own document! | | How could I do that?
Implement an Active Document Container, using a framework like MFC. Please consult MSDN for details on "Active Document Containers".
| | And is there an up-to-date technology (i.e.: .NET API) to do that? | Kind of, .NET has the "Webbrowser" control which is a container usable from managed code to embed an OLE server like Word, excel etc.., but the technology is still OLE (that is COM), and that won't change because of .NET. You can also create your own container using a tool like MFC (or Delphi)
Willy.
> You can embed any document you want in your own document in any way that you want. Now, if you expect Word 2003 to be able to activate an embedded Word document inside your app, then your only choice is OLE. Implementing an OLE document container on .NET using WinForms might be possible, but it would take an awful lot of work.
mmhh... :(
With Office 2007 and Windows Vista comes XPS - Xml Paper Specification. I believe that the XPS spec fully supports linking and embedding documents - hopefully there will be some usable managed support for manipulating XPS documents and perhaps even a standard for embedded activation. But that's not something you can use today.
ha! in some distant future it would be possible again!
I lost VC5 :(
I have VS2003 & 2005, does it help?
"Alexander Nickolov" <ag********@mvps.org> wrote in message
news:ea**************@TK2MSFTNGP04.phx.gbl... If you are interested in learning OLE, the best resource is still "Inside OLE" by Kraig Brockschmidt, MS Press (circa 1995). Note this is the second edition of the book. I still have to find another technical book on any subject with the depth and breadth of this one... If you have original VC 6.0 installation CDs, this book is available on the MSDN Library CDs shipping with VC 6 (in the Books section), but has long since been removed from mainstream MSDN Library.
-- ===================================== Alexander Nickolov Microsoft MVP [VC], MCSD email: ag********@mvps.org MVP VC FAQ: http://www.mvps.org/vcfaq =====================================
"Lloyd Dupont" <net.galador@ld> wrote in message news:eh**************@TK2MSFTNGP04.phx.gbl... In the good old days I believe people were using the arcane technology which came to be known as COM+ to embed other application's document in their own document.
Like a Word with document a Windows Media Player or Excel or Visio document inside, double click on it and *bang* you coud start edit it using Excel/WMP/Visio toolbar.
Apparently even OpenOffice could do that.
Now here is my question: I'm a new generation programmer. Blissfully ignorant of such thing. But I would like to know and embed Word, Excel or other kind of document in my application's own document!
How could I do that?
And is there an up-to-date technology (i.e.: .NET API) to do that?
thanks!
"Marcus Heege" <NO****@heege.net> wrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl... Hi Lloyd,
"Lloyd Dupont" <net.galador@ld> wrote in message news:eh**************@TK2MSFTNGP04.phx.gbl... In the good old days I believe people were using the arcane technology which came to be known as COM+ to embed other application's document in their own document.
Like a Word with document a Windows Media Player or Excel or Visio document inside, double click on it and *bang* you coud start edit it using Excel/WMP/Visio toolbar.
Apparently even OpenOffice could do that.
Now here is my question: I'm a new generation programmer. Blissfully ignorant of such thing. But I would like to know and embed Word, Excel or other kind of document in my application's own document!
How could I do that?
And is there an up-to-date technology (i.e.: .NET API) to do that?
the technology you are talking about it OLE (Object Linking and Embedding).
As Vadym has mentioned, you can use COM Interop to automate WinWord, but this alone is not enough for OLE.
Unfotunately, in Windows Forms itself, there is no good suppot for OLE Document hosting. In the worst case, you have to use MFC's OLE support which is quite sophisticated.
Marcus
> Implement an Active Document Container, using a framework like MFC. Please consult MSDN for details on "Active Document Containers".
looking at that...
| | And is there an up-to-date technology (i.e.: .NET API) to do that? | Kind of, .NET has the "Webbrowser" control which is a container usable from managed code to embed an OLE server like Word, excel etc.., but the technology is still OLE (that is COM), and that won't change because of .NET. You can also create your own container using a tool like MFC (or Delphi)
interesting idea...
"Lloyd Dupont" <net.galador@ld> wrote in message
news:e%***************@TK2MSFTNGP05.phx.gbl... I lost VC5 :( I have VS2003 & 2005, does it help?
No, unfortunately. Moreover the book is out-of-print, but it does
occasionally crop up in second-hand book stores. Your best bet is to ask
around for an old VS6 distribution, with the MSDN Library.
OK :(
Thanks!
"Brian Muth" <bm***@mvps.org> wrote in message
news:uQ**************@TK2MSFTNGP02.phx.gbl... "Lloyd Dupont" <net.galador@ld> wrote in message news:e%***************@TK2MSFTNGP05.phx.gbl...I lost VC5 :( I have VS2003 & 2005, does it help?
No, unfortunately. Moreover the book is out-of-print, but it does occasionally crop up in second-hand book stores. Your best bet is to ask around for an old VS6 distribution, with the MSDN Library. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: gsb |
last post by:
I'd like to get the offset coordinates, top & left, of an embedded Flash
movie.
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
...
|
by: Tony Sutton |
last post by:
I have this following code in my html file:
<object classid="clsid:166B1BCA-3F9C-11CF-8075-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#...
|
by: Anna |
last post by:
Hi all.
I want to embed the EMBED tag in the object tag.
I understood that I need to provide a PARAM tag inside the OBJECT
whose value will hold the content of EMBED src attribute, but after...
|
by: snicks |
last post by:
I have a series of XLS files which I need to embed into a PowerPoint
presentation on an IIS server. I’ll be using VB.NET. I’ve tried using an
ASPOSE.PowerPoint control to do this and it does...
|
by: Lloyd Dupont |
last post by:
In the good old days I believe people were using the arcane technology which
came to be known as COM+ to embed other application's document in their own
document.
Like a Word with document a...
|
by: dd |
last post by:
Hi,
I have some code that hides all Flash objects on a page. It's working
fine on IE and Gecko but doesn't work on Safari. There are no errors
(shown in the console) when it runs on Safari, and...
|
by: flaviosemeao |
last post by:
Hi guys,
I am gonna ask the same question again regarding tweening in text fields.
I already read some Adobe documentation and I understood that text field has its property _alpha available just...
|
by: windsorben |
last post by:
I have some javascript that checks whether or not an answer is correct. It was working fine when the question was asked with text but now that I'm asking the question with audio, the javascript no...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
| |