Login Register






Removing an email from text filter_list
Author
Message
Removing an email from text #1
So I've managed to make a program that retrieves your skype username via email (webBrowser)

And I need to delete the email off the second part of the label: http://prntscr.com/b6h0vt

Thanks! Smile

Reply

RE: Removing an email from text #2
I believe you'd use something like

Label.2.clear()

Or something silly.

Mind posting the code
xmpp - admin@CIA.yt

Reply

RE: Removing an email from text #3
(05-20-2016, 09:51 PM)Sophisticated Wrote: I believe you'd use something like

Label.2.clear()

Or something silly.

Mind posting the code

Code:
foreach (HtmlElement el in webBrowser1.Document.GetElementsByTagName("div")) if (el.GetAttribute("className") == "animated bounceInDown") { skyperesult = el.InnerText; } label4.Text = skyperesult;

Reply

RE: Removing an email from text #4
(05-20-2016, 09:53 PM)Frenzied Wrote:
Code:
foreach (HtmlElement el in webBrowser1.Document.GetElementsByTagName("div")) if (el.GetAttribute("className") == "animated bounceInDown") { skyperesult = el.InnerText; } label4.Text = skyperesult;

Add a timer and then figure that out then

Set the timer as 5 seconds
Then end the code with

Label4.Text = ""
xmpp - admin@CIA.yt

Reply

RE: Removing an email from text #5
(05-20-2016, 09:56 PM)Sophisticated Wrote:
(05-20-2016, 09:53 PM)Frenzied Wrote:
Code:
foreach (HtmlElement el in webBrowser1.Document.GetElementsByTagName("div")) if (el.GetAttribute("className") == "animated bounceInDown") { skyperesult = el.InnerText; } label4.Text = skyperesult;

Add a timer and then figure that out then

Set the timer as 5 seconds
Then end the code with

Label4.Text = ""

I think you missed the point, because I seen him post this on another forum. He's retrieved text but only wants part of the retrieved text to show in the label. He doesn't want to clear the label...

The solution was Regex or simple string manipulation methods.

Reply