Click here to Skip to main content
15,904,416 members
Home / Discussions / C#
   

C#

 
AnswerRe: C# - File Permission Pin
Jimmanuel29-Apr-09 11:19
Jimmanuel29-Apr-09 11:19 
AnswerRe: C# - File Permission Pin
Luc Pattyn29-Apr-09 11:33
sitebuilderLuc Pattyn29-Apr-09 11:33 
GeneralRe: C# - File Permission Pin
malharone29-Apr-09 13:17
malharone29-Apr-09 13:17 
QuestionHelp with Web Service Upload Pin
charles Frank29-Apr-09 10:16
charles Frank29-Apr-09 10:16 
QuestionHow can I use cookies stored by Internet Explorer 7(in Vista) in my WinForms application? Pin
rebulanyum29-Apr-09 10:08
rebulanyum29-Apr-09 10:08 
AnswerRe: How can I use cookies stored by Internet Explorer 7(in Vista) in my WinForms application? Pin
Henry Minute29-Apr-09 10:59
Henry Minute29-Apr-09 10:59 
AnswerRe: How can I use cookies stored by Internet Explorer 7(in Vista) in my WinForms application? [modified] Pin
rebulanyum30-Apr-09 4:36
rebulanyum30-Apr-09 4:36 
QuestionWhy pictures aren't shown in listview Pin
Aljaz11129-Apr-09 9:06
Aljaz11129-Apr-09 9:06 
I don't know why pictures aren't shown in listview.. i would like to add them like thumbnails..or small icons..so when i will click on them they will resize in picturebox.. Here is code for adding to listview which isn't working.
private void Form1_Load(object sender, EventArgs e)
        {
            DirectoryInfo dir = new DirectoryInfo(@"d:\\feri\\ičr\\galerija\\galerija\\galerija");

            foreach (FileInfo file in dir.GetFiles())
            {

                try
                {

                    this.imageList1.Images.Add(Image.FromFile(file.FullName));

                }

                catch
                {

                    Console.WriteLine("This is not an image file");

                }

            }

            this.listView1.View = View.LargeIcon;

            this.imageList1.ImageSize = new Size(32, 32);

            this.listView1.LargeImageList = this.imageList1;

            


            for (int j = 0; j < this.imageList1.Images.Count; j++)
            {

                ListViewItem item = new ListViewItem();

                item.ImageIndex = j;

                this.listView1.Items.Add(item);

            }

        }

AnswerRe: Why pictures aren't shown in listview Pin
Henry Minute29-Apr-09 9:34
Henry Minute29-Apr-09 9:34 
GeneralRe: Why pictures aren't shown in listview Pin
Aljaz11129-Apr-09 9:47
Aljaz11129-Apr-09 9:47 
GeneralRe: Why pictures aren't shown in listview Pin
Aljaz11129-Apr-09 10:01
Aljaz11129-Apr-09 10:01 
GeneralRe: Why pictures aren't shown in listview Pin
Dan Neely29-Apr-09 10:12
Dan Neely29-Apr-09 10:12 
GeneralRe: Why pictures aren't shown in listview Pin
Henry Minute29-Apr-09 10:18
Henry Minute29-Apr-09 10:18 
GeneralRe: Why pictures aren't shown in listview Pin
Aljaz11129-Apr-09 10:25
Aljaz11129-Apr-09 10:25 
GeneralRe: Why pictures aren't shown in listview Pin
Henry Minute29-Apr-09 10:35
Henry Minute29-Apr-09 10:35 
GeneralRe: Why pictures aren't shown in listview Pin
Aljaz11129-Apr-09 10:43
Aljaz11129-Apr-09 10:43 
GeneralRe: Why pictures aren't shown in listview Pin
Henry Minute29-Apr-09 10:54
Henry Minute29-Apr-09 10:54 
GeneralRe: Why pictures aren't shown in listview Pin
Aljaz11129-Apr-09 11:11
Aljaz11129-Apr-09 11:11 
GeneralRe: Why pictures aren't shown in listview Pin
Henry Minute29-Apr-09 11:28
Henry Minute29-Apr-09 11:28 
GeneralRe: Why pictures aren't shown in listview Pin
Aljaz11129-Apr-09 14:16
Aljaz11129-Apr-09 14:16 
GeneralRe: Why pictures aren't shown in listview Pin
Henry Minute30-Apr-09 0:30
Henry Minute30-Apr-09 0:30 
QuestionHow to display a textbox when checkbox is checked in C# Asp.net Pin
Shane Cavin29-Apr-09 8:39
Shane Cavin29-Apr-09 8:39 
AnswerRe: How to display a textbox when checkbox is checked in C# Asp.net Pin
Christian Graus29-Apr-09 10:18
protectorChristian Graus29-Apr-09 10:18 
AnswerRe: How to display a textbox when checkbox is checked in C# Asp.net Pin
dotnetmember29-Apr-09 19:43
dotnetmember29-Apr-09 19:43 
GeneralRe: How to display a textbox when checkbox is checked in C# Asp.net Pin
Shane Cavin30-Apr-09 3:42
Shane Cavin30-Apr-09 3:42 

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.