Click here to Skip to main content
15,921,212 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Sending emails using VB.Net ? Pin
Modern_night10-Nov-04 14:18
Modern_night10-Nov-04 14:18 
GeneralOpen My Documents Pin
kellydanielc8-Nov-04 0:29
kellydanielc8-Nov-04 0:29 
GeneralRe: Open My Documents Pin
Purple Monk8-Nov-04 1:48
Purple Monk8-Nov-04 1:48 
GeneralRe: Open My Documents Pin
Anonymous8-Nov-04 12:46
Anonymous8-Nov-04 12:46 
Generaladding balloon tooltips for statusbar panels Pin
Member 12536797-Nov-04 18:51
Member 12536797-Nov-04 18:51 
GeneralRe: adding balloon tooltips for statusbar panels Pin
Purple Monk8-Nov-04 1:53
Purple Monk8-Nov-04 1:53 
GeneralMortgage Caluculator App in VB.net Pin
gmahler5th7-Nov-04 17:59
gmahler5th7-Nov-04 17:59 
Generalmshtml in vb.net Pin
ddd017-Nov-04 17:10
ddd017-Nov-04 17:10 
I am trying to use MSHTML without the webbrowser and I am having a few problems. Right now all I am trying to do is load an URL(html page) and access its innerhtml.

What I have is:

Dim doc As mshtml.HTMLDocument = New mshtml.HTMLDocument()
Dim d1 As mshtml.IHTMLDocument4 = doc
Dim d2 As mshtml.IHTMLDocument4 = doc
d2.write("test")
d2.close()
MsgBox(d2.body.innerHTML)
d2 = d1.createDocumentFromUrl("http://www.msnbc.com", "")
MsgBox(d2.readystate)

It seems like I am able to load the url correct (ran a packet sniffer), however, I cannot figure out how to detect that it has completed. I looked in the web and there were some old examples using:

While d2.readyState <> "complete"
DoEvents
End While
But when I tried it started using 100% of the cpu and it never ended.


Any suggestions/ideas? Also can you point me to any good tutorials that explain how to use of mshtml and vb.net

thanks
GeneralTabControl Pin
Jeeva Jose7-Nov-04 15:50
Jeeva Jose7-Nov-04 15:50 
GeneralNumber List Style Pin
DorisTSR7-Nov-04 14:47
DorisTSR7-Nov-04 14:47 
GeneralCDO.Message Object Pin
Modern_night7-Nov-04 10:46
Modern_night7-Nov-04 10:46 
GeneralAccessing Mobile Devices In VB.NET Pin
bbrennen7-Nov-04 7:40
bbrennen7-Nov-04 7:40 
Generalfilebrowser/compair Pin
marctonnard7-Nov-04 4:43
marctonnard7-Nov-04 4:43 
GeneralRe: filebrowser/compair Pin
Purple Monk8-Nov-04 2:31
Purple Monk8-Nov-04 2:31 
GeneralRe: filebrowser/compair Pin
Anonymous14-Nov-04 5:22
Anonymous14-Nov-04 5:22 
Questiondiable keys while sendkeys? Pin
anynamewillworkpleasethistime7-Nov-04 2:16
sussanynamewillworkpleasethistime7-Nov-04 2:16 
GeneralTIMER Pin
Anonymous6-Nov-04 18:53
Anonymous6-Nov-04 18:53 
GeneralRe: TIMER Pin
marctonnard7-Nov-04 4:59
marctonnard7-Nov-04 4:59 
GeneralTabControl Pin
Jeeva Jose6-Nov-04 13:43
Jeeva Jose6-Nov-04 13:43 
GeneralTreeview with ordering control Pin
GeneralDisorder6-Nov-04 9:46
GeneralDisorder6-Nov-04 9:46 
GeneralWebBrowser control help Pin
Jvetter72136-Nov-04 5:26
sussJvetter72136-Nov-04 5:26 
GeneralHave a problem while create DLL!!!Need Help Pin
john_tran6-Nov-04 3:12
john_tran6-Nov-04 3:12 
GeneralRe: Have a problem while create DLL!!!Need Help Pin
Dave Kreskowiak6-Nov-04 5:43
mveDave Kreskowiak6-Nov-04 5:43 
GeneralRe: Have a problem while create DLL!!!Need Help Pin
john_tran8-Nov-04 2:43
john_tran8-Nov-04 2:43 
GeneralMS Chart Problem Pin
VinayKumarS6-Nov-04 0:10
VinayKumarS6-Nov-04 0:10 

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.