Thank you very much XbNnX for your quick response. Your message will help me to look toward another direction if i will get plan B to have escape route, but it has not totally solved my problem. The main problem i am trying to solve is from the database using RDC. I can retreive other fields from database and add it to the custom listview in the last line of the code below. I have converted from image to byte array and used other approaches i know without success. Once the image is added, it error message is always: "Object can not be converted to string"
Sub JobDone(Job As HttpJob)
If Job.Success = False Then
Log("Error: " & Job.ErrorMessage)
'If Job.GetString = "select_inventory1" Then
' ToastMessageShow(txtSearch.Text & " " & "can not be found", True)
'End If
ProgressDialogHide
Else
If Job.JobName = "DBRequest" Then
Dim result As DBResult = reqManager.HandleJob(Job)
Select result.Tag
Case "select_skillweb1"
For Each records() As Object In result.Rows
projid = records(result.Columns.Get("projID"))
downloads = records(result.Columns.Get("downloads"))
link = records(result.Columns.Get("link"))
index1 = records(result.Columns.Get("index"))
description = records(result.Columns.Get("description"))
Dim image As byte
image = records(result.Columns.Get("pic")) 'This is where the main problem is, to display the 'pic' field from database to custom listview
clv1.AddTextItem(projid & " " & downloads & CRLF & CRLF & CRLF & image & CRLF & CRLF & description , "a")