Click here to Skip to main content
15,891,136 members
Home / Discussions / C#
   

C#

 
AnswerRe: Sorted Collection in C# Pin
Abhinav S16-Oct-13 18:22
Abhinav S16-Oct-13 18:22 
AnswerRe: Sorted Collection in C# Pin
Dinkar Tiwari16-Oct-13 21:25
Dinkar Tiwari16-Oct-13 21:25 
AnswerRe: Sorted Collection in C# Pin
Gabriel Szabo17-Oct-13 1:22
Gabriel Szabo17-Oct-13 1:22 
QuestionCapture image from USB 2.0 PC Camera using physical button in the camera Pin
Member 794843016-Oct-13 2:10
Member 794843016-Oct-13 2:10 
AnswerRe: Capture image from USB 2.0 PC Camera using physical button in the camera Pin
Eddy Vluggen16-Oct-13 11:19
professionalEddy Vluggen16-Oct-13 11:19 
GeneralRe: Capture image from USB 2.0 PC Camera using physical button in the camera Pin
Member 794843016-Oct-13 15:05
Member 794843016-Oct-13 15:05 
GeneralRe: Capture image from USB 2.0 PC Camera using physical button in the camera Pin
Dave Kreskowiak17-Oct-13 1:19
mveDave Kreskowiak17-Oct-13 1:19 
Questionweb site interaction Pin
Member 1032069915-Oct-13 10:35
Member 1032069915-Oct-13 10:35 
I need to make a 'bot' style program that will mimic real life user interface. On the fist page I have a login/pass on submit. This step I have conqured:
C#
webBrowser1.Document.GetElementById("ctl00_MainContentArea_sei_form_password").SetAttribute("value", "PASSWORD");
           webBrowser1.Document.GetElementById("ctl00_MainContentArea_sei_form_username").SetAttribute("value", "USER");

           HtmlElementCollection elc = this.webBrowser1.Document.GetElementsByTagName("input");
           foreach (HtmlElement el in elc)
           {
               if (el.GetAttribute("type").Equals("submit") && el.GetAttribute("name").Equals("ctl00$MainContentArea$sei_form_submit"))
               {
                   el.InvokeMember("click");
               }
           }

but now i have to get to 2 a hrefs that are buried deep inside a div tag:(the 2 files marked Roster_Lookups.zip and IDX_Listing_Data)
XML
<div id="ctl00_MainContentArea_sei_download_content_area" class="sei_content_padding"><div class="sei_left_float_small">
  <div class="sei_content_bg_gold">
  <h2>Data Download User Info</h2>
  <div class="sei_content_gold">

  <div class="sei_data_font">
   <div id="sei_data_user_info"><p>&nbsp;&nbsp;&nbsp;&nbsp;<b>User Name: </b>LOGIN</p>
<p><b>MLS Account: </b>Door County</p>
<p><b>Date Created: </b>6/18/2008 3:14:00 PM</p>
<p align="center"><a href="data_download.aspx?loggout=true">Click Here to Logout</a></p></div>

  </div>
    </div>
</div>

</div>
<div class="sei_left_float_padding">
  <div class="sei_content_bg_blue">
  <h2>Data Available For Download</h2>
  <div class="sei_content_blue">

  <div class="sei_data_font">
    <p>The data below is made available to you by your MLS. For data specifications, and general information please contact your MLS office.</p><br>
   <p class="sei_require"><b>New Update:</b><br> The IDX_Custom.zip file has been split into 2 zip files.  The file named IDX_Listing_Data.zip will contain the listing data.  The file named Roster_Lookups.zip will contain the roster and lookup information.</p><br>
<p class="sei_data_file_name"><a href="popdown.asp?file=IDX_Listing_Data.zip" target="download"><img src="images/zip.gif" alt="File" border="0" align="absmiddle">IDX_Listing_Data.zip</a></p><div class="sei_data_file_update">File Last Updated: 10/15/2013 3:49:59 AM</div><p></p><p class="sei_data_file_name"><a href="popdown.asp?file=Roster_Lookups.zip" target="download"><img src="images/zip.gif" alt="File" border="0" align="absmiddle">Roster_Lookups.zip</a></p><div class="sei_data_file_update">File Last Updated: 10/15/2013 3:50:00 AM</div><p></p>
  </div>
    </div>
</div>

</div>
<div class="sei_clear"></div>
</div>

This is set to not allow a cookie post/response set, so i need to try to get some kind of mouse move, tab move, and click value to associate the hyperlinks that are buried inside of that flash element.
All ideas are welcome!
AnswerRe: web site interaction Pin
Bernhard Hiller15-Oct-13 21:13
Bernhard Hiller15-Oct-13 21:13 
QuestionIn Console Application design table with background column dynamically Pin
karthikchinnu15-Oct-13 7:20
karthikchinnu15-Oct-13 7:20 
SuggestionRe: In Console Application design table with background column dynamically Pin
Richard MacCutchan15-Oct-13 21:35
mveRichard MacCutchan15-Oct-13 21:35 
QuestionAnyone work with AutoCad files? Pin
SledgeHammer0115-Oct-13 4:47
SledgeHammer0115-Oct-13 4:47 
AnswerRe: Anyone work with AutoCad files? Pin
Eddy Vluggen15-Oct-13 5:02
professionalEddy Vluggen15-Oct-13 5:02 
GeneralRe: Anyone work with AutoCad files? Pin
SledgeHammer0115-Oct-13 5:19
SledgeHammer0115-Oct-13 5:19 
QuestionRe: Anyone work with AutoCad files? Pin
Eddy Vluggen15-Oct-13 7:00
professionalEddy Vluggen15-Oct-13 7:00 
AnswerRe: Anyone work with AutoCad files? Pin
TnTinMn15-Oct-13 18:24
TnTinMn15-Oct-13 18:24 
AnswerRe: Anyone work with AutoCad files? Pin
Kenneth Haugland16-Oct-13 2:36
mvaKenneth Haugland16-Oct-13 2:36 
QuestionRead static values in a .dbml page Pin
vkEE15-Oct-13 4:31
vkEE15-Oct-13 4:31 
AnswerRe: Read static values in a .dbml page Pin
Eddy Vluggen15-Oct-13 4:58
professionalEddy Vluggen15-Oct-13 4:58 
GeneralRe: Read static values in a .dbml page Pin
vkEE15-Oct-13 5:17
vkEE15-Oct-13 5:17 
QuestionRe: Read static values in a .dbml page Pin
Eddy Vluggen15-Oct-13 7:16
professionalEddy Vluggen15-Oct-13 7:16 
AnswerRe: Read static values in a .dbml page Pin
vkEE15-Oct-13 7:23
vkEE15-Oct-13 7:23 
Questionusing genetic algorithms to improve voice commands recognition Pin
Member 997361615-Oct-13 0:24
Member 997361615-Oct-13 0:24 
AnswerRe: using genetic algorithms to improve voice commands recognition Pin
Eddy Vluggen15-Oct-13 5:04
professionalEddy Vluggen15-Oct-13 5:04 
GeneralRe: using genetic algorithms to improve voice commands recognition Pin
Member 997361615-Oct-13 5:10
Member 997361615-Oct-13 5:10 

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.