Click here to Skip to main content
16,007,885 members
Home / Discussions / C#
   

C#

 
AnswerRe: redraw problem GDI+ Pin
Christian Graus14-Mar-07 9:23
protectorChristian Graus14-Mar-07 9:23 
GeneralRe: redraw problem GDI+ Pin
_tasleem15-Mar-07 2:41
_tasleem15-Mar-07 2:41 
QuestionCrystall Report on C# 2005 Express Editiion. [modified] Pin
msogun14-Mar-07 7:22
msogun14-Mar-07 7:22 
QuestionLoading in a background on my form problem Pin
lee.hallows14-Mar-07 7:03
lee.hallows14-Mar-07 7:03 
AnswerRe: Loading in a background on my form problem Pin
Judah Gabriel Himango14-Mar-07 7:41
sponsorJudah Gabriel Himango14-Mar-07 7:41 
QuestionStrange problem with WebBrowser control "double loading" a page, eh? Pin
ThisIsMyUserName214-Mar-07 6:57
ThisIsMyUserName214-Mar-07 6:57 
AnswerRe: Strange problem with WebBrowser control "double loading" a page, eh? Pin
led mike14-Mar-07 7:19
led mike14-Mar-07 7:19 
GeneralRe: Strange problem with WebBrowser control "double loading" a page, eh? [modified] Pin
ThisIsMyUserName214-Mar-07 7:41
ThisIsMyUserName214-Mar-07 7:41 
Hmm, what can I do to get what I'm looking to do working (only having it trigger once)? It still happens on the DocumentTitleChanged event, I'm out of ideas on determining which URL is currently being navigated.

Here are the cases I look for and the actions that take place depending on which step (URL) I'm on.

At a login screen
-- automatically login
-- goto the search screen

At a search screen
-- search for xx (a number that the user of the app enters which gets auto-incremented)
-- determine if the search returned a result
---- if it did, then move on to the "scrape phase"
---- if it did NOT, go back to the search screen and log it
-- auto increment (here's the part where having it load twice is killing me)

At the Scrape phase (which is the same URL as the search screen except it has a "#search_result" in the URL)
-- Parse out 2 URLs from the search result and navigate to the first address

At first URL result
-- Check for xx (which is entered in my app but will be a constant in the session)
---- if it found it, move onto the second URL
---- if it did NOT find it, go back to the search page

At second URL result
-- Scrape a few pieces of information and store it into a DataSet
-- Go back to the search page and start over

I can't use the WebClient class because it requires slight user interaction due to a random character generator (on their site) coming up on various steps of the procedure. To counter that I check the page source for a specific string that only exists when this page is shown and I perform this check before I run the switch.
GeneralRe: Strange problem with WebBrowser control "double loading" a page, eh? Pin
led mike14-Mar-07 8:15
led mike14-Mar-07 8:15 
GeneralRe: Strange problem with WebBrowser control "double loading" a page, eh? Pin
ThisIsMyUserName214-Mar-07 8:33
ThisIsMyUserName214-Mar-07 8:33 
GeneralRe: Strange problem with WebBrowser control "double loading" a page, eh? Pin
Dave Kreskowiak14-Mar-07 9:20
mveDave Kreskowiak14-Mar-07 9:20 
GeneralRe: Strange problem with WebBrowser control "double loading" a page, eh? Pin
ThisIsMyUserName214-Mar-07 9:50
ThisIsMyUserName214-Mar-07 9:50 
QuestionHow to call different namespace Pin
Eyungwah14-Mar-07 6:57
Eyungwah14-Mar-07 6:57 
AnswerRe: How to call different namespace Pin
led mike14-Mar-07 7:12
led mike14-Mar-07 7:12 
AnswerRe: How to call different namespace Pin
Colin Angus Mackay14-Mar-07 9:03
Colin Angus Mackay14-Mar-07 9:03 
Questionxml question Pin
groundzero11114-Mar-07 6:43
groundzero11114-Mar-07 6:43 
AnswerRe: xml question Pin
ThisIsMyUserName214-Mar-07 7:23
ThisIsMyUserName214-Mar-07 7:23 
GeneralRe: xml question Pin
groundzero11114-Mar-07 8:48
groundzero11114-Mar-07 8:48 
GeneralRe: xml question Pin
Stefan Troschuetz14-Mar-07 12:10
Stefan Troschuetz14-Mar-07 12:10 
Questionpaging in DataGrid using C# and windows forms Pin
OmarLodhi14-Mar-07 5:54
OmarLodhi14-Mar-07 5:54 
QuestionCreating a tiny SQL Windows XP "Registry Cleaner" Application Pin
td0014-Mar-07 5:48
td0014-Mar-07 5:48 
AnswerRe: Creating a tiny SQL Windows XP "Registry Cleaner" Application Pin
Judah Gabriel Himango14-Mar-07 6:26
sponsorJudah Gabriel Himango14-Mar-07 6:26 
AnswerRe: Creating a tiny SQL Windows XP "Registry Cleaner" Application Pin
led mike14-Mar-07 6:29
led mike14-Mar-07 6:29 
QuestionNew Programmer Help Please! Pin
lee.hallows14-Mar-07 5:33
lee.hallows14-Mar-07 5:33 
AnswerRe: New Programmer Help Please! Pin
PlayByTheRules14-Mar-07 5:40
PlayByTheRules14-Mar-07 5:40 

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.