Click here to Skip to main content
15,924,828 members
Home / Discussions / C#
   

C#

 
GeneralRe: Weird req from boss Pin
SpiveyC#22-Aug-07 7:39
SpiveyC#22-Aug-07 7:39 
GeneralRe: Weird req from boss Pin
PIEBALDconsult22-Aug-07 8:07
mvePIEBALDconsult22-Aug-07 8:07 
AnswerRe: Wierd req from boss Pin
SKP2423-Aug-07 2:41
SKP2423-Aug-07 2:41 
GeneralRe: Wierd req from boss Pin
PIEBALDconsult23-Aug-07 4:40
mvePIEBALDconsult23-Aug-07 4:40 
GeneralRe: Wierd req from boss Pin
SpiveyC#23-Aug-07 5:29
SpiveyC#23-Aug-07 5:29 
GeneralRe: Weird req from boss Pin
PIEBALDconsult23-Aug-07 8:03
mvePIEBALDconsult23-Aug-07 8:03 
AnswerRe: Weird req from boss Pin
PIEBALDconsult23-Aug-07 14:09
mvePIEBALDconsult23-Aug-07 14:09 
QuestionOpening Winforms Webbrowsers with delays Pin
phimix22-Aug-07 1:52
phimix22-Aug-07 1:52 
Aloha,

I'm making a personal app. that can open a number of tabs (in a standard tabcontrol). Each of the tabs contains a webbrowser and the webbrowser automatically goes to a specific URL and fill out the fields on a form and click submit.

My problem is that I don't want to overload the site, so I would like to delay each tab opening a bit (10 minutes or so).

I have tried adding a Sleep() after each tab is opened, so the next tab opening (and thereby the next webbrowser submit) would be a bit delayed.

This works ok, except the event DocumentCompleted for each webbrowser aren't reached before all the tabs have been opened. All the webbrowser submit events therefore occur more or less at the same time, totally ignoring the Sleep().

Any idea how I can add a delay between my webbrowser submits?

Thanks, phimix
AnswerRe: Opening Winforms Webbrowsers with delays Pin
kubben22-Aug-07 3:20
kubben22-Aug-07 3:20 
AnswerRe: Opening Winforms Webbrowsers with delays Pin
Luc Pattyn22-Aug-07 4:37
sitebuilderLuc Pattyn22-Aug-07 4:37 
GeneralRe: Opening Winforms Webbrowsers with delays Pin
phimix22-Aug-07 13:18
phimix22-Aug-07 13:18 
QuestionSaving PageSetupDialog.PageSettings; Pin
udikantz22-Aug-07 1:35
udikantz22-Aug-07 1:35 
QuestionConnect SQL Server 2005 from VS.Net 2005 Pin
Banjo Ayorinde22-Aug-07 1:27
Banjo Ayorinde22-Aug-07 1:27 
AnswerRe: Connect SQL Server 2005 from VS.Net 2005 Pin
Giorgi Dalakishvili22-Aug-07 1:42
mentorGiorgi Dalakishvili22-Aug-07 1:42 
QuestionConnecting SQL Server 2005 from VS.Net 2005 Pin
Banjo Ayorinde22-Aug-07 1:02
Banjo Ayorinde22-Aug-07 1:02 
AnswerRe: Connecting SQL Server 2005 from VS.Net 2005 Pin
Rocky#22-Aug-07 1:06
Rocky#22-Aug-07 1:06 
Questionhelp on project Pin
himanshu p taunk22-Aug-07 0:47
himanshu p taunk22-Aug-07 0:47 
AnswerRe: help on project Pin
Christian Graus22-Aug-07 0:55
protectorChristian Graus22-Aug-07 0:55 
AnswerRe: help on project Pin
J4amieC22-Aug-07 1:01
J4amieC22-Aug-07 1:01 
GeneralRe: help on project Pin
himanshu p taunk22-Aug-07 1:11
himanshu p taunk22-Aug-07 1:11 
GeneralRe: help on project Pin
Rocky#22-Aug-07 1:17
Rocky#22-Aug-07 1:17 
AnswerRe: help on project Pin
Guffa22-Aug-07 2:52
Guffa22-Aug-07 2:52 
GeneralRe: help on project Pin
Brady Kelly22-Aug-07 3:31
Brady Kelly22-Aug-07 3:31 
AnswerRe: help on project Pin
Guffa23-Aug-07 0:22
Guffa23-Aug-07 0:22 
GeneralRe: help on project Pin
himanshu p taunk23-Aug-07 7:11
himanshu p taunk23-Aug-07 7:11 

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.