Click here to Skip to main content
15,890,438 members
Home / Discussions / C#
   

C#

 
GeneralRe: incrmenting by 01 instead of 1 Pin
eyeseetee10-Dec-07 2:56
eyeseetee10-Dec-07 2:56 
GeneralRe: incrmenting by 01 instead of 1 Pin
J4amieC10-Dec-07 3:09
J4amieC10-Dec-07 3:09 
GeneralRe: incrmenting by 01 instead of 1 Pin
eyeseetee10-Dec-07 3:22
eyeseetee10-Dec-07 3:22 
GeneralRe: incrmenting by 01 instead of 1 Pin
eyeseetee10-Dec-07 3:27
eyeseetee10-Dec-07 3:27 
GeneralRe: incrmenting by 01 instead of 1 Pin
J4amieC10-Dec-07 5:07
J4amieC10-Dec-07 5:07 
GeneralProblem with datatable Pin
Shaahinm10-Dec-07 1:04
Shaahinm10-Dec-07 1:04 
GeneralRe: Problem with datatable Pin
CKnig10-Dec-07 1:17
CKnig10-Dec-07 1:17 
Generalwebbrowser progressbar control Pin
Hari Om Prakash Sharma10-Dec-07 0:58
Hari Om Prakash Sharma10-Dec-07 0:58 
I have the following code and one progress bar (websites are navigated at run time and web site list may be more than this)

<br />
//websitelist[]={"google.com","yahoo.com","codeproject.com",....};<br />
for (int kk = 0; kk < 3; kk++)<br />
{<br />
web = new WebBrowser();<br />
web.Url = new System.Uri(websitelist[kk], System.UriKind.Absolute);<br />
web.Navigate(websitelist[kk]);<br />
hashTable.Add(kk, web);<br />
}


How can I get summation of progress of all webbrowsers in just a single progress bar i.e., their progress can be shown in single progress bar? If I am having a single webbrower I can get progress values by using their event handle, but when I have run time browers control and going on increasing how can I use event handling for all browsers(stored in hashtable as objects)

like :
foreach (int kk in hashTable.Keys)<br />
{               <br />
......<br />
//WebBrowser Web = (WebBrowser)hashTable[kk];<br />
//progressBar1.Value += Web.currentprogress; <br />
...<br />
}








First and the Foremost: FIGHT TO WIN


MySite:
http://www.hariomprakash.info

GeneralRe: webbrowser progressbar control Pin
CKnig10-Dec-07 1:01
CKnig10-Dec-07 1:01 
GeneralRe: webbrowser progressbar control Pin
Hari Om Prakash Sharma10-Dec-07 1:16
Hari Om Prakash Sharma10-Dec-07 1:16 
GeneralRe: webbrowser progressbar control Pin
Luc Pattyn10-Dec-07 2:04
sitebuilderLuc Pattyn10-Dec-07 2:04 
GeneralThank u so much! Pin
Hari Om Prakash Sharma10-Dec-07 17:50
Hari Om Prakash Sharma10-Dec-07 17:50 
Generalproblem with if statement Pin
eyeseetee10-Dec-07 0:27
eyeseetee10-Dec-07 0:27 
GeneralRe: problem with if statement Pin
CKnig10-Dec-07 0:38
CKnig10-Dec-07 0:38 
GeneralRe: problem with if statement Pin
eyeseetee10-Dec-07 1:39
eyeseetee10-Dec-07 1:39 
Questionhow to get present item from generic list using c# Pin
ramyanaidu9-Dec-07 23:59
ramyanaidu9-Dec-07 23:59 
AnswerRe: how to get present item from generic list using c# Pin
Anthony Mushrow10-Dec-07 0:09
professionalAnthony Mushrow10-Dec-07 0:09 
AnswerRe: how to get present item from generic list using c# Pin
CKnig10-Dec-07 0:58
CKnig10-Dec-07 0:58 
Generalupdates on stored procedure does not appear on dataset Pin
subai9-Dec-07 23:48
subai9-Dec-07 23:48 
GeneralSwitching Internet connections Pin
new2pgrmg9-Dec-07 23:47
new2pgrmg9-Dec-07 23:47 
Generalproblem with propertygrid Pin
Deglimmer9-Dec-07 23:43
Deglimmer9-Dec-07 23:43 
GeneralRe: problem with propertygrid Pin
visualhint13-Dec-07 11:36
visualhint13-Dec-07 11:36 
Generalproblem to load Data from form2 to form1.gridView Pin
hdv2129-Dec-07 23:32
hdv2129-Dec-07 23:32 
GeneralRe: problem to load Data from form2 to form1.gridView Pin
CKnig10-Dec-07 1:10
CKnig10-Dec-07 1:10 
GeneralRe: problem to load Data from form2 to form1.gridView Pin
hdv21210-Dec-07 2:50
hdv21210-Dec-07 2:50 

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.