Click here to Skip to main content
15,884,237 members
Home / Discussions / C#
   

C#

 
AnswerRe: Regular expression problem Pin
PIEBALDconsult2-Mar-09 17:04
mvePIEBALDconsult2-Mar-09 17:04 
GeneralRe: Regular expression problem Pin
wi5nia3-Mar-09 0:04
wi5nia3-Mar-09 0:04 
QuestionCould you help me to suggest a book for immgrating from C++ to C#, what about Accelerated C# or Illustrated C#,Pro C# 2008 and the .NET 3.5 Platform Pin
Dracula Wang2-Mar-09 14:15
Dracula Wang2-Mar-09 14:15 
AnswerRe: Could you help me to suggest a book for immgrating from C++ to C#, what about Accelerated C# or Illustrated C#,Pro C# 2008 and the .NET 3.5 Platform Pin
Christian Graus2-Mar-09 14:19
protectorChristian Graus2-Mar-09 14:19 
GeneralRe: Could you help me to suggest a book for immgrating from C++ to C#, what about Accelerated C# or Illustrated C#,Pro C# 2008 and the .NET 3.5 Platform Pin
Dracula Wang2-Mar-09 14:34
Dracula Wang2-Mar-09 14:34 
GeneralRe: Could you help me to suggest a book for immgrating from C++ to C#, what about Accelerated C# or Illustrated C#,Pro C# 2008 and the .NET 3.5 Platform Pin
Christian Graus2-Mar-09 15:03
protectorChristian Graus2-Mar-09 15:03 
GeneralRe: Could you help me to suggest a book for immgrating from C++ to C#, what about Accelerated C# or Illustrated C#,Pro C# 2008 and the .NET 3.5 Platform Pin
Shyam K Pananghat2-Mar-09 22:21
Shyam K Pananghat2-Mar-09 22:21 
QuestionLoading images into Image list - Problem Pin
S K Y2-Mar-09 14:14
S K Y2-Mar-09 14:14 
I use image list.in very frist time i can load images.but when i load imaegs into second time in same run time my first images are not show anymore & show second images.... how can i load images countinusly is same runtime....

private void import(object sender, EventArgs e)
        {
                ImageList imageList = new ImageList();
                imageList.ImageSize = new Size(100, 80);
                imageList.ColorDepth = ColorDepth.Depth32Bit;

                int i = 0;
                string[] files = dlg.FileNames;
                string[] pathes = new string[files.Length];

                foreach (string file in files)
                {
                    pathes[i] = file;
                    i++;
                }
                foreach (string path in pathes)
                {
                    //Image img1 = Image.FromFile(path);
                    //imageList.Images.Add(getThumbnaiImage(imageList.ImageSize.Width, img1));            
                    FileInfo fileInfo = new FileInfo(path);
                    String strDir = fileInfo.Name;
                    listView1.Items.Add(strDir);
                    imageList.Images.Add(Bitmap.FromFile(path));
                    //listView1.TileSize = new System.Drawing.Size(100, 80);
                }
                for (int j = 0; j < pathes.Length; j++)
                {
                    this.listView1.Items[j].ImageIndex = j;
                }
                this.listView1.View = View.LargeIcon;
                this.listView1.LargeImageList = imageList;

            }


A S E L A

AnswerRe: Loading images into Image list - Problem Pin
Luc Pattyn2-Mar-09 14:34
sitebuilderLuc Pattyn2-Mar-09 14:34 
GeneralRe: Loading images into Image list - Problem Pin
S K Y2-Mar-09 14:54
S K Y2-Mar-09 14:54 
AnswerRe: Loading images into Image list - Problem Pin
Luc Pattyn2-Mar-09 15:34
sitebuilderLuc Pattyn2-Mar-09 15:34 
GeneralRe: Loading images into Image list - Problem Pin
S K Y2-Mar-09 16:00
S K Y2-Mar-09 16:00 
AnswerRe: Loading images into Image list - Problem Pin
Luc Pattyn2-Mar-09 16:15
sitebuilderLuc Pattyn2-Mar-09 16:15 
GeneralRe: Loading images into Image list - Problem Pin
S K Y2-Mar-09 16:59
S K Y2-Mar-09 16:59 
QuestionLittle problem. When I get data from excel file Pin
sizers2-Mar-09 12:49
sizers2-Mar-09 12:49 
QuestionHow to get default/perferred Network Connection Pin
TheFM2342-Mar-09 11:24
TheFM2342-Mar-09 11:24 
AnswerRe: How to get default/perferred Network Connection Pin
harold aptroot2-Mar-09 13:00
harold aptroot2-Mar-09 13:00 
QuestionHas anybody ever seen this IO exception before? Pin
snorkie2-Mar-09 11:20
professionalsnorkie2-Mar-09 11:20 
AnswerRe: Has anybody ever seen this IO exception before? Pin
harold aptroot2-Mar-09 11:27
harold aptroot2-Mar-09 11:27 
AnswerRe: Has anybody ever seen this IO exception before? Pin
led mike2-Mar-09 11:30
led mike2-Mar-09 11:30 
GeneralRe: Has anybody ever seen this IO exception before? Pin
snorkie2-Mar-09 11:42
professionalsnorkie2-Mar-09 11:42 
GeneralRe: Has anybody ever seen this IO exception before? Pin
led mike2-Mar-09 11:56
led mike2-Mar-09 11:56 
GeneralRe: Has anybody ever seen this IO exception before? Pin
snorkie2-Mar-09 12:03
professionalsnorkie2-Mar-09 12:03 
AnswerRe: Has anybody ever seen this IO exception before? Pin
Yusuf2-Mar-09 12:15
Yusuf2-Mar-09 12:15 
AnswerRe: Has anybody ever seen this IO exception before? Pin
pbarrette3-Mar-09 15:30
pbarrette3-Mar-09 15:30 

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.