Click here to Skip to main content
15,860,844 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 8:00
Andrew Connell24-Sep-02 8:00 
GeneralRe: HOWTO: Web-like table w/ links (similar to solution list in VS.NET start page) Pin
Stephane Rodriguez.24-Sep-02 8:38
Stephane Rodriguez.24-Sep-02 8:38 
GeneralRe: HOWTO: Web-like table w/ links (similar to solution list in VS.NET start page) Pin
Andrew Connell24-Sep-02 8:44
Andrew Connell24-Sep-02 8:44 
GeneralRe: HOWTO: Web-like table w/ links (similar to solution list in VS.NET start page) Pin
Andrew Connell25-Sep-02 2:48
Andrew Connell25-Sep-02 2:48 
GeneralFilter HTML Content Before Displaying in WebBrowser Pin
John Hurrell24-Sep-02 4:08
John Hurrell24-Sep-02 4:08 
GeneralRe: Filter HTML Content Before Displaying in WebBrowser Pin
Stephane Rodriguez.24-Sep-02 4:49
Stephane Rodriguez.24-Sep-02 4:49 
GeneralRe: Filter HTML Content Before Displaying in WebBrowser Pin
John Hurrell24-Sep-02 4:59
John Hurrell24-Sep-02 4:59 
GeneralRe: Filter HTML Content Before Displaying in WebBrowser Pin
Stephane Rodriguez.24-Sep-02 5:43
Stephane Rodriguez.24-Sep-02 5: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 2:45
Jinwah24-Sep-02 2:45 
GeneralRe: Components Pin
Nick Parker24-Sep-02 2:50
protectorNick Parker24-Sep-02 2:50 
GeneralRe: Components Pin
Paul Riley24-Sep-02 3:09
Paul Riley24-Sep-02 3:09 
QuestionDoes anyone know how to capture screen in C#? Pin
Li-kai Liu (Angus)24-Sep-02 2:19
Li-kai Liu (Angus)24-Sep-02 2:19 
AnswerRe: Does anyone know how to capture screen in C#? Pin
leppie24-Sep-02 3:53
leppie24-Sep-02 3:53 
AnswerRe: Does anyone know how to capture screen in C#? Pin
Philip Fitzsimons24-Sep-02 3:54
Philip Fitzsimons24-Sep-02 3:54 
GeneralRe: Does anyone know how to capture screen in C#? Pin
leppie24-Sep-02 4:06
leppie24-Sep-02 4:06 
GeneralRe: Does anyone know how to capture screen in C#? Pin
Philip Fitzsimons24-Sep-02 4:34
Philip Fitzsimons24-Sep-02 4:34 
GeneralRe: Does anyone know how to capture screen in C#? Pin
leppie24-Sep-02 6:37
leppie24-Sep-02 6:37 
GeneralRe: Does anyone know how to capture screen in C#? Pin
Li-kai Liu (Angus)24-Sep-02 11:45
Li-kai Liu (Angus)24-Sep-02 11:45 
GeneralRe: Does anyone know how to capture screen in C#? Pin
leppie24-Sep-02 13:42
leppie24-Sep-02 13:42 
GeneralRe: Does anyone know how to capture screen in C#? Pin
Li-kai Liu (Angus)24-Sep-02 11:41
Li-kai Liu (Angus)24-Sep-02 11:41 
GeneralRe: Does anyone know how to capture screen in C#? Pin
Li-kai Liu (Angus)24-Sep-02 15:16
Li-kai Liu (Angus)24-Sep-02 15:16 
GeneralRe: Does anyone know how to capture screen in C#? Pin
Philip Fitzsimons24-Sep-02 23:19
Philip Fitzsimons24-Sep-02 23:19 
GeneralRe: Filter HTML Content Before Displaying in WebBrowser Pin
John Hurrell24-Sep-02 5:52
John Hurrell24-Sep-02 5:52 
GeneralRe: Filter HTML Content Before Displaying in WebBrowser Pin
Stephane Rodriguez.24-Sep-02 6:00
Stephane Rodriguez.24-Sep-02 6:00 
GeneralWhen to define interfaces Pin
afronaut23-Sep-02 9:02
afronaut23-Sep-02 9: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.