Click here to Skip to main content
15,922,533 members
Home / Discussions / C#
   

C#

 
QuestionIs there a way to connect to Hotmail (donwloading messages from html mail server)? Pin
Zibar15-Oct-02 23:09
sussZibar15-Oct-02 23:09 
AnswerRe: Is there a way to connect to Hotmail (donwloading messages from html mail server)? Pin
Rickard Andersson2015-Oct-02 23:50
Rickard Andersson2015-Oct-02 23:50 
GeneralRe: Is there a way to connect to Hotmail (donwloading messages from html mail server)? Pin
Zibar17-Oct-02 0:35
sussZibar17-Oct-02 0:35 
GeneralRe: Is there a way to connect to Hotmail (donwloading messages from html mail server)? Pin
Rickard Andersson2018-Oct-02 21:00
Rickard Andersson2018-Oct-02 21:00 
AnswerRe: Is there a way to connect to Hotmail (donwloading messages from html mail server)? Pin
Daniel Turini16-Oct-02 0:16
Daniel Turini16-Oct-02 0:16 
GeneralShared memory in C# Pin
Joao Vaz15-Oct-02 6:07
Joao Vaz15-Oct-02 6:07 
GeneralRe: Shared memory in C# Pin
Daniel Turini15-Oct-02 14:11
Daniel Turini15-Oct-02 14:11 
GeneralRe: Shared memory in C# Pin
Joao Vaz15-Oct-02 21:37
Joao Vaz15-Oct-02 21:37 
GeneralReplacement for SetRedraw Pin
Zombies with Coffee, LLC15-Oct-02 6:06
professionalZombies with Coffee, LLC15-Oct-02 6:06 
GeneralRe: Replacement for SetRedraw Pin
Russell Morris15-Oct-02 6:41
Russell Morris15-Oct-02 6:41 
GeneralRe: Replacement for SetRedraw Pin
Zombies with Coffee, LLC15-Oct-02 6:52
professionalZombies with Coffee, LLC15-Oct-02 6:52 
GeneralRe: Replacement for SetRedraw Pin
leppie15-Oct-02 7:41
leppie15-Oct-02 7:41 
GeneralRe: Replacement for SetRedraw Pin
Zombies with Coffee, LLC15-Oct-02 8:25
professionalZombies with Coffee, LLC15-Oct-02 8:25 
GeneralRe: Replacement for SetRedraw Pin
leppie15-Oct-02 9:44
leppie15-Oct-02 9:44 
GeneralHBITMAP problem (interop)... Pin
Anonymous15-Oct-02 5:08
Anonymous15-Oct-02 5:08 
Generalras idle timeout Pin
David Le Bas15-Oct-02 3:09
sussDavid Le Bas15-Oct-02 3:09 
QuestionRichTextBox > HTML? MailFormat.RTF? Pin
rendle15-Oct-02 2:53
rendle15-Oct-02 2:53 
AnswerRe: RichTextBox > HTML? MailFormat.RTF? Pin
Stephane Rodriguez.15-Oct-02 2:59
Stephane Rodriguez.15-Oct-02 2:59 
GeneralProblem with frames using .NET & webbrowser control Pin
GriffonRL14-Oct-02 23:14
GriffonRL14-Oct-02 23:14 
GeneralRe: Problem with frames using .NET & webbrowser control Pin
Stephane Rodriguez.15-Oct-02 0:36
Stephane Rodriguez.15-Oct-02 0:36 
GeneralRe: Problem with frames using .NET & webbrowser control Pin
GriffonRL15-Oct-02 1:01
GriffonRL15-Oct-02 1:01 
GeneralRe: Problem with frames using .NET & webbrowser control Pin
Stephane Rodriguez.15-Oct-02 2:58
Stephane Rodriguez.15-Oct-02 2:58 
GeneralRe: Problem with frames using .NET & webbrowser control Pin
GriffonRL15-Oct-02 4:35
GriffonRL15-Oct-02 4:35 
Yep !

Here is the solution working with frames Wink | ;) :

<br />
private void documentComplete(object sender, AxSHDocVw.DWebBrowserEvents2_DocumentCompleteEvent e){<br />
 SHDocVw.IWebBrowser2 Frame;<br />
 IHTMLDocument3 Doc;<br />
 IHTMLDOMChildrenCollection Tags;<br />
 IHTMLElement Tag;<br />
 int NumTags;<br />
<br />
 Console.WriteLine("URL: "+e.uRL);<br />
 try{<br />
  Frame=(SHDocVw.IWebBrowser2)e.pDisp;<br />
  if(Frame!=null){<br />
   Doc=(IHTMLDocument3)Frame.Document;<br />
   Console.WriteLine("Document URL: " (IHTMLDocument2)Doc).location.href);<br />
   if(Doc!=null){<br />
    Tags=(IHTMLDOMChildrenCollection)Doc.childNodes;<br />
    if(Tags!=null){<br />
     NumTags=Tags.length;<br />
     for(int i=0;i<NumTags;i++){<br />
      Tag=(IHTMLElement)Tags.item(i);<br />
      if(Tag!=null) traverseDOM(Tag);<br />
      }<br />
     }<br />
    }<br />
   }<br />
  }<br />
 catch(Exception ex){<br />
  Console.WriteLine("F***: "+ex.ToString());<br />
  }<br />
 }<br />


Enjoy,

R. L.

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.