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
Hi,
I have a 2-dimensional array, let say A(2,3) as integer and
a function func1(ByRef a() as integer), does anyone know
how to pass the 1st dimension array into the function? (just like the one we can do in language C )
e.g. pass A(0, 0), A(0, 1), A(0, 2) into the function
Hope you...
Hi ThatRickGuy,
I declared a public variable db_conn which is a database
connection object in MDI parent form.
I tried me.parentform to access the public properties and
functions from MDI parent form. But there is no
db_conn can be selected......please help me.
Thanks,
Raymond
Hi,
My program has a MDI form and a child form. I create a ImageList and set it as a public attribute. But in my
child form, when I type :
Dim frm as new frmMDI()
there is no the imagelist available in the property lists
when I type "frm.", does any one know what is wrong with
my concept or...
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.