Click here to Skip to main content
15,914,795 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: VBSCRIPT Pin
Ashfield15-Oct-09 21:35
Ashfield15-Oct-09 21:35 
QuestionVBSCRIPT Pin
darrinjowen15-Oct-09 18:35
darrinjowen15-Oct-09 18:35 
QuestionListbox SelectedIndexChanged event fires when selected item is clicked Pin
miwtech15-Oct-09 14:24
miwtech15-Oct-09 14:24 
AnswerRe: Listbox SelectedIndexChanged event fires when selected item is clicked Pin
Luc Pattyn15-Oct-09 14:38
sitebuilderLuc Pattyn15-Oct-09 14:38 
AnswerRe: Listbox SelectedIndexChanged event fires when selected item is clicked Pin
Mycroft Holmes15-Oct-09 20:00
professionalMycroft Holmes15-Oct-09 20:00 
QuestionObtaining Aggregate information from elements within a dataset Pin
Curtbroo15-Oct-09 8:04
Curtbroo15-Oct-09 8:04 
AnswerRe: Obtaining Aggregate information from elements within a dataset Pin
Curtbroo19-Oct-09 9:45
Curtbroo19-Oct-09 9:45 
Question64base string to image conversion and imagelist problem Pin
Erwin Wolff15-Oct-09 5:23
Erwin Wolff15-Oct-09 5:23 
I have problem (that seems to be obvious since I am posting here). I have an application that fetches a 64 base string out of a database and converts it, successfully to an image.

Here is the code:
Dim strImage As String = myRow("itemIcon")

Dim readmem As MemoryStream = New MemoryStream(Convert.FromBase64String(strImage))

Dim myIcon As Bitmap = New Bitmap(readmem)
readmem.Close()


Every control seems to understands the data from myIcon as being a valid bitmap, but when I import the image to an imagelist there seems to be an unreported error (or something like that) and it just doesn't display the image.

Dim tempItem As item
For Each tempItem In mainArrayList
   img2.Images.Add(tempItem.ItemID, tempItem.ItemIcon)
   img3.Images.Add(tempItem.ItemID, tempItem.ItemIcon)
   ' img3.Images.Add(imagekey, bitmap)
Next


When I do, by example "me.backgroundimage = tempItem.ItemIcon " it displays quite nicely the image, but it just doenst work with an imagelist.

Anybody an idea?
AnswerRe: 64base string to image conversion and imagelist problem Pin
Luc Pattyn15-Oct-09 5:47
sitebuilderLuc Pattyn15-Oct-09 5:47 
GeneralRe: 64base string to image conversion and imagelist problem Pin
Erwin Wolff15-Oct-09 6:04
Erwin Wolff15-Oct-09 6:04 
AnswerRe: 64base string to image conversion and imagelist problem Pin
Erwin Wolff15-Oct-09 15:12
Erwin Wolff15-Oct-09 15:12 
QuestionFile sharing Pin
offroaderdan15-Oct-09 4:16
offroaderdan15-Oct-09 4:16 
AnswerRe: File sharing Pin
vaghelabhavesh15-Oct-09 4:21
vaghelabhavesh15-Oct-09 4:21 
GeneralRe: File sharing Pin
offroaderdan15-Oct-09 4:34
offroaderdan15-Oct-09 4:34 
AnswerRe: File sharing Pin
Kschuler15-Oct-09 4:40
Kschuler15-Oct-09 4:40 
GeneralRe: File sharing Pin
offroaderdan15-Oct-09 4:47
offroaderdan15-Oct-09 4:47 
GeneralRe: File sharing Pin
Kschuler15-Oct-09 4:51
Kschuler15-Oct-09 4:51 
GeneralRe: File sharing Pin
offroaderdan15-Oct-09 5:35
offroaderdan15-Oct-09 5:35 
GeneralRe: File sharing Pin
Kschuler15-Oct-09 5:43
Kschuler15-Oct-09 5:43 
GeneralRe: File sharing Pin
offroaderdan15-Oct-09 7:02
offroaderdan15-Oct-09 7:02 
QuestionHow to show the selection red Rectangle using modi object!!!! If any one can help me!!! Pin
mailtosanjeev.jha15-Oct-09 3:15
mailtosanjeev.jha15-Oct-09 3:15 
AnswerRe: How to show the selection red Rectangle using modi object!!!! If any one can help me!!! Pin
Henry Minute15-Oct-09 3:18
Henry Minute15-Oct-09 3:18 
AnswerRe: How to show the selection red Rectangle using modi object!!!! If any one can help me!!! Pin
Dave Kreskowiak15-Oct-09 3:57
mveDave Kreskowiak15-Oct-09 3:57 
AnswerRe: How to show the selection red Rectangle using modi object!!!! If any one can help me!!! Pin
Eddy Vluggen15-Oct-09 4:38
professionalEddy Vluggen15-Oct-09 4:38 
GeneralRe: How to show the red Rectangle outside the selected text using modi object!!!! If any one can help me!!! Pin
mailtosanjeev.jha15-Oct-09 19:31
mailtosanjeev.jha15-Oct-09 19:31 

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.