Click here to Skip to main content
15,886,075 members

Comments by seravan (Top 6 by date)

seravan 12-Nov-15 2:51am View    
Should this really be a "ListView1.View = View.List" or are you looking for Details?

I tried below on my formload and it was able to highlight.

ListView1.View = View.List
ListView1.FullRowSelect = True
ListView1.GridLines = True

For index As Integer = 0 To 3
ListView1.Items.Add("Number" & index.ToString()).SubItems.Add("text")
Next

ListView1.Items(1).Selected = True
seravan 9-Jul-12 0:47am View    
Based from the connection string it's pointing to D drive while on you error it's pointing on the C drive and also a different MS Access file.
seravan 7-Jul-12 11:04am View    
Is your data from a table or fixed or hard coded values?
seravan 30-Jan-12 23:01pm View    
1. What's the OS you used when creating the app?
2. The another computer you ran your application with what OS is that?
seravan 13-Dec-11 19:27pm View    
Hi Hansiak, thanks for the reply. I see so it doesn't solve 1st and 2nd. I would like to ask the following:
1. Have you added Microsoft.Office.Interop.Access in the references? If yes, what version?
2. Have you tried putting using Microsoft.Office.Interop;?

In my local it did work. Here's what I did:
1. Added Microsoft.Office.Interop.Access as references version 11.0.0.0
2. Added using Microsoft.Office.Interop; in my code
3. Change my Platform target to x86 since i'm using a 64bit OS. I change this thru double clicking the Properties > Click Build > change the Platform target to x86