Click here to Skip to main content
15,881,882 members
Home / Discussions / COM
   

COM

 
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 
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 
sorry for replying late.
last time i gave you an incorrect description of my error, sorry for that too.
when the Exec() method fails it returns not E_UNKNOWNGROUP, but OLECMDERR_E_UNKNOWNGROUP,
it defined in docobj.h.
my goal was to retrieve a source html code from browser.
i have found another way to do it:
...
HRESULT hr;
IWebBrowser2 *iex;
OLECHAR *path = L"h://1.html";
IDispatch *iDisp;
IPersistFile *persistFile;
...
hr = iex ->get_Document(&iDisp);
if(SUCCEEDED(hr)){
hr = iDisp->QueryInterface( IID_IPersistFile, (void**)&persistFile);
if(SUCCEEDED(hr))
hr = persistFile ->Save(path, 1);
}
it works.
but i got a new problem - can't change the page, using Navigate() method:
...
hr = iex ->Navigate( L"http:\\www.bash.org", 0, 0, 0, 0);
the value of hr is -2147023116;
if you have some free time, please look whats wrong wiht that.

great thanks for help.
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 
GeneralRe: Visual C++ Excel Addin causes Excel to crash Pin
Ernest Laurentin5-Mar-08 7:19
Ernest Laurentin5-Mar-08 7:19 
GeneralUsing C# managed DLL in C++ unmanaged code Pin
dany_ch20-Feb-08 23:26
dany_ch20-Feb-08 23:26 
AnswerRe: Using C# managed DLL in C++ unmanaged code Pin
ritz12344-Mar-08 23:10
ritz12344-Mar-08 23:10 

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.