Click here to Skip to main content
15,908,254 members
Home / Discussions / C#
   

C#

 
GeneralRe: Control Hardware through Software Pin
Luc Pattyn22-Jul-08 5:20
sitebuilderLuc Pattyn22-Jul-08 5:20 
AnswerRe: Control Hardware through Software Pin
Alex@UEA22-Jul-08 5:02
Alex@UEA22-Jul-08 5:02 
QuestionHow to remove a AddIn from VStudio 2008 Pin
Tomerland22-Jul-08 3:37
Tomerland22-Jul-08 3:37 
AnswerRe: How to remove a AddIn from VStudio 2008 Pin
Rob Siklos22-Jul-08 8:30
Rob Siklos22-Jul-08 8:30 
QuestionProblem in Remoting Pin
stancrm22-Jul-08 3:33
stancrm22-Jul-08 3:33 
QuestionLogConsole? Recommendations? Pin
tkrn22-Jul-08 2:36
tkrn22-Jul-08 2:36 
AnswerRe: LogConsole? Recommendations? Pin
Mustafa Ismail Mustafa22-Jul-08 3:05
Mustafa Ismail Mustafa22-Jul-08 3:05 
AnswerRe: LogConsole? Recommendations? Pin
wurzel_cidermaker22-Jul-08 4:29
wurzel_cidermaker22-Jul-08 4:29 
QuestionEvent handling in C# Pin
TheComputerMan22-Jul-08 2:13
TheComputerMan22-Jul-08 2:13 
AnswerRe: Event handling in C# Pin
Mustafa Ismail Mustafa22-Jul-08 2:31
Mustafa Ismail Mustafa22-Jul-08 2:31 
AnswerRe: Event handling in C# Pin
Dave Doknjas22-Jul-08 13:20
Dave Doknjas22-Jul-08 13:20 
Questionsocket programming Pin
AlexPizzano22-Jul-08 1:43
AlexPizzano22-Jul-08 1:43 
AnswerRe: socket programming Pin
stancrm22-Jul-08 1:46
stancrm22-Jul-08 1:46 
AnswerRe: socket programming Pin
nelsonpaixao22-Jul-08 13:15
nelsonpaixao22-Jul-08 13:15 
QuestionC++ code to access .NET component Pin
Sitaram Sukumar22-Jul-08 1:35
Sitaram Sukumar22-Jul-08 1:35 
AnswerRe: C++ code to access .NET component Pin
stancrm22-Jul-08 1:43
stancrm22-Jul-08 1:43 
QuestionGeneral Question of thread Pin
Mogaambo22-Jul-08 1:21
Mogaambo22-Jul-08 1:21 
AnswerRe: General Question of thread Pin
N a v a n e e t h22-Jul-08 1:38
N a v a n e e t h22-Jul-08 1:38 
AnswerRe: General Question of thread Pin
Guffa22-Jul-08 2:09
Guffa22-Jul-08 2:09 
QuestionRefreshing DatagridView Pin
Yosh_22-Jul-08 1:16
professionalYosh_22-Jul-08 1:16 
AnswerRe: Refreshing DatagridView Pin
Mustafa Ismail Mustafa22-Jul-08 2:34
Mustafa Ismail Mustafa22-Jul-08 2:34 
AnswerRe: Refreshing DatagridView Pin
nelsonpaixao22-Jul-08 13:22
nelsonpaixao22-Jul-08 13:22 
QuestionHow to get RGB color values of web cam image Pin
DC22522-Jul-08 1:14
DC22522-Jul-08 1:14 
AnswerRe: How to get RGB color values of web cam image Pin
Luc Pattyn22-Jul-08 2:23
sitebuilderLuc Pattyn22-Jul-08 2:23 
RantRe: How to get RGB color values of web cam image Pin
Laleen Dharmasena29-Oct-12 17:59
Laleen Dharmasena29-Oct-12 17:59 
XML
'This get from image saved in ur pc.I am 'using picture box mouse click event in visual basic.Net '2010 .Add pic box to ur form & add these lables to y 're form thanks
'Enjoy this

 ' Yohan & Laleen From Sri Lanka

 Dim TempBitmap As New Bitmap(PictureBox1.Image)
        Dim MyColor As Color
        MyColor = TempBitmap.GetPixel(e.X, e.Y)
        ' MessageBox.Show("Pixel x=" & e.X & ", y=" & e.Y & ", color=" & MyColor.ToString, "Color", MessageBoxButtons.OK, MessageBoxIcon.Information)
        Label5.Text = MyColor.R.ToString()
        Label6.Text = MyColor.G.ToString()
        Label7.Text = MyColor.B.ToString()
        Label8.Text = e.X.ToString()
        Label10.Text = e.Y.ToString()

        Dim r1 As String = Hex(MyColor.R)
        Dim g1 As String = Hex(MyColor.G)
        Dim b1 As String = Hex(MyColor.B)

        'MessageBox.Show(r1 & g1 & b1)
        Label12.Text = r1 & g1 & b1

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.