TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Mai Hu Na
NA
86
133.3k
C# Webbrowser Control: loop through a List
May 22 2013 3:03 AM
hi all,
i am using webbrowser control in windows aplication . i was writting some logic in webBrowser1_DocumentCompleted() method
i am using list to navigate webbrowser control but web browser control not wait for first FanMailSiteName in list it process second..third and so on
here is my code snippet please help ASAP
foreach (AdvisorDetail ad in adList)
{
DownloadFilePath = ad.Path;
Username = ad.UserName;
Password = ad.Password;
FanMailSiteName = ad.URL;
Advisorname = ad.AdvisorName;
SignIN();
{
webBrowser1.Navigate(FanMailSiteName);
}
}
private void webBrowser1_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e)
{
//some logic here
}
Reply
Answers (
0
)
create Button and use it in toolbox
accessing C dll containing enum and struct from C# program