Solved

ListView: Remember Row and Reselect it after refresh

Posted on 2008-06-19
1
487 Views
Last Modified: 2012-05-05
I have a listview and i need to know the row currently selected, and after refresh reselect that row. I am in 1.1 of framework.
0
Comment
Question by:scorpion53061
1 Comment
 

Accepted Solution

by:
scorpion53061 earned 0 total points
ID: 21824261
Dim id As Integer
id = Me.lvwJobs.ListView.SelectedIndices.Item(0)

'do some stuff

Me.lvwJobs.ListView.Items(id).Selected = True
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

IP addresses can be stored in a database in any of several ways.  These ways may vary based on the volume of the data.  I was dealing with quite a large amount of data for user authentication purpose, and needed a way to minimize the storage.   …
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question