Click here to Skip to main content
15,914,500 members
Home / Discussions / C#
   

C#

 
AnswerRe: [C# COM development] output by Regasm Pin
mav.northwind18-Jul-07 19:07
mav.northwind18-Jul-07 19:07 
GeneralRe: [C# COM development] output by Regasm Pin
George_George18-Jul-07 19:19
George_George18-Jul-07 19:19 
GeneralRe: [C# COM development] output by Regasm Pin
mav.northwind18-Jul-07 21:23
mav.northwind18-Jul-07 21:23 
GeneralRe: [C# COM development] output by Regasm Pin
George_George18-Jul-07 21:51
George_George18-Jul-07 21:51 
GeneralRe: [C# COM development] output by Regasm Pin
RepliCrux22-Jul-07 12:33
RepliCrux22-Jul-07 12:33 
QuestionC# Webbrowser and form questions Pin
Sean G. Murphy18-Jul-07 17:32
Sean G. Murphy18-Jul-07 17:32 
QuestionRe: C# Webbrowser and form questions Pin
RepliCrux18-Jul-07 18:36
RepliCrux18-Jul-07 18:36 
AnswerRe: C# Webbrowser and form questions Pin
Sean G. Murphy18-Jul-07 23:50
Sean G. Murphy18-Jul-07 23:50 
I want to read the text from input objects, like a basic textbox for a name, in an html document but without it having to be "post"ed.

here's an example




Name:

Address:






Notice there is no submit button on the form.

Someone would fill in their name and a line of their address then click a System.Windows.Forms.Button
Here is my code (which doesn't work)

foreach(HtmlElement elt in browser.Document.Forms)
{
foreach(HtmlElement ch in elt.GetElementsByTagName("INPUT"))
{
MessageBox.Show("Text = " + ch.InnerText);
}
}

I was expecting it would show the text that was typed in but I keep getting a blank return.

Any help would be great!

Thanks!
Sean Murphy
"All things great and small start at the same point, the first step."

GeneralRe: C# Webbrowser and form questions Pin
RepliCrux19-Jul-07 12:46
RepliCrux19-Jul-07 12:46 
GeneralRe: C# Webbrowser and form questions Pin
Sean G. Murphy22-Jul-07 7:40
Sean G. Murphy22-Jul-07 7:40 
QuestionOpenLDAP --- alternative? Pin
devvvy18-Jul-07 15:12
devvvy18-Jul-07 15:12 
Questionusing bitmap or draw directly Pin
cyn818-Jul-07 14:55
cyn818-Jul-07 14:55 
AnswerRe: using bitmap or draw directly Pin
Luc Pattyn18-Jul-07 22:55
sitebuilderLuc Pattyn18-Jul-07 22:55 
QuestionA Question About Using Timers -- New C# User Here Pin
bobber20518-Jul-07 13:30
bobber20518-Jul-07 13:30 
AnswerRe: A Question About Using Timers -- New C# User Here Pin
Jimmanuel18-Jul-07 14:26
Jimmanuel18-Jul-07 14:26 
Questionquestion about interface Pin
abstar18-Jul-07 13:24
abstar18-Jul-07 13:24 
AnswerRe: question about interface Pin
Ed.Poore18-Jul-07 13:30
Ed.Poore18-Jul-07 13:30 
QuestionWindow.Opener equivalent Pin
Craigpt18-Jul-07 11:28
Craigpt18-Jul-07 11:28 
AnswerRe: Window.Opener equivalent Pin
Guffa18-Jul-07 13:28
Guffa18-Jul-07 13:28 
GeneralRe: Window.Opener equivalent Pin
Craigpt19-Jul-07 4:46
Craigpt19-Jul-07 4:46 
AnswerRe: Window.Opener equivalent Pin
Ed.Poore18-Jul-07 13:30
Ed.Poore18-Jul-07 13:30 
GeneralRe: Window.Opener equivalent Pin
Craigpt19-Jul-07 4:47
Craigpt19-Jul-07 4:47 
GeneralRe: Window.Opener equivalent Pin
Ed.Poore19-Jul-07 6:50
Ed.Poore19-Jul-07 6:50 
QuestionDataGridView && ErrorProvider Pin
Taras61118-Jul-07 11:21
Taras61118-Jul-07 11:21 
AnswerRe: DataGridView && ErrorProvider Pin
TheTinSoldier18-Jul-07 11:31
TheTinSoldier18-Jul-07 11:31 

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.