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

C#

 
GeneralRe: Uploading/Downloading Word documents into Sql Server using WinForms Pin
Judah Gabriel Himango9-Feb-06 9:22
sponsorJudah Gabriel Himango9-Feb-06 9:22 
GeneralRe: Uploading/Downloading Word documents into Sql Server using WinForms Pin
User 66589-Feb-06 10:09
User 66589-Feb-06 10:09 
GeneralRe: Uploading/Downloading Word documents into Sql Server using WinForms Pin
soloflexx10-Feb-06 8:43
soloflexx10-Feb-06 8:43 
GeneralRe: Uploading/Downloading Word documents into Sql Server using WinForms Pin
Jonesjo10-Feb-06 8:46
Jonesjo10-Feb-06 8:46 
Questionhow to compare the date in database (MySQL) with date now? Pin
azmafaridah9-Feb-06 6:27
azmafaridah9-Feb-06 6:27 
AnswerRe: how to compare the date in database (MySQL) with date now? Pin
Guffa9-Feb-06 6:40
Guffa9-Feb-06 6:40 
QuestionASP.NET Error: Old format or invalid type library Pin
Vladutz9-Feb-06 6:22
Vladutz9-Feb-06 6:22 
QuestionProgrammatically pressing a webBroswer button Pin
Martin239-Feb-06 5:43
Martin239-Feb-06 5:43 
Hi guys, I have a program (in Visual studio 2005) that interacts with a webBrowser component, it needs to press buttons on webpages in that webBrowser, so far I have done this by focusing on the button then programmatically pressing "enter" as follows;


webBrowser1.Document.GetElementById("button1").Focus();
SendKeys.Send("{ENTER}");


This works, but is less than satisfactory, because if the user starts using a different application it fires the "enter" key in the other application. This can mostly be avoided by checking my application has the user focus, but then if it doesn't have the user focus the "enter" is never fired.

Is there a better way of programmatically pressing a button on the webpage?

thanks a lot

Martin
AnswerRe: Programmatically pressing a webBroswer button Pin
Judah Gabriel Himango9-Feb-06 6:08
sponsorJudah Gabriel Himango9-Feb-06 6:08 
GeneralRe: Programmatically pressing a webBroswer button Pin
Martin239-Feb-06 7:02
Martin239-Feb-06 7:02 
AnswerRe: Programmatically pressing a webBroswer button Pin
emran8349-Feb-06 12:22
emran8349-Feb-06 12:22 
AnswerRe: Programmatically pressing a webBroswer button Pin
cweeks7868126-Apr-06 11:06
cweeks7868126-Apr-06 11:06 
QuestionResearch with multi-dimensional data (C#) Pin
jimbobtheking9-Feb-06 5:03
jimbobtheking9-Feb-06 5:03 
AnswerRe: Research with multi-dimensional data (C#) Pin
Guffa9-Feb-06 5:53
Guffa9-Feb-06 5:53 
QuestionHow to get Live(!!!)Picture from Webcam Pin
twickl9-Feb-06 4:48
twickl9-Feb-06 4:48 
QuestionTrapping Scroll Event in a Panel Pin
MarkMokris9-Feb-06 4:18
MarkMokris9-Feb-06 4:18 
AnswerRe: Trapping Scroll Event in a Panel Pin
Judah Gabriel Himango9-Feb-06 5:15
sponsorJudah Gabriel Himango9-Feb-06 5:15 
GeneralRe: Trapping Scroll Event in a Panel Pin
MarkMokris9-Feb-06 5:52
MarkMokris9-Feb-06 5:52 
GeneralRe: Trapping Scroll Event in a Panel Pin
Judah Gabriel Himango9-Feb-06 6:06
sponsorJudah Gabriel Himango9-Feb-06 6:06 
QuestionSwitching .Net version in Visual Studio Pin
redkite9-Feb-06 4:16
redkite9-Feb-06 4:16 
AnswerRe: Switching .Net version in Visual Studio Pin
Judah Gabriel Himango9-Feb-06 5:17
sponsorJudah Gabriel Himango9-Feb-06 5:17 
QuestionShared Methods? Pin
csmod9-Feb-06 3:59
csmod9-Feb-06 3:59 
AnswerRe: Shared Methods? Pin
Judah Gabriel Himango9-Feb-06 5:18
sponsorJudah Gabriel Himango9-Feb-06 5:18 
GeneralRe: Shared Methods? Pin
Guffa9-Feb-06 5:56
Guffa9-Feb-06 5:56 
QuestionConvert file extension to mime type Pin
Uwe Keim9-Feb-06 3:48
sitebuilderUwe Keim9-Feb-06 3:48 

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.