Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-swt-dev] Embedding microsoft word inside an application

Hi, group.

 

I need to embed an OLE object in my application, namely a Microsoft word document. I need the user to type stuff in there and then be able to save it to the database. I would love to just simply use the Program class, but the problem with using it is that I totally lose control of what’s going on once word launches. Therefore, I guess the only way to do it is through OLE stuff.

 

Does anyone have a simple to follow example that works on windows XP? So, I need to have a regular Composite that say has a hyperlink that says Create Word Document, which then brings up word, allows the user to type stuff in and then saves the contents (probably as a byte array).

 

I heard that this behavior should be pretty straight forward with SWT, but so far have not seen any examples that actually work.

 

Thanx,

   - Kalman


Back to the top