Ok, ive made an imageviewer, but it eat u^p a lot of memory,
any pionter to fix that?
below is the code i use to load the images
any pionter to fix that?
below is the code i use to load the images
Code:
PIT_image.Visible = False
PIT_image.Image = Image.FromFile(sPath & "\" & filelist.SelectedItem)
PIT_image.Update()
PIT_image.Refresh()
If chresize.Pushed = True Then
resizeimage()
Else
PIT_image.Height = PIT_image.Image.Height
PIT_image.Width = PIT_image.Image.Width
PIT_image.Visible = True
End If