Click here to Skip to main content
15,887,267 members
Home / Discussions / C#
   

C#

 
GeneralRe: breaking a string to substrings Pin
coolestCoder29-Dec-09 22:16
coolestCoder29-Dec-09 22:16 
AnswerRe: breaking a string to substrings Pin
Md. Marufuzzaman29-Dec-09 20:42
professionalMd. Marufuzzaman29-Dec-09 20:42 
QuestionRichTextBox in WPF raised InvalidComObjectException in release build application Pin
Jingcheng29-Dec-09 17:52
Jingcheng29-Dec-09 17:52 
QuestionControlPaint.DrawBorder Pin
Saksida Bojan29-Dec-09 11:00
Saksida Bojan29-Dec-09 11:00 
AnswerRe: ControlPaint.DrawBorder Pin
Ravi Bhavnani29-Dec-09 14:53
professionalRavi Bhavnani29-Dec-09 14:53 
GeneralRe: ControlPaint.DrawBorder Pin
Saksida Bojan29-Dec-09 19:26
Saksida Bojan29-Dec-09 19:26 
QuestionHow to mark / build C# / WPF component STA Pin
Jingcheng29-Dec-09 10:15
Jingcheng29-Dec-09 10:15 
QuestionFill HTML-Forms, wait for respons and get answere with C# Pin
diialer29-Dec-09 9:51
diialer29-Dec-09 9:51 
Hi,

i'm "new" here and try to learn a little c#.NET
So for train a little i thought to write a software, copy a string into the search field of this page: http://www.dict.cc/[^]
After that the software should press the search button and list the items. would be enougth if someone of you can tell me how it works... i already started:

WebBrowser wb = new WebBrowser();
wb.Url = new Uri("http://dict.cc/");
HtmlDocument htmldoc = wb.Document;

// <input name="s" id="sinp" maxlength="100" size="25" style="padding: 2px; width: 340px;" value="" type="text">
htmldoc.All["sinp"].InnerText += richTextBox1.Text;

// <input id="submit" value="Suche" class="inp1" style="padding: 1px;" type="submit">
htmldoc.All["submit"].InvokeMember("Click");

this does not work, i always get the following error for the last 2 lines: "NullReferenceException was unhandled"

and i don't know how to go on... so wait for the response and read the first answer..
AnswerRe: Fill HTML-Forms, wait for respons and get answere with C# Pin
#realJSOP29-Dec-09 10:07
mve#realJSOP29-Dec-09 10:07 
GeneralRe: Fill HTML-Forms, wait for respons and get answere with C# Pin
diialer29-Dec-09 10:13
diialer29-Dec-09 10:13 
GeneralRe: Fill HTML-Forms, wait for respons and get answere with C# Pin
DaveyM6929-Dec-09 11:24
professionalDaveyM6929-Dec-09 11:24 
GeneralRe: Fill HTML-Forms, wait for respons and get answere with C# Pin
diialer29-Dec-09 13:34
diialer29-Dec-09 13:34 
GeneralRe: Fill HTML-Forms, wait for respons and get answere with C# Pin
Luc Pattyn29-Dec-09 14:29
sitebuilderLuc Pattyn29-Dec-09 14:29 
AnswerRe: Fill HTML-Forms, wait for respons and get answere with C# Pin
OriginalGriff29-Dec-09 10:12
mveOriginalGriff29-Dec-09 10:12 
QuestionWord Bookmark Value Pin
Member 230798429-Dec-09 9:42
Member 230798429-Dec-09 9:42 
AnswerRe: Word Bookmark Value Pin
Rick Shaub30-Dec-09 3:57
Rick Shaub30-Dec-09 3:57 
Questiondisplay detail view form when click on a row Pin
duce1nik29-Dec-09 8:09
duce1nik29-Dec-09 8:09 
AnswerRe: display detail view form when click on a row Pin
#realJSOP29-Dec-09 8:14
mve#realJSOP29-Dec-09 8:14 
GeneralRe: display detail view form when click on a row Pin
duce1nik29-Dec-09 16:50
duce1nik29-Dec-09 16:50 
QuestionCheckBox In WinForms DataGridView Not Working Pin
Kevin Marois29-Dec-09 8:00
professionalKevin Marois29-Dec-09 8:00 
AnswerRe: CheckBox In WinForms DataGridView Not Working Pin
darkelv29-Dec-09 8:05
darkelv29-Dec-09 8:05 
GeneralRe: CheckBox In WinForms DataGridView Not Working Pin
Kevin Marois29-Dec-09 8:19
professionalKevin Marois29-Dec-09 8:19 
GeneralRe: CheckBox In WinForms DataGridView Not Working Pin
darkelv29-Dec-09 8:24
darkelv29-Dec-09 8:24 
GeneralC# VS 2008 3.5 Winform SetFocus to textbox on Ctrl + L Pin
Wheels01229-Dec-09 5:23
Wheels01229-Dec-09 5:23 
GeneralRe: C# VS 2008 3.5 Winform SetFocus to textbox on Ctrl + L Pin
TheFoZ29-Dec-09 5:45
TheFoZ29-Dec-09 5:45 

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.