Click here to Skip to main content
15,564,500 members
Home / Discussions / C#
   

C#

 
GeneralRe: HOWTO: Web-like table w/ links (similar to solution list in VS.NET start page) Pin
Andrew Connell24-Sep-02 9:00
Andrew Connell24-Sep-02 9:00 
GeneralRe: HOWTO: Web-like table w/ links (similar to solution list in VS.NET start page) Pin
Stephane Rodriguez.24-Sep-02 9:38
Stephane Rodriguez.24-Sep-02 9:38 
GeneralRe: HOWTO: Web-like table w/ links (similar to solution list in VS.NET start page) Pin
Andrew Connell24-Sep-02 9:44
Andrew Connell24-Sep-02 9:44 
GeneralRe: HOWTO: Web-like table w/ links (similar to solution list in VS.NET start page) Pin
Andrew Connell25-Sep-02 3:48
Andrew Connell25-Sep-02 3:48 
GeneralFilter HTML Content Before Displaying in WebBrowser Pin
John Hurrell24-Sep-02 5:08
John Hurrell24-Sep-02 5:08 
GeneralRe: Filter HTML Content Before Displaying in WebBrowser Pin
Stephane Rodriguez.24-Sep-02 5:49
Stephane Rodriguez.24-Sep-02 5:49 
GeneralRe: Filter HTML Content Before Displaying in WebBrowser Pin
John Hurrell24-Sep-02 5:59
John Hurrell24-Sep-02 5:59 
GeneralRe: Filter HTML Content Before Displaying in WebBrowser Pin
Stephane Rodriguez.24-Sep-02 6:43
Stephane Rodriguez.24-Sep-02 6:43 
Quite honestly, if I had the time I would not use IE at all. Better use a recompiled Mozilla or other programmable browsers with source code.
And put web page filtering on top of it.

What has stopped me many times already with programming IE is that there are many cases where the IE API doesn't work as expected. For instance, when you have frames in the web page, several events are not triggered at all, or you have to subscribe special things. None of this is documented. So it takes time, and there is no guarantee at all you succeed.

Besides that, IE uses multiple threads. One thread for each picture being downloaded for instance, which means it is hard to stop the process as a whole.

If you go start programming IE, then you may consider this scenario :
- I assume you've got the target URL
- use MSHTML as a COM object to download the html code from that URL. (you also could use the wininet library). Store it as a file. To do this, look for the MSDN sample called "Walkall" (C++ code).
- filter the html code
- add the <base href="URL"> tag inside the HTML code, in order to mimic the right base domain.
- ask IE to load this html code in the browser : document.load(...)



MS quote (http://www.microsoft.com/ddk) : As of September 30, 2002, the Microsoft® Windows® 2000 DDK, the Microsoft Windows 98 DDK, and the Microsoft Windows NT® 4.0 DDK will no longer be available for purchase or download on this site.
GeneralComponents Pin
Jinwah24-Sep-02 3:45
Jinwah24-Sep-02 3:45 
GeneralRe: Components Pin
Nick Parker24-Sep-02 3:50
protectorNick Parker24-Sep-02 3:50 
GeneralRe: Components Pin
Paul Riley24-Sep-02 4:09
Paul Riley24-Sep-02 4:09 
QuestionDoes anyone know how to capture screen in C#? Pin
Li-kai Liu (Angus)24-Sep-02 3:19
Li-kai Liu (Angus)24-Sep-02 3:19 
AnswerRe: Does anyone know how to capture screen in C#? Pin
leppie24-Sep-02 4:53
leppie24-Sep-02 4:53 
AnswerRe: Does anyone know how to capture screen in C#? Pin
Philip Fitzsimons24-Sep-02 4:54
Philip Fitzsimons24-Sep-02 4:54 
GeneralRe: Does anyone know how to capture screen in C#? Pin
leppie24-Sep-02 5:06
leppie24-Sep-02 5:06 
GeneralRe: Does anyone know how to capture screen in C#? Pin
Philip Fitzsimons24-Sep-02 5:34
Philip Fitzsimons24-Sep-02 5:34 
GeneralRe: Does anyone know how to capture screen in C#? Pin
leppie24-Sep-02 7:37
leppie24-Sep-02 7:37 
GeneralRe: Does anyone know how to capture screen in C#? Pin
Li-kai Liu (Angus)24-Sep-02 12:45
Li-kai Liu (Angus)24-Sep-02 12:45 
GeneralRe: Does anyone know how to capture screen in C#? Pin
leppie24-Sep-02 14:42
leppie24-Sep-02 14:42 
GeneralRe: Does anyone know how to capture screen in C#? Pin
Li-kai Liu (Angus)24-Sep-02 12:41
Li-kai Liu (Angus)24-Sep-02 12:41 
GeneralRe: Does anyone know how to capture screen in C#? Pin
Li-kai Liu (Angus)24-Sep-02 16:16
Li-kai Liu (Angus)24-Sep-02 16:16 
GeneralRe: Does anyone know how to capture screen in C#? Pin
Philip Fitzsimons25-Sep-02 0:19
Philip Fitzsimons25-Sep-02 0:19 
GeneralRe: Filter HTML Content Before Displaying in WebBrowser Pin
John Hurrell24-Sep-02 6:52
John Hurrell24-Sep-02 6:52 
GeneralRe: Filter HTML Content Before Displaying in WebBrowser Pin
Stephane Rodriguez.24-Sep-02 7:00
Stephane Rodriguez.24-Sep-02 7:00 
GeneralWhen to define interfaces Pin
afronaut23-Sep-02 10:02
afronaut23-Sep-02 10:02 

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.