Click here to Skip to main content
15,885,244 members
Home / Discussions / COM
   

COM

 
GeneralRe: COM Addin crashes Excel. What am I doing wrong? Pin
Nathan Holt at EMOM6-Mar-08 10:54
Nathan Holt at EMOM6-Mar-08 10:54 
Generalcom dll and console client......... Pin
bhogavalli2-Mar-08 19:52
bhogavalli2-Mar-08 19:52 
GeneralCOM dll connect to console client Pin
sheshidar2-Mar-08 19:19
sheshidar2-Mar-08 19:19 
QuestionRe: COM dll connect to console client Pin
CPallini2-Mar-08 21:04
mveCPallini2-Mar-08 21:04 
GeneralError on this dll file ( LpiCom_6_0.LPOrderPart ) Pin
Sujit Gupta29-Feb-08 23:01
Sujit Gupta29-Feb-08 23:01 
GeneralRe: Error on this dll file ( LpiCom_6_0.LPOrderPart ) Pin
User 2155971-Mar-08 2:06
User 2155971-Mar-08 2:06 
Generalproblem with a WebBrowser control Pin
sashka29-Feb-08 2:06
sashka29-Feb-08 2:06 
GeneralRe: problem with a WebBrowser control Pin
User 2155971-Mar-08 2:08
User 2155971-Mar-08 2:08 
sashka wrote:
IOleCommandTarget *iole;
IWebBrowser2 *iex;

CoCreateInstance(CLSID_InternetExplorer, NULL, CLSCTX_SERVER, IID_IWebBrowser2, (LPVOID*)&iex);
hr = iex ->QueryInterface(IID_IOleCommandTarget, (void**)&iole);
if(SUCCEEDED(hr))
hr = iole ->Exec(&CGID_MSHTML, IDM_VIEWSOURCE, 0, 0, 0);


What doesn't work here
. Query interface or
. hr = iole ->Exec(&CGID_MSHTML, IDM_VIEWSOURCE, 0, 0, 0);

what is the value of HRESULT after calling
hr = iole ->Exec(&CGID_MSHTML, IDM_VIEWSOURCE, 0, 0, 0);


Sohail



modified 21-Apr-21 21:01pm.

GeneralRe: problem with a WebBrowser control Pin
sashka3-Mar-08 1:12
sashka3-Mar-08 1:12 
GeneralRe: problem with a WebBrowser control Pin
User 2155976-Mar-08 12:35
User 2155976-Mar-08 12:35 
GeneralRe: problem with a WebBrowser control Pin
Member 471853120-Mar-08 6:43
Member 471853120-Mar-08 6:43 
AnswerRe: problem with a WebBrowser control Pin
User 21559720-Mar-08 10:06
User 21559720-Mar-08 10:06 
GeneralGeneral question Pin
KASR128-Feb-08 23:30
KASR128-Feb-08 23:30 
GeneralRe: General question [modified] Pin
CPallini29-Feb-08 2:06
mveCPallini29-Feb-08 2:06 
GeneralRe: General question Pin
KASR12-Mar-08 19:01
KASR12-Mar-08 19:01 
GeneralRe: General question Pin
CPallini2-Mar-08 20:59
mveCPallini2-Mar-08 20:59 
Questionproblem with adobe reader while sending fax using faxcom.dll Pin
saikiran28-Feb-08 21:44
saikiran28-Feb-08 21:44 
GeneralRational Rose Add-In, C++ Pin
Danoo27-Feb-08 22:19
Danoo27-Feb-08 22:19 
GeneralPlacement of CoInitializeEx call! Pin
rajandpayal27-Feb-08 5:34
rajandpayal27-Feb-08 5:34 
GeneralRe: Placement of CoInitializeEx call! Pin
User 21559727-Feb-08 8:48
User 21559727-Feb-08 8:48 
GeneralClass Object Release Pin
swjam26-Feb-08 19:51
swjam26-Feb-08 19:51 
GeneralRe: Class Object Release Pin
ThatsAlok26-Feb-08 22:12
ThatsAlok26-Feb-08 22:12 
GeneralRe: Class Object Release Pin
User 21559727-Feb-08 8:50
User 21559727-Feb-08 8:50 
GeneralRe: Class Object Release Pin
John M. Drescher7-Mar-08 23:03
John M. Drescher7-Mar-08 23:03 
GeneralVisual C++ Excel Addin causes Excel to crash Pin
ssaddi25-Feb-08 18:24
ssaddi25-Feb-08 18:24 

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.