Sub ListView1_ItemClick (Position As Int, Value As Object)
Dim tl As TwoLines
Dim intPipePos As Int
Dim id As Int
tl = Value
intPipePos = tl.Second.LastIndexOf(":")
id = tl.Second.SubString(intPipePos + 1)
ExecuteRemoteQueryWithAmazon("SELECT id, insertdate, comments, isbn, handle, price, title, author, course_id, handle FROM `books` WHERE id=" & id, "Job2")
DownloadImageToCache(url,"Job3")'This requires the URL from the above but the above is skipped and end sub is run
'then I will download the image to chace and display iti n a msgbox2 as a bitmap
End Sub
Sub DownloadImageToCache(Query As String,TaskId As String)
job3.Initialize(TaskId, Me)
job3.Download(Query)
End Sub