Click here to Skip to main content
15,909,466 members
Home / Discussions / C#
   

C#

 
Questionidentify authorised user on web method using c# Pin
dalila y22-Feb-10 2:01
dalila y22-Feb-10 2:01 
AnswerRe: identify authorised user on web method using c# Pin
Not Active22-Feb-10 2:04
mentorNot Active22-Feb-10 2:04 
GeneralRe: identify authorised user on web method using c# Pin
dalila y22-Feb-10 5:27
dalila y22-Feb-10 5:27 
GeneralRe: identify authorised user on web method using c# Pin
Not Active22-Feb-10 5:47
mentorNot Active22-Feb-10 5:47 
QuestionMDI Problem in C#.Net? Pin
Pawan Kiran22-Feb-10 1:58
Pawan Kiran22-Feb-10 1:58 
AnswerRe: MDI Problem in C#.Net? Pin
DaveyM6922-Feb-10 8:39
professionalDaveyM6922-Feb-10 8:39 
GeneralRe: MDI Problem in C#.Net? Pin
Pawan Kiran22-Feb-10 18:15
Pawan Kiran22-Feb-10 18:15 
QuestionParse javascript Pin
Ziga122-Feb-10 1:37
Ziga122-Feb-10 1:37 
Hi,

I'm working on a project where I have to parse HTML pages in a C# Forms application. Parsing HTML is actually quite easy, espetially with mshtml. I just use the built in web browser and get all the information I need from the HTMLDocument and IHTMLDocument2.
I wanted to go a step further and also parse the javascript code, that is included in the web page. For now I am just able to get the tag and the included javascript code as a string.
Because javascript is one of the most widely spread script langues on the web, I assumed it would be as easy to parse as HTML. But I didn't find anything that would support my theory.
I just can't believe thet java script managing is not included in C#, but still, maybe I wasn't searching for an answer hard enough...

Does anyone know, if there is an easier way to parse javascript code than to write my own parser?

and sory for my bad english, i'm not a native speaker.
AnswerRe: Parse javascript Pin
Not Active22-Feb-10 2:02
mentorNot Active22-Feb-10 2:02 
GeneralRe: Parse javascript Pin
harold aptroot22-Feb-10 2:31
harold aptroot22-Feb-10 2:31 
GeneralRe: Parse javascript Pin
Not Active22-Feb-10 3:09
mentorNot Active22-Feb-10 3:09 
GeneralRe: Parse javascript Pin
harold aptroot22-Feb-10 3:22
harold aptroot22-Feb-10 3:22 
GeneralRe: Parse javascript Pin
Ziga122-Feb-10 3:43
Ziga122-Feb-10 3:43 
GeneralRe: Parse javascript Pin
Not Active22-Feb-10 3:48
mentorNot Active22-Feb-10 3:48 
GeneralRe: Parse javascript Pin
harold aptroot22-Feb-10 4:16
harold aptroot22-Feb-10 4:16 
GeneralRe: Parse javascript Pin
Dave Kreskowiak22-Feb-10 6:42
mveDave Kreskowiak22-Feb-10 6:42 
GeneralRe: Parse javascript Pin
Not Active22-Feb-10 3:45
mentorNot Active22-Feb-10 3:45 
GeneralRe: Parse javascript Pin
harold aptroot22-Feb-10 4:14
harold aptroot22-Feb-10 4:14 
GeneralRe: Parse javascript Pin
Not Active22-Feb-10 4:55
mentorNot Active22-Feb-10 4:55 
GeneralRe: Parse javascript Pin
harold aptroot22-Feb-10 5:02
harold aptroot22-Feb-10 5:02 
GeneralRe: Parse javascript Pin
Not Active22-Feb-10 12:25
mentorNot Active22-Feb-10 12:25 
GeneralRe: Parse javascript Pin
Ziga122-Feb-10 3:13
Ziga122-Feb-10 3:13 
AnswerRe: Parse javascript Pin
Ziga122-Feb-10 7:35
Ziga122-Feb-10 7:35 
Question'Basic' Client /Server Pin
tdata21-Feb-10 23:49
tdata21-Feb-10 23:49 
AnswerRe: 'Basic' Client /Server Pin
Paulo Zemek22-Feb-10 2:59
Paulo Zemek22-Feb-10 2:59 

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.