Click here to Skip to main content
15,902,938 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionhw to use sheet control in vb6.0? Pin
JC.KaNNaN12-Apr-10 20:03
JC.KaNNaN12-Apr-10 20:03 
AnswerRe: hw to use sheet control in vb6.0? [modified] Pin
Rajesh Anuhya12-Apr-10 21:31
professionalRajesh Anuhya12-Apr-10 21:31 
AnswerRe: hw to use sheet control in vb6.0? Pin
Dave Kreskowiak13-Apr-10 3:34
mveDave Kreskowiak13-Apr-10 3:34 
GeneralRe: hw to use sheet control in vb6.0? Pin
Gregory Gadow13-Apr-10 4:27
Gregory Gadow13-Apr-10 4:27 
QuestionLaunch Selected Object from a Dynamic Listview Pin
Adam Helms12-Apr-10 10:27
Adam Helms12-Apr-10 10:27 
AnswerRe: Launch Selected Object from a Dynamic Listview Pin
William Winner12-Apr-10 12:53
William Winner12-Apr-10 12:53 
GeneralRe: Launch Selected Object from a Dynamic Listview Pin
Adam Helms12-Apr-10 13:53
Adam Helms12-Apr-10 13:53 
GeneralRe: Launch Selected Object from a Dynamic Listview Pin
Adam Helms13-Apr-10 2:54
Adam Helms13-Apr-10 2:54 
I resolved this after staying up way too late last night using the following. If anyone is interested I can share further details. But it included adding an additional column (not visible in the large icon view I'm using) and replacing some of the listview_load code above with this:

Dim nIndex As Integer
Dim str(2) As String
Dim itm As ListViewItem
str(0) = sfilename2
str(1) = sFilenamewithpath
itm = New ListViewItem(str, nIndex)
ListView1.Items.Add(itm)
nIndex = nIndex + 1

And adding the following doubleclick event:

Private Sub ListView1_DoubleClick(ByVal sender As Object, ByVal e As System.EventArgs) Handles ListView1.DoubleClick
For Each file As ListViewItem In ListView1.Items
Dim filePath As String = file.SubItems(1).Text
If file.Selected = True Then
Process.Start(filePath)
Else
End If
Next
End Sub
GeneralRe: Launch Selected Object from a Dynamic Listview Pin
William Winner13-Apr-10 6:29
William Winner13-Apr-10 6:29 
Questionget request and response Pin
mabrahao12-Apr-10 8:25
mabrahao12-Apr-10 8:25 
AnswerRe: get request and response Pin
Dave Kreskowiak12-Apr-10 9:50
mveDave Kreskowiak12-Apr-10 9:50 
GeneralRe: get request and response Pin
mabrahao12-Apr-10 10:35
mabrahao12-Apr-10 10:35 
GeneralRe: get request and response Pin
Dave Kreskowiak12-Apr-10 12:49
mveDave Kreskowiak12-Apr-10 12:49 
GeneralRe: get request and response Pin
mabrahao12-Apr-10 16:30
mabrahao12-Apr-10 16:30 
QuestionBluetooth Pin
nikhemant12-Apr-10 1:24
nikhemant12-Apr-10 1:24 
AnswerRe: Bluetooth Pin
dan!sh 12-Apr-10 2:41
professional dan!sh 12-Apr-10 2:41 
AnswerRe: Bluetooth Pin
Dalek Dave12-Apr-10 3:18
professionalDalek Dave12-Apr-10 3:18 
GeneralRe: Pin
nikhemant20-Jun-10 23:03
nikhemant20-Jun-10 23:03 
QuestionDatagrid and Datatable In Pocket PC Vb.net2005 Pin
ejaz_pk12-Apr-10 0:56
ejaz_pk12-Apr-10 0:56 
AnswerRe: Datagrid and Datatable In Pocket PC Vb.net2005 Pin
Dave Kreskowiak12-Apr-10 4:25
mveDave Kreskowiak12-Apr-10 4:25 
QuestionRetrieving data in parts Pin
Dayekh11-Apr-10 3:43
Dayekh11-Apr-10 3:43 
AnswerRe: Retrieving data in parts Pin
Luc Pattyn11-Apr-10 4:26
sitebuilderLuc Pattyn11-Apr-10 4:26 
GeneralRe: Retrieving data in parts Pin
Dayekh11-Apr-10 4:37
Dayekh11-Apr-10 4:37 
GeneralRe: Retrieving data in parts Pin
Luc Pattyn11-Apr-10 4:47
sitebuilderLuc Pattyn11-Apr-10 4:47 
GeneralRe: Retrieving data in parts Pin
Dayekh11-Apr-10 5:15
Dayekh11-Apr-10 5:15 

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.