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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: sony2000
  • Order by date
  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
  16. sony2000

    Pass multi-dimension array to a function

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

    Create a global object accessed from MDI parent form

    Is there any "global" way to access the public variable in MDI form? why those public variable do not appear in the function/property list? Raymond
  18. sony2000

    Create a global object accessed from MDI parent form

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

    Create a global object accessed from MDI parent form

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

    Directory Listing Control

    Hi, Does .NET provide any directory listing control? Just like the one provided in Visual Basic 6? Thanks for your kind attention, Raymond

Part and Inventory Search

Back
Top