Hi,
Does any expert know how to get a Color RGB value of a
single pixel location on a picturebox control in which
an image is shown? Any method name to suggest?
Thanks for your kind attention,
Raymond
Hi,
I implement some drawings on a PictureBox control
on a form. However, when the form minimize and
show again, the drawings on the pictuerbox control
disappears. Is there any redraw event I need to
implement so that the drawings on the picturebox
control are keeping persisent.
Thanks for...
Hi,
I used Visual Studio .NET 2003 in programming Visual Basic .NET. I have one copy installed in office and another
copy installed on my notebok. However, I found that some
shortcut keys (not sure all shortcut key/function keys
are totally different) for the two programs are different.
For...
Hi,
I try to draw a rectange on a picturebox
image but there is not nothing to be shown
on the image. Does someone help me what is
wrong with my code?
Dim blackPen As New Pen(Color.Black, 3)
Image1 = Image.FromFile(l_strfilename)
PicImage.Width = Image1.PhysicalDimension.Width
PicImage.Height...
Hi,
I use a bitmap object to load a gif image and its pixel values
are retrieved by GetPixel() function. However, the gif contains a transparent color and GetPixel() ignores the transparent color property. Does anyone know to enable transparent property in bitmap object, I know there is a...
Hi,
I have a form that containing a horizontal scrollbar and
a textbox controls. I set the min and max properties of
the scrollbar to 0 and 255 respectively, and the smallchange
and largechange properties of the scrollbar are set to
1 and 10. A scroll event of the scrollbar is added so that
the...
Hi,
I add a horizontal Scrollbar and a textbox on a form.
When the scrollbar is scrolled, the scrollbar value will be
set to the textbox.
Then I set min and max value of the horizontal scrollbar
to 0 and 255 respectively, and then smallchange and largechange
properties are set to 1 and 10...
Hi,
I have a variable "Dim color1 as Color", but when I
use "if ( color1 is nothing ) then ...."
the VB.NET does not let me to do so....I don't know why.
Can someone teach me if there is another way of doing
the same thing?
Thanks,
Raymond
Hi,
I encounter a problem of passing a 2-dimensional array
into a module function. I search the web for the solution
but failed to find it. Do you know how to do it?
Any sample code to help?
Thanks for your kind attention,
Raymond
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.