Click here to Skip to main content
16,004,919 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# problem Pin
Mazdak1-Apr-04 2:54
Mazdak1-Apr-04 2:54 
GeneralRe: C# problem Pin
Heath Stewart1-Apr-04 5:31
protectorHeath Stewart1-Apr-04 5:31 
GeneralTreeView copy Pin
Ata Özçelik1-Apr-04 2:19
Ata Özçelik1-Apr-04 2:19 
GeneralRe: TreeView copy Pin
Dave Kreskowiak1-Apr-04 3:32
mveDave Kreskowiak1-Apr-04 3:32 
GeneralShow some specific region of form Pin
Itanium1-Apr-04 0:42
Itanium1-Apr-04 0:42 
GeneralRe: Show some specific region of form Pin
Dave Kreskowiak1-Apr-04 2:23
mveDave Kreskowiak1-Apr-04 2:23 
Generalgetting binary resources Pin
mhmoud rawas31-Mar-04 23:49
mhmoud rawas31-Mar-04 23:49 
GeneralRe: getting binary resources Pin
Heath Stewart1-Apr-04 5:28
protectorHeath Stewart1-Apr-04 5:28 
Use regular expressions or complex string comparisons (obviously, the former is recommended) to find all supported attributes for linked content, such as SRC and HREF (in a LINK element, not an A element). If a BASE is in the header, be sure to resolve the URLs with that, otherwise use the current directory of the HTML document. Combine the absolute and relative paths (the Uri constructor does a good job of this, so see the Uri class documentation) and then download the content.

FYI, it may be much easier to read this into an IHTMLDocument2 and use MSHTML to save it for you, since it intrinsically knows all the linked content. See Reusing MSHTML[^] for more information. Experience with COM will be helpful.

 

Microsoft MVP, Visual C#
My Articles
GeneralObject Properties Pin
David Thaba31-Mar-04 22:01
David Thaba31-Mar-04 22:01 
GeneralRe: Object Properties Pin
Dave Kreskowiak1-Apr-04 2:31
mveDave Kreskowiak1-Apr-04 2:31 
Generalsave datagrid Pin
bertcox31-Mar-04 20:42
bertcox31-Mar-04 20:42 
GeneralRe: save datagrid Pin
rull31-Mar-04 21:46
rull31-Mar-04 21:46 
GeneralRe: save datagrid Pin
bertcox31-Mar-04 21:54
bertcox31-Mar-04 21:54 
GeneralRe: save datagrid Pin
rull31-Mar-04 22:20
rull31-Mar-04 22:20 
GeneralRe: save datagrid Pin
bertcox31-Mar-04 22:42
bertcox31-Mar-04 22:42 
GeneralRe: save datagrid Pin
rull31-Mar-04 22:57
rull31-Mar-04 22:57 
GeneralRe: save datagrid Pin
bertcox31-Mar-04 23:14
bertcox31-Mar-04 23:14 
GeneralCustomizing .NET TreeNode Pin
Prasad Anand31-Mar-04 17:14
Prasad Anand31-Mar-04 17:14 
GeneralRe: Customizing .NET TreeNode Pin
Heath Stewart31-Mar-04 17:38
protectorHeath Stewart31-Mar-04 17:38 
GeneralMessageBox Pin
DucLinh31-Mar-04 15:41
DucLinh31-Mar-04 15:41 
GeneralRe: MessageBox Pin
Heath Stewart31-Mar-04 17:40
protectorHeath Stewart31-Mar-04 17:40 
QuestionHow to set splitter position Pin
yu-yu31-Mar-04 14:48
yu-yu31-Mar-04 14:48 
AnswerRe: How to set splitter position Pin
Heath Stewart31-Mar-04 17:45
protectorHeath Stewart31-Mar-04 17:45 
GeneralRe: How to set splitter position Pin
yu-yu1-Apr-04 19:08
yu-yu1-Apr-04 19:08 
Questionwho can do a favor for me? Pin
liu123jian12331-Mar-04 13:44
liu123jian12331-Mar-04 13:44 

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.