Click here to Skip to main content
15,922,584 members
Home / Discussions / COM
   

COM

 
GeneralCComPtr.CoCreateInstance hangs Pin
tomc15-Oct-02 3:48
tomc15-Oct-02 3:48 
GeneralRe: CComPtr.CoCreateInstance hangs Pin
Stephane Rodriguez.15-Oct-02 4:34
Stephane Rodriguez.15-Oct-02 4:34 
QuestionWhere can I find the OLE for Retail POS(OPOS) sample codes? Pin
julio huang15-Oct-02 1:46
julio huang15-Oct-02 1:46 
GeneralNavigating the namespace Pin
Matt Eckerson14-Oct-02 11:49
Matt Eckerson14-Oct-02 11:49 
QuestionHow can I create a .tlb file for a MFC-base component? Pin
billdavid13-Oct-02 16:25
billdavid13-Oct-02 16:25 
AnswerRe: How can I create a .tlb file for a MFC-base component? Pin
Michael P Butler14-Oct-02 6:12
Michael P Butler14-Oct-02 6:12 
GeneralAbout Multi-IDispatch in MFC Pin
billdavid13-Oct-02 16:21
billdavid13-Oct-02 16:21 
GeneralStoring additional data in MsWord 2000/XP file Pin
mariuszpopiolek11-Oct-02 4:07
mariuszpopiolek11-Oct-02 4:07 
Hi
I issued this problem recenty but now I know a bit more about its nature.
I'm trying to store some data in MsOffice files and the problem is that MsWord 2000/XP removes my data after I save document from the Word (I tried also MsWord 97,MsExcel 97/2000/XP and here my data remains untouched). Now some explanation how I store my data in doc file:

1. Using StgOpenStorage I open office file as a compound file
2. I create new storage with IStorage::CreateStorage
3. Within newly created storage I create new stream using IStorage::CreateStream
4. I store my data within newly created stream using IStream::Write
5. I release all opened streams and storages

I discovered that when in doc file Word adds stream 0Table (1Table is probably always present) my data doesn't dissapear (I don't know why). I don't know how to prevent Word from deleting my data but I suppose that forcing Word to add 0Table stream could solve my problem (but how can I do this). I would appreciate any hints.

Mariusz Popiolek
GeneralHelp with ADOCommand->Execute with Parameters Pin
ssirisha10-Oct-02 2:39
ssirisha10-Oct-02 2:39 
GeneralPass SafeArray to ACCESS using ADO Pin
ssirisha9-Oct-02 9:40
ssirisha9-Oct-02 9:40 
QuestionHow to retrieve information from MSWord Pin
Anonymous9-Oct-02 7:39
Anonymous9-Oct-02 7:39 
GeneralPassing CHUNKS of data. Pin
Bertrand Boichon7-Oct-02 11:47
Bertrand Boichon7-Oct-02 11:47 
GeneralRe: Passing CHUNKS of data. Pin
Chris Losinger7-Oct-02 12:06
professionalChris Losinger7-Oct-02 12:06 
GeneralAdding streams and storages into MSWord compound file Pin
Mariusz Popiolek7-Oct-02 5:36
sussMariusz Popiolek7-Oct-02 5:36 
QuestionWhy AddRef returns a long integer? Pin
Naresh25_cool7-Oct-02 1:39
Naresh25_cool7-Oct-02 1:39 
AnswerRe: Why AddRef returns a long integer? Pin
Iain Clarke, Warrior Programmer7-Oct-02 5:28
Iain Clarke, Warrior Programmer7-Oct-02 5:28 
GeneralUsing COM objects in Java Pin
dabs3-Oct-02 15:47
dabs3-Oct-02 15:47 
GeneralRe: Using COM objects in Java Pin
Jörgen Sigvardsson4-Oct-02 10:45
Jörgen Sigvardsson4-Oct-02 10:45 
GeneralRe: Using COM objects in Java Pin
David Karunaratne7-Oct-02 19:07
sussDavid Karunaratne7-Oct-02 19:07 
GeneralIXMLDOMNode as an idl parameter Pin
nlecren2-Oct-02 9:09
nlecren2-Oct-02 9:09 
GeneralRe: IXMLDOMNode as an idl parameter Pin
Daniel Turini9-Oct-02 9:54
Daniel Turini9-Oct-02 9:54 
GeneralAccess Internet Explorer Pin
N4t1v32-Oct-02 8:08
sussN4t1v32-Oct-02 8:08 
GeneralRe: Access Internet Explorer Pin
Stephane Rodriguez.2-Oct-02 9:12
Stephane Rodriguez.2-Oct-02 9:12 
GeneralRe: Access Internet Explorer Pin
Todd Smith7-Oct-02 12:32
Todd Smith7-Oct-02 12:32 

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.