Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by sony2000

  1. sony2000

    How to get RGB value of a location on a picture box

    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
  2. sony2000

    PictureBox Redraw

    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...
  3. sony2000

    Visual Studio .NET 2003 Shortcut Key / Function Key

    Thanks all for your information! Raymond
  4. sony2000

    Visual Studio .NET 2003 Shortcut Key / Function Key

    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...
  5. sony2000

    Draw line on image

    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...
  6. sony2000

    how to display % in string

    Hi, Does anyone know how to display % in a string? VB.NET does not allow me to put a single % in a string. Thanks for your kind attention, Raymond
  7. sony2000

    Enable Transparent of an image

    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...
  8. sony2000

    Horizontal Scrollbar problem in VB.NET

    Hi chrissie1, Have you encountered this problem before? Is it a bug of VB.NET? Raymond
  9. sony2000

    Horizontal Scrollbar problem in VB.NET

    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...
  10. sony2000

    Strange Horizontal Scrollbar....please help!

    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...
  11. sony2000

    Set Color to Nothing

    Thanks, Mark!
  12. sony2000

    how to pass 2-dimensional array to a function in VB.NET

    RiverGuy, it works, Thank you very much.
  13. sony2000

    how to pass 2-dimensional array to a function in VB.NET

    How about 2-dimensional array? what is the syntax? Thanks! Raymond
  14. sony2000

    Set Color to Nothing

    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
  15. sony2000

    how to pass 2-dimensional array to a function in VB.NET

    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

Part and Inventory Search

Back
Top