Csharp Ninja
posted
52 posts
since
Jan 16, 2012
from
|
|
Re: HOW CAN I DO THAT!!!!!!!
|
|
|
|
|
|
|
|
|
|
|
nobody wants to help me in this world
|
|
|
|
|
|
Dorababu M
posted
690 posts
since
May 19, 2009
from
|
|
Re: HOW CAN I DO THAT!!!!!!!
|
|
|
|
|
|
|
|
|
|
What you are trying to achieve was not clear .. If your post was clear then anybody will help you
Good information on C# you can search several in this community only or MSDN .
First let us know what you are trying to do
|
|
|
|
|
Dorababu.
Mark as Answer if you feel my post is helpful to you
|
|
|
|
|
|
Vulpes
posted
5113 posts
since
Feb 28, 2011
from
|
|
Re: HOW CAN I DO THAT!!!!!!!
|
|
|
|
|
|
|
|
|
|
Judging by the questions you've asked previously, here are my guesses for these three:
(1)
if (webBrowser1.Url.Host == "www.google.com") { webBrowser1.Navigate("http://www.facebook.com"); } (2) HtmlElement element = webBrowser1.Document.GetElementById("textBox1"); if (element != null && element.InnerText == "google.com") { webBrowser1.Navigate("http://www.facebook.com"); } (3)foreach(HtmlElement element in webBrowser1.Document.All) { if (element != null && element.InnerHtml.Contains("blablabla")) { webBrowser1.Navigate("http://www.google.com"); break; } }
|
|
|
|
|
|
Maha
posted
809 posts
since
Aug 13, 2006
from
|
|
Re: HOW CAN I DO THAT!!!!!!!
|
|
|
|
|
|
|
|
|
|
|
There are 17872 guests in this forum according today (Feb4, 2012 at 10.13am) statistic. "Nobody wants to help me in this world" is a unbelievable statement.
-When coming up with a problem make life easy to others as far possible. Because your are making you problem as others problem.
|
|
|
|
|
|
Csharp Ninja
posted
52 posts
since
Jan 16, 2012
from
|
|
Re: HOW CAN I DO THAT!!!!!!!
|
|
|
|
|
|
|
|
|
|
|
Thank you vulpes.. as usual, your answer is the best answer..
|
|
|
|
|
|
Sam Hobbs
posted
6447 posts
since
Sep 07, 2009
from
Los Angeles, California, USA
|
|
Re: HOW CAN I DO THAT!!!!!!!
|
|
|
|
|
|
|
|
|
|
|
I am still not sure what you need to do.
I am not sure why I did not look at this before now. I hope you can understand that I often ignore threads with subject such as "help me", "C# question" or "HOW CAN I DO THAT!!!!!!!". If the subject indicates the question is about the WebBrowser control then I would definitely look at it. I know that it is impossible to write a perfect subject, but please try; just trying can make a big difference. It will absolutely make a difference in other forums where there are many more questions every day.
Also, the quality of the question influences the quality of th answer. If you take the time to describe the problem then you are more likely to get an answer. You want to make it clear to others that you have really tried to solve the problem; not by complaining about not getting answers, but by the information you provide about the problem. Invest some time in a description of the problem, instead of giving the impression that anoither perspn's investment will not be wasted.
I certainly understand the feeling that no one wants to help. If I were to tell you about my problems in life, you would not help; no one does. Fortunately at least I am breathing; Tuesday morning I fedlt liekl I was going to die, and I am not exagerating. It is a horrible feeling. But that is not the problem. The problem, as you know, is feelings. I can understand the feeling that no one cares.
I will help if I can. Please don't expect a big investment of time. It is my pleasure to guide people in the direction they need to go and then they are able to follow the path from there.
|
|
|
|
|
Thinking is a feeling; pleasant for some and unpleasant for others.
|
|
|
|
|
|