Click here to Skip to main content
15,905,607 members
Home / Discussions / COM
   

COM

 
QuestionHow to find the users that logged on one domain? Pin
Sandos Ganzales6-Sep-01 16:30
Sandos Ganzales6-Sep-01 16:30 
GeneralAdd to project Pin
6-Sep-01 5:43
suss6-Sep-01 5:43 
QuestionUsing IWebBrowser2 with an already existing instance of IE??? Pin
LukeV6-Sep-01 5:14
LukeV6-Sep-01 5:14 
GeneralProperty Storage(Persistance)(need urgent) Pin
Pankaj Mongia6-Sep-01 0:54
Pankaj Mongia6-Sep-01 0:54 
Question.Net not compatible to Studio6? Pin
Sandos Ganzales4-Sep-01 19:47
Sandos Ganzales4-Sep-01 19:47 
QuestionHow to return Custom Error Messages using HResult?? Pin
3-Sep-01 0:02
suss3-Sep-01 0:02 
AnswerRe: How to return Custom Error Messages using HResult?? Pin
Rashid Thadha3-Sep-01 0:27
Rashid Thadha3-Sep-01 0:27 
GeneralOLE Embedding & Word - Saving The Document Pin
AJ1232-Sep-01 5:01
AJ1232-Sep-01 5:01 
Hi,

I am embedding MSWord In my application, using OLE automation.

But when I goto save i get the saveas method is not available as the
document is been editted in another application.

Code As Follows, from the CanCloseFrame

CEmbedWordCntrItem* ViewObj;

ViewObj = ((CEmbedWordView*)pFrame->GetActiveView())
- >m_pSelection;
LPDISPATCH lpDispatch = (ViewObj->GetIDispatch());

_Document doc;
doc.AttachDispatch(lpDispatch);


COleVariant covFalse((short)FALSE);
COleVariant vtOptional((long)DISP_E_PARAMNOTFOUND,VT_ERROR);


doc.SaveAs(COleVariant("C:\\DataDoc.doc",VT_BSTR), vtOptional.........)


Cheers

Richard
Questionpossible for COM events in VC? Pin
Tim Rymer30-Aug-01 4:53
Tim Rymer30-Aug-01 4:53 
AnswerRe: possible for COM events in VC? Pin
3-Sep-01 21:26
suss3-Sep-01 21:26 
GeneralMarking Active X as Safe Pin
Jared Allen29-Aug-01 16:50
Jared Allen29-Aug-01 16:50 
Generalconnectionpoints and threads Pin
29-Aug-01 4:00
suss29-Aug-01 4:00 
GeneralRe: connectionpoints and threads Pin
Rashid Thadha30-Aug-01 12:20
Rashid Thadha30-Aug-01 12:20 
GeneralWhat's wrong with the convertion?:ostringstream->CComVariant Pin
29-Aug-01 3:57
suss29-Aug-01 3:57 
GeneralCannot access classview information file Pin
29-Aug-01 2:20
suss29-Aug-01 2:20 
GeneralRe: Cannot access classview information file Pin
Adrian Metcalfe29-Aug-01 2:53
Adrian Metcalfe29-Aug-01 2:53 
Generalproble in releasing the pointer Pin
pathi29-Aug-01 2:12
pathi29-Aug-01 2:12 
GeneralRe: proble in releasing the pointer Pin
Not Active29-Aug-01 2:59
mentorNot Active29-Aug-01 2:59 
QuestionHow to use MFC classes in ATL(Service) Project? Pin
zhaoyong28-Aug-01 23:20
zhaoyong28-Aug-01 23:20 
AnswerRe: How to use MFC classes in ATL(Service) Project? Pin
Not Active29-Aug-01 3:05
mentorNot Active29-Aug-01 3:05 
AnswerRe: How to use MFC classes in ATL(Service) Project? Pin
Bill Wilson14-Sep-01 14:22
Bill Wilson14-Sep-01 14:22 
GeneralCalling a VB COM+ DLL from a C client Pin
28-Aug-01 22:18
suss28-Aug-01 22:18 
GeneralStrange problem with a NT Service registration Pin
28-Aug-01 22:10
suss28-Aug-01 22:10 
GeneralActive X distribution for web content Pin
Jared Allen28-Aug-01 18:22
Jared Allen28-Aug-01 18:22 
QuestionHow to install com+ with program and.... Pin
Sandos Ganzales28-Aug-01 16:30
Sandos Ganzales28-Aug-01 16:30 

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.