Click here to Skip to main content
15,889,879 members
Home / Discussions / C#
   

C#

 
QuestionHow to check if I am using VStudio 2003 or 2005 (or .net 1.1 or 2.0) in C# Pin
hongheo7619-Aug-06 18:41
hongheo7619-Aug-06 18:41 
AnswerRe: How to check if I am using VStudio 2003 or 2005 (or .net 1.1 or 2.0) in C# Pin
Dave Kreskowiak19-Aug-06 20:41
mveDave Kreskowiak19-Aug-06 20:41 
AnswerRe: How to check if I am using VStudio 2003 or 2005 (or .net 1.1 or 2.0) in C# Pin
Stefan Troschuetz19-Aug-06 22:33
Stefan Troschuetz19-Aug-06 22:33 
AnswerRe: How to check if I am using VStudio 2003 or 2005 (or .net 1.1 or 2.0) in C# Pin
Mircea Grelus20-Aug-06 1:14
Mircea Grelus20-Aug-06 1:14 
AnswerRe: How to check if I am using VStudio 2003 or 2005 (or .net 1.1 or 2.0) in C# Pin
Mircea Grelus20-Aug-06 1:20
Mircea Grelus20-Aug-06 1:20 
AnswerRe: How to check if I am using VStudio 2003 or 2005 (or .net 1.1 or 2.0) in C# Pin
Ista20-Aug-06 6:32
Ista20-Aug-06 6:32 
QuestionExtracting NetworkCredentials from WebBrowser? Pin
E. Beeton19-Aug-06 15:21
E. Beeton19-Aug-06 15:21 
AnswerRe: Extracting NetworkCredentials from WebBrowser? Pin
Nader Elshehabi20-Aug-06 1:45
Nader Elshehabi20-Aug-06 1:45 
Hello

I'm not that expert in webdevelopment, yet I think you should extract that information from the webrequest sent when you press the submit button in the form.

For example in hotmail sign in form, when the user presses the sign in button your webbrowser control fires hte Navigating event. Here you can check the webbrowser document for field values. Check this psuedocode:

HtmlDocument document = this.webBrowser1.Document;
String username = document.All["userName"].GetAttribute("value");
String password = document.All["password"].GetAttribute("value");


Of course this implies that you must know the username and password field names, and that you put some error handling code -which I didn't in the above psuedocode-

RegardsRose | [Rose]
GeneralRe: Extracting NetworkCredentials from WebBrowser? Pin
E. Beeton20-Aug-06 6:04
E. Beeton20-Aug-06 6:04 
QuestionArrayList Delete Both Identical Strings? Pin
gman4419-Aug-06 13:01
gman4419-Aug-06 13:01 
AnswerRe: ArrayList Delete Both Identical Strings? Pin
Christian Graus19-Aug-06 13:15
protectorChristian Graus19-Aug-06 13:15 
AnswerRe: ArrayList Delete Both Identical Strings? Pin
Stefan Troschuetz19-Aug-06 22:11
Stefan Troschuetz19-Aug-06 22:11 
QuestionInvalidate wont actually do what I need to do Pin
Ista19-Aug-06 12:29
Ista19-Aug-06 12:29 
AnswerRe: Invalidate wont actually do what I need to do Pin
Guffa19-Aug-06 13:22
Guffa19-Aug-06 13:22 
GeneralRe: Invalidate wont actually do what I need to do Pin
Ista19-Aug-06 14:00
Ista19-Aug-06 14:00 
AnswerRe: Invalidate wont actually do what I need to do Pin
Guffa19-Aug-06 14:21
Guffa19-Aug-06 14:21 
GeneralRe: Invalidate wont actually do what I need to do Pin
Ista19-Aug-06 16:17
Ista19-Aug-06 16:17 
AnswerRe: Invalidate wont actually do what I need to do Pin
Guffa19-Aug-06 22:02
Guffa19-Aug-06 22:02 
GeneralRe: Invalidate wont actually do what I need to do Pin
Ista20-Aug-06 6:52
Ista20-Aug-06 6:52 
GeneralRe: Invalidate wont actually do what I need to do Pin
Guffa20-Aug-06 14:06
Guffa20-Aug-06 14:06 
GeneralRe: Invalidate wont actually do what I need to do Pin
Ista20-Aug-06 16:15
Ista20-Aug-06 16:15 
GeneralRe: Invalidate wont actually do what I need to do Pin
Ista21-Aug-06 8:07
Ista21-Aug-06 8:07 
AnswerRe: Invalidate wont actually do what I need to do Pin
Guffa22-Aug-06 8:37
Guffa22-Aug-06 8:37 
GeneralRe: Invalidate wont actually do what I need to do Pin
Ista22-Aug-06 9:07
Ista22-Aug-06 9:07 
GeneralRe: Invalidate wont actually do what I need to do Pin
Guffa23-Aug-06 9:54
Guffa23-Aug-06 9:54 

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.