i want to show a message

msgbox " you have done"

if web browser contains "you have login"

if WebBrowser1.Document ????????????? then
masgbox "done"

Recommended Answers

All 3 Replies


First you have to View Source of the WebPage and then, check where the text is located... it may be a Label or DIV or a Row/Cell in Table... Search accordingly and display...


not in source, just on web page

just if web page body have text logout

then msg box

if it is not in the source it is not on the web page, the source being the source of the web page.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.