954,500 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

How to start,pause,then continue the iteration of a listbox?

I have a listbox filled with different items. For each item in the list it will visit a site in the web browser, the user using the software fills out text on the page, then it moves down the list.

How can I make it so it iterates down the list to an item, waits for the user to enter the data and for them to click a button on the GUI of the program, then continue the iteration again doing the previous things of stopping continuing?

kytro360
Light Poster
37 posts since Aug 2011
Reputation Points: 9
Solved Threads: 0
 

I would suggest that for each existing item in the list, you show a new form in dialog mode to navigate to the web page.
when the user closes this form, the calling will go to the next item in the list.

Hope this helps

lolafuertes
Master Poster
793 posts since Oct 2008
Reputation Points: 120
Solved Threads: 166
 

Does the user click a button on the actual windows form or the website form before moving to the next item in the listbox?

If the user clicks a button on the winform, that's simple, use a button click event to move down the listbox to the next item, if there is no next item, move to the first one again (if that's what you want).

If it's a button on the website form they click to advance...I'm not sure, I never use the browser control.

See the ListBox.SelectedItem property and the ListBox.SelectedIndexChanged event.

zachattack05
Posting Pro
516 posts since Dec 2009
Reputation Points: 61
Solved Threads: 15
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: