16,020,305 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Visual Basic questions
View Javascript questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by e.v.r (Top 34 by date)
e.v.r
19-May-13 14:43pm
View
thanks,
no, i need to know inputs are which form.
can u writ code for me? my code is here:
HtmlNodeCollection forms = doc.DocumentNode.SelectNodes("//form");
if (forms != null && forms.Count > 0)
{
FormMethod = forms[0].GetAttributeValue("method", "POST").ToUpper();
HtmlNodeCollection inputs = doc.DocumentNode.SelectNodes("//input");
foreach (HtmlNode input in inputs)
{
string TypeName = "";
if (input.Attributes.Contains("type"))
TypeName = input.Attributes["type"].Value.ToString();
if (
string.Compare(TypeName, "button", true) != 0 &&
string.Compare(TypeName, "image", true) != 0
)
{
try
{
InputsControls += input.Attributes["name"].Value.ToString() + "\r";
}
catch (Exception)
{
}
}
}
}
e.v.r
13-May-13 6:30am
View
Thank you!
i use inner html but my application didn't work.
how can i use this?
e.v.r
8-May-13 3:07am
View
My code can not run to my application.
e.v.r
7-May-13 1:16am
View
my code is here.
public partial class Form1 : Form
{
int start = 0;
int indexOfSearchText = 0;
public int FindText(string txtToSearch, int searchStart, int searchEnd)
{
if (searchStart > 0 && searchEnd > 0 && indexOfSearchText >= 0)
{
XSSResponceRichTextBox.Undo();
}
int retVal = -1;
if (searchStart >= 0 && indexOfSearchText >= 0)
{
if (searchEnd > searchStart || searchEnd == -1)
{
indexOfSearchText = XSSResponceRichTextBox.Find(txtToSearch, searchStart, searchEnd, RichTextBoxFinds.None);
if (indexOfSearchText != -1)
{
retVal = indexOfSearchText;
}
// if (indexOfSearchText == -1)
else
{
searchStart = 0;
indexOfSearchText = XSSResponceRichTextBox.Find(txtToSearch, searchStart, searchEnd, RichTextBoxFinds.None);
retVal = indexOfSearchText;
}
//if (indexOfSearchText == -1)
//{
// searchStart = 0;
// indexOfSearchText =XSSResponceRichTextBox.Find(txtToSearch, searchStart, searchEnd, System.Windows.Forms.RichTextBoxFinds.None);
// retVal = indexOfSearchText;
//}
}
}
return retVal;
}
public Form1()
{
InitializeComponent();
}
private void txtSearch_TextChanged(object sender, EventArgs e)
{
if (start != 0)
{
XSSResponceRichTextBox.Undo();
start = 0;
indexOfSearchText = 0;
}
}
private void txtSearch_KeyPress(object sender, KeyPressEventArgs e)
{
int startindex = 0;
if (e.KeyChar == ">
e.v.r
7-May-13 1:14am
View
Thank you!
no, my program is application that work in network, and crawl in html code and find links. so i have request / response we page. now my response is in rich text box. now i want saerch any word for example ( html, ).
i want a search like search in notepad.
e.v.r
29-Apr-13 5:03am
View
Thank you.
I try but any body don't answer me.
:(
e.v.r
29-Apr-13 3:26am
View
Thank you!
In fact, my problem is here:
var scriptsource = new Jurassic.StringScriptSource(Uri.UnescapeDataString(html), null);
in part, html code has to read, but Jurassic can not parse this source so any time syntaxs in try block, do not run.
e.v.r
28-Apr-13 4:24am
View
Thank you.
e.v.r
11-Apr-13 2:58am
View
Thank you!
but I didn't undrestand
e.v.r
11-Apr-13 2:16am
View
Thanks!
When we say Java Link
What does that mean?
e.v.r
11-Apr-13 2:14am
View
Thanks
I want to find links for any site and list them in treeview. like crawler. ok?
e.v.r
11-Apr-13 1:54am
View
Thank you!
I have 1 page of HTML source. for example this page.
I want to find links. so I search tag a
but i do not know java scripts links.
e.v.r
11-Mar-13 6:37am
View
hmmm, ok , I try
Thank you
e.v.r
11-Mar-13 6:34am
View
Thank you
e.v.r
11-Mar-13 4:54am
View
Hello,
yes, I use .net framework 4, but there isn't in my VS.
for example my error is htmlencode or webutility is not in my VS
e.v.r
11-Mar-13 4:20am
View
this name space is not in my vs.
this error is :
Error 1 The type or namespace name 'HttpUtility' does not exist in the namespace 'System.Net' (are you missing an assembly reference?)
e.v.r
11-Mar-13 4:09am
View
i have error for example this:
Error 2 The name 'HtmlEncode' does not exist in the current context
e.v.r
11-Mar-13 3:34am
View
var engine = new Jurassic.ScriptEngine();
engine.SetGlobalValue("a", 5);
engine.Execute(script.InnerHtml);
e.v.r
24-Feb-13 4:38am
View
Thank you
please Your answer move then I accept it.
e.v.r
24-Feb-13 2:53am
View
Thank you
in your idea, this is good for parser java script code? I want to use in web scanner.
e.v.r
24-Feb-13 2:53am
View
Deleted
Thank you
in your idea, this is good for parser java script code?
I want to use in web scanner.
e.v.r
23-Feb-13 4:55am
View
Thank you,
really i need a parser that execute scripts for java script and forward for me results. then I use in recognize Xss.
e.v.r
23-Feb-13 2:52am
View
Is true?
Thank you!
e.v.r
14-Feb-13 5:36am
View
Thank you
I use it but I want to know how to do it
I'd appreciate it spoken or written algorithms.
For example, the first single to be converted version or not? , ...
e.v.r
11-Feb-13 5:46am
View
I have a question.
What is the technology used in http://htmlagilitypack.codeplex.com/?
For asp.net 's or not?
Is it crawler to use it?
I saw many of these programs have been used
thanks
e.v.r
11-Feb-13 3:40am
View
Oh yes, apple and apple :). That's so funny.
Thank you
e.v.r
11-Feb-13 3:25am
View
Ok,
I have one question.
What are crawler between the parser? (Difference)
e.v.r
11-Feb-13 3:19am
View
Thanks for answer.
yes, I used this System.Net.WebRequest.WebRequest and ... and another your links but my crawler is not good.
Thank you
e.v.r
11-Feb-13 3:03am
View
I wrote a crawler that will list links to the site. But crawler can not find all the links correctly. I decided use the parser. But I could not found a proper parser, except that I gave the same link.
And also I can not use it because it was difficult for me to understand their code.
and i want to use this crawler in scanner.
ok?
e.v.r
11-Feb-13 2:57am
View
Thanks, sorry I am beginner in site.
I should explain what , so I mean it's so wide?
e.v.r
11-Feb-13 2:30am
View
In your opinion, how is the parser?
Do is the for asp? And I can not use?
http://www.beletsky.net/2010/09/crawling-web-sites-with-htmlagilitypack.html
http://blog.abodit.com/2010/03/a-simple-web-crawler-in-c-using-htmlagilitypack/
e.v.r
11-Feb-13 2:22am
View
The parser does not have the features that I want.
However, I noticed that the documentation. Someone did not tell me
I check the crawler and parser, but I did not get the result.
I need a good crawler that I felt would work better with the parser.
What do you think?
e.v.r
11-Feb-13 2:08am
View
Thank you for comment.
this is a Htmlunit parser for java. but i want for c#. this parser have a wrapper.
e.v.r
11-Feb-13 1:59am
View
Thank you for comments.
I want to write a program that work in network or web. it must to update. i put a button and in dabble click event for button must be for check for update.
I think that have to made one text file and put Version my application. so check its and if it was old, start to download new file. but I can't write this code.
Show More