Click here to Skip to main content
15,901,035 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
RantRe: REPOST Pin
Michael Schubert10-Jun-08 1:22
Michael Schubert10-Jun-08 1:22 
RantRe: No, I wont ! Pin
toxcct10-Jun-08 1:24
toxcct10-Jun-08 1:24 
RantRe: write a complete program for this one in Visual C++ Pin
Maximilien10-Jun-08 2:39
Maximilien10-Jun-08 2:39 
JokeRe: write a complete program for this one in Visual C++ Pin
Jagdish V. Bhimbha10-Jun-08 5:20
Jagdish V. Bhimbha10-Jun-08 5:20 
QuestionProblems with screen redrawing [modified] Pin
kildareflare10-Jun-08 0:17
kildareflare10-Jun-08 0:17 
AnswerRe: Problems with screen redrawing Pin
Rage10-Jun-08 0:52
professionalRage10-Jun-08 0:52 
GeneralRe: Problems with screen redrawing Pin
kildareflare10-Jun-08 1:47
kildareflare10-Jun-08 1:47 
AnswerRe: Problems with screen redrawing Pin
Cedric Moonen10-Jun-08 0:58
Cedric Moonen10-Jun-08 0:58 
GeneralRe: Problems with screen redrawing Pin
kildareflare10-Jun-08 1:57
kildareflare10-Jun-08 1:57 
AnswerRe: Problems with screen redrawing Pin
Jagdish V. Bhimbha10-Jun-08 5:16
Jagdish V. Bhimbha10-Jun-08 5:16 
AnswerRe: Problems with screen redrawing Pin
Mark Salsbery10-Jun-08 6:14
Mark Salsbery10-Jun-08 6:14 
GeneralPROBLEM FIXED [modified] Pin
kildareflare11-Jun-08 1:09
kildareflare11-Jun-08 1:09 
QuestionCustom Control vs. Owner Draw Control? Pin
sawerr9-Jun-08 23:56
sawerr9-Jun-08 23:56 
AnswerRe: Custom Control vs. Owner Draw Control? Pin
Rage10-Jun-08 0:50
professionalRage10-Jun-08 0:50 
AnswerRe: Custom Control vs. Owner Draw Control? Pin
Joe Woodbury10-Jun-08 6:17
professionalJoe Woodbury10-Jun-08 6:17 
GeneralRe: Custom Control vs. Owner Draw Control? Pin
sawerr10-Jun-08 7:13
sawerr10-Jun-08 7:13 
GeneralRe: Custom Control vs. Owner Draw Control? Pin
Joe Woodbury10-Jun-08 7:58
professionalJoe Woodbury10-Jun-08 7:58 
QuestionVC++ Toolkit 2003 warning message Pin
rp_suman9-Jun-08 22:45
rp_suman9-Jun-08 22:45 
AnswerRe: VC++ Toolkit 2003 warning message Pin
Alan Balkany10-Jun-08 4:23
Alan Balkany10-Jun-08 4:23 
GeneralRe: VC++ Toolkit 2003 warning message Pin
rp_suman10-Jun-08 14:03
rp_suman10-Jun-08 14:03 
QuestionHelp with navigate2 error Pin
limesp9-Jun-08 22:44
limesp9-Jun-08 22:44 
Hi,

I keep reading articles that says I can use this code to navigate activex webbrowser on a dialog

BOOL Ctry7Dlg::OnInitDialog()
{
CDialog::OnInitDialog();

SetIcon(m_hIcon, TRUE); // Set big icon
SetIcon(m_hIcon, FALSE); // Set small icon

// TODO: Add extra initialization here
/******************************************/
COleVariant varEmpty;
m_wb.Navigate2("http://www.google.com",
&varEmpty,
&varEmpty,
&varEmpty,
&varEmpty);
/******************************************/

return TRUE;
}

but everytime run the code, I woul get this error:

error C2664: 'CWebbrowser2::Navigate2' : cannot convert parameter 1 from 'const char [34]' to 'VARIANT *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast


can someone help me out here ??? Thanks
AnswerRe: Help with navigate2 error Pin
CPallini9-Jun-08 23:07
mveCPallini9-Jun-08 23:07 
QuestionConvert CComPtr<istream> into ostream</istream> Pin
CodingLover9-Jun-08 22:27
CodingLover9-Jun-08 22:27 
Answeristream to ostream? Pin
CPallini9-Jun-08 22:46
mveCPallini9-Jun-08 22:46 
QuestionRe: istream to ostream? Pin
CodingLover9-Jun-08 22:49
CodingLover9-Jun-08 22:49 

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.