Click here to Skip to main content
15,921,295 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to "attach" a CScrollBar to a editbox? Pin
Ravi Bhavnani4-Dec-01 8:33
professionalRavi Bhavnani4-Dec-01 8:33 
GeneralRe: How to "attach" a CScrollBar to a editbox? Pin
Chambers5-Dec-01 3:02
Chambers5-Dec-01 3:02 
GeneralRe: How to "attach" a CScrollBar to a editbox? Pin
Ravi Bhavnani5-Dec-01 3:09
professionalRavi Bhavnani5-Dec-01 3:09 
GeneralRe: How to "attach" a CScrollBar to a editbox? Pin
Chambers5-Dec-01 3:23
Chambers5-Dec-01 3:23 
Generalrichedit and htmlview Pin
Mazdak4-Dec-01 6:16
Mazdak4-Dec-01 6:16 
GeneralIIS Pin
mazy4-Dec-01 6:10
mazy4-Dec-01 6:10 
GeneralRe: IIS Pin
RobJones4-Dec-01 9:44
RobJones4-Dec-01 9:44 
GeneralIWebBrowser2 interface in IE automation Pin
Andy Latham4-Dec-01 5:30
Andy Latham4-Dec-01 5:30 
Hi all,

im having real trouble trying to use internet explorer automation. I simply want to use the automation to navigate to a page and then print it but i cant even get the object into my project.

What i have tried to do is by using classwizard to add the IWebBrowser2 interface from the shdocvw.dll. However, simply doing this means that my project no longer compiles and gives me the following error:

shdocvw.h(5) : error C2011: 'IWebBrowser2' : 'struct' type redefinition

which then spawns off loads of other errors.

Can someone please tell me what im doing wrong. This is a very simple task that loads of programmers must have done.

Please reply, all replies will be rated favourably as msdn is so full of shite its hard finding the right answers.

Andy.
GeneralBitmap and Device Context Pin
pepeR4-Dec-01 4:39
pepeR4-Dec-01 4:39 
GeneralRe: Bitmap and Device Context Pin
Chris Losinger4-Dec-01 4:43
professionalChris Losinger4-Dec-01 4:43 
GeneralCTime ASSERT Pin
Edilson Vasconcelos de Melo Junior4-Dec-01 4:27
Edilson Vasconcelos de Melo Junior4-Dec-01 4:27 
GeneralWindows Sockets Question Pin
Aaron Schaefer4-Dec-01 4:02
Aaron Schaefer4-Dec-01 4:02 
GeneralProblems in Visual C++ Pin
Js0n4-Dec-01 3:49
Js0n4-Dec-01 3:49 
GeneralRe: Problems in Visual C++ Pin
Ravi Bhavnani4-Dec-01 8:38
professionalRavi Bhavnani4-Dec-01 8:38 
QuestionCan you have ranges in a switch statement? Pin
Chambers4-Dec-01 1:30
Chambers4-Dec-01 1:30 
AnswerRe: Can you have ranges in a switch statement? Pin
Michael P Butler4-Dec-01 1:51
Michael P Butler4-Dec-01 1:51 
GeneralRe: Can you have ranges in a switch statement? Pin
Chambers4-Dec-01 2:11
Chambers4-Dec-01 2:11 
AnswerRe: Can you have ranges in a switch statement? Pin
Alvaro Mendez4-Dec-01 4:59
Alvaro Mendez4-Dec-01 4:59 
AnswerRe: Can you have ranges in a switch statement? Pin
Jon Sagara4-Dec-01 5:18
Jon Sagara4-Dec-01 5:18 
AnswerRe: Can you have ranges in a switch statement? Pin
Chambers4-Dec-01 5:39
Chambers4-Dec-01 5:39 
AnswerRe: Can you have ranges in a switch statement? Pin
Ravi Bhavnani4-Dec-01 5:48
professionalRavi Bhavnani4-Dec-01 5:48 
GeneralRe: Can you have ranges in a switch statement? Pin
Chambers4-Dec-01 6:38
Chambers4-Dec-01 6:38 
GeneralA stupid question. Pin
The_Server4-Dec-01 1:26
The_Server4-Dec-01 1:26 
GeneralRe: A stupid question. Pin
Michael P Butler4-Dec-01 1:48
Michael P Butler4-Dec-01 1:48 
GeneralRe: A stupid question. Pin
Alvaro Mendez4-Dec-01 5:04
Alvaro Mendez4-Dec-01 5:04 

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.