Click here to Skip to main content
15,892,809 members
Home / Discussions / C#
   

C#

 
AnswerRe: Customized DateTime Picker Control Pin
Luc Pattyn8-Dec-10 0:32
sitebuilderLuc Pattyn8-Dec-10 0:32 
Questionfile in c# Pin
maheshwari.vetri7-Dec-10 6:06
maheshwari.vetri7-Dec-10 6:06 
AnswerRe: file in c# Pin
J4amieC7-Dec-10 6:13
J4amieC7-Dec-10 6:13 
AnswerRe: file in c# Pin
Luc Pattyn7-Dec-10 6:28
sitebuilderLuc Pattyn7-Dec-10 6:28 
GeneralRe: file in c# Pin
Dalek Dave7-Dec-10 12:28
professionalDalek Dave7-Dec-10 12:28 
JokeRe: file in c# Pin
Luc Pattyn7-Dec-10 12:37
sitebuilderLuc Pattyn7-Dec-10 12:37 
GeneralRe: file in c# Pin
Manfred Rudolf Bihy7-Dec-10 16:35
professionalManfred Rudolf Bihy7-Dec-10 16:35 
Questionchange the following code [modified] Pin
maheshwari.vetri7-Dec-10 5:22
maheshwari.vetri7-Dec-10 5:22 
private void btnOOImg_Click(object sender, EventArgs e)
        {
            string imgFileName;
            Bitmap img = null;
            Color c;
            int i, j;
            openFileDialog1.Filter = "All Image Files|*.bmp;*.ico;*.cur|All files (*.*)|*.*";
            openFileDialog1.FileName = null;
            if (openFileDialog1.ShowDialog() == DialogResult.OK)
            {
                imgFileName = openFileDialog1.FileName;
                img = (Bitmap)Image.FromFile(imgFileName);
                for (i = 0; i < img.Width - 1; i++)
                {
                    for (j = 0; j < img.Height - 1; j++)
                    {
                        c = img.GetPixel(i, j);
                        imgO[i, j] = c.R;
                        // MessageBox.Show("" + imgO[i, j]);
                    }
                }
                picOriginal.Image = img;
            }
        }

this code restricts certain images. i want it to change accept all images in as a file not inside a picture box
modified on Tuesday, December 7, 2010 11:55 AM

AnswerRe: change the following code Pin
Henry Minute7-Dec-10 5:55
Henry Minute7-Dec-10 5:55 
GeneralRe: change the following code Pin
maheshwari.vetri7-Dec-10 6:04
maheshwari.vetri7-Dec-10 6:04 
GeneralRe: change the following code Pin
Henry Minute7-Dec-10 6:36
Henry Minute7-Dec-10 6:36 
Questionaccessing child thread from the parent thread Pin
prasadbuddhika7-Dec-10 4:50
prasadbuddhika7-Dec-10 4:50 
AnswerRe: accessing child thread from the parent thread Pin
jschell7-Dec-10 10:13
jschell7-Dec-10 10:13 
QuestionHow to scroll ListView from your source code? Pin
Chesnokov Yuriy7-Dec-10 2:50
professionalChesnokov Yuriy7-Dec-10 2:50 
AnswerRe: How to scroll ListView from your source code? Pin
Luc Pattyn7-Dec-10 3:26
sitebuilderLuc Pattyn7-Dec-10 3:26 
AnswerRe: How to scroll ListView from your source code? Pin
Chesnokov Yuriy7-Dec-10 19:47
professionalChesnokov Yuriy7-Dec-10 19:47 
AnswerRe: How to scroll ListView from your source code? Pin
Luc Pattyn7-Dec-10 22:53
sitebuilderLuc Pattyn7-Dec-10 22:53 
AnswerRe: How to scroll ListView from your source code? Pin
#realJSOP7-Dec-10 23:30
mve#realJSOP7-Dec-10 23:30 
QuestionLogon Failed Error For Crystal Report. Pin
Sanket.Patil7-Dec-10 1:28
Sanket.Patil7-Dec-10 1:28 
AnswerRe: Logon Failed Error For Crystal Report. Pin
Alok Sharma ji7-Dec-10 1:51
Alok Sharma ji7-Dec-10 1:51 
GeneralRe: Logon Failed Error For Crystal Report. Pin
Sanket.Patil7-Dec-10 18:04
Sanket.Patil7-Dec-10 18:04 
GeneralRe: Logon Failed Error For Crystal Report. Pin
Alok Sharma ji8-Dec-10 0:45
Alok Sharma ji8-Dec-10 0:45 
GeneralRe: Logon Failed Error For Crystal Report. Pin
Sanket.Patil8-Dec-10 0:55
Sanket.Patil8-Dec-10 0:55 
AnswerRe: Logon Failed Error For Crystal Report. Pin
thatraja8-Dec-10 1:48
professionalthatraja8-Dec-10 1:48 
Question10 digit Crypted Value Pin
Enobong Adahada6-Dec-10 22:48
Enobong Adahada6-Dec-10 22:48 

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.